[vfio-users] cpu core pinning with multiple cpus

Alex Williamson alex.l.williamson at gmail.com
Fri Oct 2 16:17:23 UTC 2015


On Fri, Oct 2, 2015 at 10:12 AM, Eddie Yen <missile0407 at gmail.com> wrote:

> Thanks for sharing!
>
> I noticed that it had kvm=off and hv_vendor inside the value.
> If I got kvm=off, can I also delete this?
>
> <kvm>
>    <hidden state='on'/>
> </kvm>
>

It's redundant, but the <qemu:args> variant is just temporary until the
patch is accepted and we can get libvirt support.  I think the way that
I'll choose to enable on my system until then is via a wrapper script.  For
instance, create a script with something like:

#!/bin/sh
exec /usr/local/bin/qemu-system-x86_64 \
`echo "\$@" | sed 's|hv_time|hv_time,hv_vendor_id=|g'`

Then change the <emulator> tag to point to this script.


> And, hv_vendor=<GPU vendor> or <CPU vendor> ?
>

Free form string or blank, 12 characters.  As the patch indicates, the
value is only used for reporting and diagnostic purposes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151002/9e614a2a/attachment.htm>


More information about the vfio-users mailing list