[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] qmp: query-device-slots command
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [RFC] qmp: query-device-slots command |
Date: |
Thu, 15 Dec 2016 17:33:48 -0200 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Thu, Dec 15, 2016 at 02:15:51PM -0500, Laine Stump wrote:
> 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).
That's a good question. From looking at the code, I was assuming
the 8 functions were always available. But if they might be not,
that's another reason to explicitly report PCI functions in the
new queries.
--
Eduardo
- [Qemu-devel] [RFC] qmp: query-device-slots command, Eduardo Habkost, 2016/12/08
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Markus Armbruster, 2016/12/13
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Eduardo Habkost, 2016/12/13
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Marcel Apfelbaum, 2016/12/13
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Eduardo Habkost, 2016/12/13
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Marcel Apfelbaum, 2016/12/14
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Laine Stump, 2016/12/14
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Marcel Apfelbaum, 2016/12/15
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Laine Stump, 2016/12/15
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command,
Eduardo Habkost <=
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Markus Armbruster, 2016/12/16
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Markus Armbruster, 2016/12/13
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Eduardo Habkost, 2016/12/13
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Markus Armbruster, 2016/12/14
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Eduardo Habkost, 2016/12/14
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Markus Armbruster, 2016/12/14
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Eduardo Habkost, 2016/12/15
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Markus Armbruster, 2016/12/16
- Re: [Qemu-devel] [RFC] qmp: query-device-slots command, Eduardo Habkost, 2016/12/16