[Libvir] Question about specifications of virsh start

Richard W.M. Jones rjones at redhat.com
Wed Nov 7 13:32:56 UTC 2007


Masayuki Sunou wrote:
> Hi
> 
> I have a question about specifications of virsh start.
> 
> It is necessary to remove "type=ioemu" from the configuration file of Xen,
> when HVM domain installed Para Virtualized Driver use unmodified driver
> on Xen 3.0.3.
> 
> But,libvirt always adds "type=ioemu" to vif of HVM domain in xm_internal.c.
> Therefore virsh start cannot start correctly HVM domain installed
> Para Virtualized Driver.
> 
> Could you teach why does libvirt disregard setting of configuration
> file and set type=ioemu ?

This is surely a bug in libvirt, src/xm_internal.c, xenXMParseXMLVif:

     if (hvm) {
         strcat(buf, ",type=ioemu");
     }

Do you know what we can use to determine if the PV drivers are installed 
in a domain?  I don't think there is anything extrinsic, so perhaps we 
need to add something to the XML domain description.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071107/99e9891c/attachment-0001.bin>


More information about the libvir-list mailing list