Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-25 Thread Markus Armbruster
Marcel Apfelbaum writes: > On 11/24/2016 05:41 PM, Markus Armbruster wrote: >> Marcel Apfelbaum writes: >> >>> On 11/24/2016 03:34 PM, Markus Armbruster wrote: Eduardo Habkost writes: > On Wed, Nov 23, 2016 at 06:43:16PM

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-24 Thread Marcel Apfelbaum
On 11/24/2016 05:41 PM, Markus Armbruster wrote: Marcel Apfelbaum writes: On 11/24/2016 03:34 PM, Markus Armbruster wrote: Eduardo Habkost writes: On Wed, Nov 23, 2016 at 06:43:16PM +0200, Marcel Apfelbaum wrote: On 11/22/2016 03:11 AM, Eduardo

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-24 Thread Markus Armbruster
Marcel Apfelbaum writes: > On 11/24/2016 03:34 PM, Markus Armbruster wrote: >> Eduardo Habkost writes: >> >>> On Wed, Nov 23, 2016 at 06:43:16PM +0200, Marcel Apfelbaum wrote: On 11/22/2016 03:11 AM, Eduardo Habkost wrote: > The Problem >>> > >

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-24 Thread Markus Armbruster
Eduardo Habkost writes: > On Thu, Nov 24, 2016 at 02:34:05PM +0100, Markus Armbruster wrote: >> Eduardo Habkost writes: >> >> > On Wed, Nov 23, 2016 at 06:43:16PM +0200, Marcel Apfelbaum wrote: >> >> On 11/22/2016 03:11 AM, Eduardo Habkost wrote: >> >>

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-24 Thread Marcel Apfelbaum
On 11/24/2016 03:34 PM, Markus Armbruster wrote: Eduardo Habkost writes: On Wed, Nov 23, 2016 at 06:43:16PM +0200, Marcel Apfelbaum wrote: On 11/22/2016 03:11 AM, Eduardo Habkost wrote: The Problem [...] Our decision to have hybrid PCI/PCIe devices and buses

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-24 Thread Eduardo Habkost
On Thu, Nov 24, 2016 at 02:34:05PM +0100, Markus Armbruster wrote: > Eduardo Habkost writes: > > > On Wed, Nov 23, 2016 at 06:43:16PM +0200, Marcel Apfelbaum wrote: > >> On 11/22/2016 03:11 AM, Eduardo Habkost wrote: > >> > The Problem > >> > === > >> > > >> >

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-24 Thread Markus Armbruster
Eduardo Habkost writes: > On Wed, Nov 23, 2016 at 06:43:16PM +0200, Marcel Apfelbaum wrote: >> On 11/22/2016 03:11 AM, Eduardo Habkost wrote: >> > The Problem >> > === >> > >> > Currently management software has no way to find out which device >> > types can be

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-24 Thread Marcel Apfelbaum
On 11/23/2016 07:35 PM, Eduardo Habkost wrote: On Wed, Nov 23, 2016 at 06:43:16PM +0200, Marcel Apfelbaum wrote: On 11/22/2016 03:11 AM, Eduardo Habkost wrote: The Problem === Currently management software has no way to find out which device types can be plugged in a machine, unless

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-23 Thread Eduardo Habkost
On Wed, Nov 23, 2016 at 06:43:16PM +0200, Marcel Apfelbaum wrote: > On 11/22/2016 03:11 AM, Eduardo Habkost wrote: > > The Problem > > === > > > > Currently management software has no way to find out which device > > types can be plugged in a machine, unless the machine is already > >

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-23 Thread Marcel Apfelbaum
On 11/22/2016 03:11 AM, Eduardo Habkost wrote: The Problem === Currently management software has no way to find out which device types can be plugged in a machine, unless the machine is already initialized. Hi Eduardo, Thank you for this interesting series. I think this is a problem

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-22 Thread Eduardo Habkost
(CCing people from the spapr PCI-express thread) On Mon, Nov 21, 2016 at 11:11:58PM -0200, Eduardo Habkost wrote: > The Problem > === > > Currently management software has no way to find out which device > types can be plugged in a machine, unless the machine is already > initialized. >

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-22 Thread Eduardo Habkost
On Tue, Nov 22, 2016 at 09:18:21AM +0100, David Hildenbrand wrote: > > > > > Considered alternatives > > === > > > > Indirect mapping (machine => bus => device) > > --- > > > > This RFC implements a mechanism to implement ax > >

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-22 Thread David Hildenbrand
Considered alternatives === Indirect mapping (machine => bus => device) --- This RFC implements a mechanism to implement ax machine-type => supported-device-types mapping. An alternative solution I considered was to expose an

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-21 Thread no-reply
Hi, Your series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Subject: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines' Type: series Message-id: 1479777133

Re: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-21 Thread no-reply
Hi, Your series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines' Type: series Message-id: 1479777133-23567-1-git-send-email-ehabk...@redhat.com === TEST SCRIPT BEGIN

[Qemu-devel] [RFC 00/15] qmp: Report supported device types on 'query-machines'

2016-11-21 Thread Eduardo Habkost
The Problem === Currently management software has no way to find out which device types can be plugged in a machine, unless the machine is already initialized. Even after the machine is initialized, there's no way to map existing bus types to supported device types unless management