Displaying 2 results from an estimated 2 matches for "somexmlfile".
2016 Oct 28
0
Re: pci-assign fails with read error on config-space file
...is
device", and libvirt will automatically use VFIO for the device
assignment if it's available (which it will be))
2) if (1) is a deadend (i.e. OpenStack doesn't allow you to select based
on PCI address), use your "sneaky backdoor method" to do "virsh
attach-device somexmlfile.xml", where somexmlfile.xml has a proper
<hostdev> element to select and assign the host device you want. Again,
libvirt will automatically figure out if VFIO can be used, and will
properly setup everything necessary related to cgroups, locked memory, etc.
>
> That assignment...
2016 Oct 28
7
pci-assign fails with read error on config-space file
Hey,
i am running an unusual setup where i assign pci devices behind the
back of libvirt. I have two options to do that:
1. a wrapper script for qemu that takes care of suid-root and appends
arguments for pci-assign
2. virsh qemu-monitor-command ... 'device_add pci-assign...'
I know i should probably not be doing this, it is a workaround to
introduce fine-grained pci-assignment in an