[vfio-users] How to check the device is using or not by VM
Eddie Yen
missile0407 at gmail.com
Thu May 18 12:54:57 UTC 2017
Hi everyone, as title.
I know this is a silly question, because you just need to check VM is on or
off to know the VFIO device is occupied or not.
But I have this requirement when I'm using pass-through on OpenStack.
Because you don't know which device that OpenStack will choose if you got
multiple devices on same model.
Using lspci -k is another way, but since these devices already controlled
by vfio-pci, it's hard to know which device is occupied.
Is VFIO have a command to do that? Or any other way to know the device is
using by VM?
Bad English, so the question may not clear.
Many thanks,
Eddie.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20170518/2e2d24d7/attachment.htm>
More information about the vfio-users
mailing list