There are a couple of problems with passthrough qemu:

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".

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>"


On 31 March 2014 16:45, Daniel P. Berrange <berrange@redhat.com> wrote:
On Mon, Mar 31, 2014 at 04:33:40PM +0500, Asadullah Hussain wrote:
> Hello, I have a custom QEMU which requires some non-standard command line
> arguments to launch a VM. e.g., "--proc-type=secondary" option is always
> required to launch a QEMU VM.
>
> To launch the VM through libvirt (virsh) "How do I specify these
> non-standard options in XML?

See this page

  http://libvirt.org/drvqemu.html#qemucommand


Regards,
Daniel
--
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



--
Asadullah Hussain