[vfio-users] Small patch for those that have nVidia cards and want to easily use LibVirt.

Corey Larson corey at eatrunco.de
Thu Mar 17 17:42:40 UTC 2016


 
On Thu, Mar 17, 2016, at 06:56 AM, Alex Williamson wrote:
> There are definitely easier ways to do this than recompiling QEMU.  I favor a wrapper script such that you simply replace the <emulator> in the domain XML with the wrapper and it works automatically, something like:
>
> $ cat /usr/libexec/qemu-kvm-hv-vendor
> #!/bin/sh
> exec /usr/bin/qemu-kvm \
> `echo "\$@" | sed 's|hv_time|hv_time,hv_vendor_id=KeenlyKVM|g'`
> _________________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
 
 
I was going to be trying this approach soon: https://libvirt.org/drvqemu.html#qemucommand. Is there any reason to prefer this scripting approach over the XML approach?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160317/483bbdbf/attachment.htm>


More information about the vfio-users mailing list