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.
_______________________________________________
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users

Reply via email to