[libvirt-users] Libvirt adds extra parameters in domain XML

Martin Kletzander mkletzan at redhat.com
Thu Oct 13 11:13:52 UTC 2016


On Thu, Oct 13, 2016 at 11:49:44AM +0200, Marina Danial wrote:
>Hello,
>
>In my C++ code, I generate my own domain XML file and I
>use virDomainCreateXML or virDomainDefineXML to launch my qemu VM. However,
>when I get to check which commands are sent to the qemu commandline, I find
>that libvirt has added so many extra parameters to the ones I have already
>set. How can I prevent libvirt from adding any extra parameters to the ones
>I originally defined in the domain XML?
>

What problems are you having with those?  What specific ones are
problematic for you?  Libvirt adds a lot of things so that the domain is
predictable, it can talk to it later on and so on.  Some of them are
adding the same things you would have there without -no-defconfig and
similar.  Just so we can guarantee some compatibility etc.

>Help will be highly appreciated.
>
>
>Thanks

>_______________________________________________
>libvirt-users mailing list
>libvirt-users at redhat.com
>https://www.redhat.com/mailman/listinfo/libvirt-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20161013/143f167c/attachment.sig>


More information about the libvirt-users mailing list