qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

qtest/libqos: Finding the free PCI slots in a qtest instance


From: Sheindy Frenkel
Subject: qtest/libqos: Finding the free PCI slots in a qtest instance
Date: Wed, 3 Aug 2022 10:45:34 +0300

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

[Prev in Thread] Current Thread [Next in Thread]