Bug 518947

Summary: qemu does not recognize -domid option
Product: [Community] Virtualization Tools Reporter: Aleksander Trofimowicz <aatrof>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: berrange, crobinso, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-26 15:15:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ignore -xen-domid option none

Description Aleksander Trofimowicz 2009-08-24 10:15:20 UTC
Created attachment 358432 [details]
ignore -xen-domid option

Description of problem:
features of the qemu emulator are discovered by the way of parsing 'qemu --help' command. the current release (and in fact this is true for any release/snapshot since commit e37630ca...00417d5c, which has been in qemu-kvm tree for several months) has -xen-domid option. unfortunately libvirtd uses strstr function to find '-domid' substring, then if succeeds, adds '-domid' option to the qemu argument list and not surprisingly qemu fails to start.



Version-Release number of selected component (if applicable):
qemu-kvm head: bee37f32d47a6c04ff57d18e01cf296607e22b30
libvirt head: 777fc2e9d60844a7387355d9cef06bd25190d146


How reproducible:
always

Steps to Reproduce:
1. run any vm under qemu
  
Actual results:
fails to start


Expected results:
runs smoothly

Additional info:
i'm not interested in the peculiarities of xen-related code and don't know whether -domid and -xen-domid reflects a simple syntax change or something else. but i think this should be handled in a proper way. for the time being anyone can use a quick workaround.

Comment 1 Daniel Berrangé 2009-08-28 10:25:38 UTC
I just posted a more comprehensive patch upstream that properly handles the new option name

http://www.redhat.com/archives/libvir-list/2009-August/msg00520.html

Comment 2 Daniel Berrangé 2009-11-26 15:15:33 UTC
Fixed in 0.7.4 release