Bug 673723

Summary: Migration: rhel6.1 to FC14, "Cannot determine QEMU argv syntax"
Product: Red Hat Enterprise Linux 6 Reporter: Osier Yang <jyang>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.1CC: berrange, dallan, eblake, xen-maint, yoyzhang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-31 10:15:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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).