[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]