<div dir="ltr"><div class="gmail_quote"><br><br><div dir="ltr">I have a predetermined set of commands that I want to launch qemu with:<div><br></div><div><div>sudo `which qemu-system-x86_64` -m 4G $(IMAGE) -enable-kvm \</div><div><span class="m_-1904102653572017448gmail-Apple-tab-span" style="white-space:pre-wrap">            </span>-nographic \</div><div><span class="m_-1904102653572017448gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>-net nic,model=virtio,netdev=net0,<wbr>macaddr=$(MAC),vlan=0 \</div><div><span class="m_-1904102653572017448gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>-netdev tap,id=net0,ifname=tap01,<wbr>vhost=on,script=no,downscript=<wbr>no \</div><div><span class="m_-1904102653572017448gmail-Apple-tab-span" style="white-space:pre-wrap">           </span>-net nic,model=virtio,netdev=net1,<wbr>macaddr=$(MANAGE_MAC),vlan=1 \</div><div><span class="m_-1904102653572017448gmail-Apple-tab-span" style="white-space:pre-wrap">         </span>-netdev tap,id=net1,ifname=tap02,<wbr>vhost=on,script=no,downscript=<wbr>no \</div><div><br></div><div>I dont need any extra configuration from libvirt. is this possible? Or can anyone help with a possible xml configuration ?</div><div><br></div><div><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 13, 2016 at 1:13 PM, Martin Kletzander <span dir="ltr"><<a href="mailto:mkletzan@redhat.com" target="_blank">mkletzan@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thu, Oct 13, 2016 at 11:49:44AM +0200, Marina Danial wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
In my C++ code, I generate my own domain XML file and I<br>
use virDomainCreateXML or virDomainDefineXML to launch my qemu VM. However,<br>
when I get to check which commands are sent to the qemu commandline, I find<br>
that libvirt has added so many extra parameters to the ones I have already<br>
set. How can I prevent libvirt from adding any extra parameters to the ones<br>
I originally defined in the domain XML?<br>
<br>
</blockquote>
<br></span>
What problems are you having with those?  What specific ones are<br>
problematic for you?  Libvirt adds a lot of things so that the domain is<br>
predictable, it can talk to it later on and so on.  Some of them are<br>
adding the same things you would have there without -no-defconfig and<br>
similar.  Just so we can guarantee some compatibility etc.<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Help will be highly appreciated.<br>
<br>
<br>
Thanks<br>
</blockquote>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
______________________________<wbr>_________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvirt-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/libvirt-users</a><br>
</blockquote>
</blockquote></div><br></div>
</div></div></div><br></div>