Bug 673723 - Migration: rhel6.1 to FC14, "Cannot determine QEMU argv syntax"
Summary: Migration: rhel6.1 to FC14, "Cannot determine QEMU argv syntax"
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-30 06:36 UTC by Osier Yang
Modified: 2014-03-27 01:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-31 10:15:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Osier Yang 2011-01-30 06:36:09 UTC
Description of problem:

It's caused by "qemu-kvm" is under /usr/bin on FC15, but libvirt trys to use the path "/usr/libexec/qemu-kvm", which is of RHEL6, so error happens here, perhaps needs to detect the emulator path, and replace the path which is of source host.

    /* check that this qemu version supports the interactive exec */
    if (qemuCapsExtractVersionInfo(vm->def->emulator, NULL, &qemuCmdFlags) < 0) {
        qemuReportError(VIR_ERR_INTERNAL_ERROR,
                        _("Cannot determine QEMU argv syntax %s"),
                        vm->def->emulator);
        goto endjob;
    }

Version-Release number of selected component (if applicable):
0.8.7-4.el6

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Daniel Berrangé 2011-01-31 10:15:29 UTC
Migration between RHEL and Fedora hosts is not, and will never be, supported.

Comment 3 Eric Blake 2011-01-31 17:29:07 UTC
Remember, Fedora and RHEL have different qemu versions, and those versions likely have different internal memory layouts and definitely have different command line syntax.  There is just no way to migrate between disparate versions without adding a LOT of feature handshaking, and adding that is not worth anyone's time because this is not a common request, so I agree with leaving this bug as WONTFIX.

It is, however, generally possible to use virt-manager's ability to create a new VM from an existing disk image to create a new XML representation on the destination machine that can still use the same image (of course, you have to be careful that no two hosts are trying to run a VM using the same disk image at the same time); I've done this myself to run the same disk image as a VM from either F14 or RHEL 6 as needed.  But while it usually works, the fact remains that it is unsupported (no one is going to go out of their way to fix problems in either fedora or rhel if it didn't work).


Note You need to log in before you can comment on or make changes to this bug.