[libvirt] [Qemu-devel] [RFC] qmp: query-device-slots command

Laine Stump laine at redhat.com
Thu Dec 15 19:15:51 UTC 2016

On 12/15/2016 05:12 AM, Marcel Apfelbaum wrote:
> On 12/14/2016 10:10 PM, Laine Stump wrote:
>> On 12/14/2016 12:17 PM, Marcel Apfelbaum wrote:
>>> Be aware that 1 slot doesn't necessarily refer to only one device,
>>> we can have a multi-function device.
>> Is that a fixed thing? I mean, is it always possible to use all 8
>> functions of a slot (assuming no hotplug of course)?
> Yes, you simply add to the function 0 on command line:  with -device
> ...,multifunction=on.

Yes, I know how the commandline works. my question is whether *all* PCI 
controllers in existence have 8 usable functions per slot, or if that 
might be another thing that is different from one controller to the next 
(and thus would have to be reported in these query responses).

More information about the libvir-list mailing list