<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;color:#0b5394">There are a couple of problems with passthrough qemu:</div><div class="gmail_default" style="font-family:georgia,serif;color:#0b5394">
<br></div><div class="gmail_default" style="font-family:georgia,serif;color:#0b5394">1. virsh version/capabilities command executes "qemu -help"  but this gives an error in my case because my customized qemu has to receive mandatory non-standard parameters "qemu -c -n -- -help".</div>
<div class="gmail_default" style="font-family:georgia,serif;color:#0b5394"><br></div><div class="gmail_default" style="font-family:georgia,serif;color:#0b5394">2. Similarly when passing arguments as passthrough in a VMs XML. How can I make sure that these non-standard arguments are passed first i.e., My qemu command for a VM should be "qemu -c -n -- <Rest of the standard parameters>"</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 31 March 2014 16:45, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Mon, Mar 31, 2014 at 04:33:40PM +0500, Asadullah Hussain wrote:<br>
> Hello, I have a custom QEMU which requires some non-standard command line<br>
> arguments to launch a VM. e.g., "--proc-type=secondary" option is always<br>
> required to launch a QEMU VM.<br>
><br>
> To launch the VM through libvirt (virsh) "How do I specify these<br>
> non-standard options in XML?<br>
<br>
</div>See this page<br>
<br>
  <a href="http://libvirt.org/drvqemu.html#qemucommand" target="_blank">http://libvirt.org/drvqemu.html#qemucommand</a><br>
<br>
<br>
Regards,<br>
Daniel<br>
<span class="HOEnZb"><font color="#888888">--<br>
|: <a href="http://berrange.com" target="_blank">http://berrange.com</a>      -o-    <a href="http://www.flickr.com/photos/dberrange/" target="_blank">http://www.flickr.com/photos/dberrange/</a> :|<br>
|: <a href="http://libvirt.org" target="_blank">http://libvirt.org</a>              -o-             <a href="http://virt-manager.org" target="_blank">http://virt-manager.org</a> :|<br>
|: <a href="http://autobuild.org" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/~danberr/" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: <a href="http://entangle-photo.org" target="_blank">http://entangle-photo.org</a>       -o-       <a href="http://live.gnome.org/gtk-vnc" target="_blank">http://live.gnome.org/gtk-vnc</a> :|<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Asadullah Hussain</div>
</div>