Hi,
I'm trying to find out how I can get the free PCI slots in a qtest code.
I want to assign a PCI device to a qtest-mode VM. If I assign this device
to an unavailable address in the qemu process, I get this assertion: *PCI: slot
x function y not available for z.*
However, I couldn't find a function in the qtest API that maintains the
free slots list, it seems this error is coming from the qemu process, and
qtest can't control it.

Could qtest API expose a function to access the free PCI slots in the
guest? is there any existing function that can help maintain this list?

Thanks,
Sheindy

Reply via email to