[SeaBIOS] [Qemu-devel] [PATCH RFC 10/17] hw/pci: removed 'rootbus nr is 0' assumption from qmp_pci_query

2015-01-26 Thread Marcel Apfelbaum
From: Marcel Apfelbaum marce...@redhat.com Use the newer pci_bus_num to correctly get the root bus number. Signed-off-by: Marcel Apfelbaum mar...@redhat.com --- hw/pci/pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/pci/pci.c b/hw/pci/pci.c index dccb3d1..bf31168

Re: [SeaBIOS] [Qemu-devel] [PATCH RFC 10/17] hw/pci: removed 'rootbus nr is 0' assumption from qmp_pci_query

2015-01-23 Thread Michael S. Tsirkin
On Fri, Jan 23, 2015 at 10:28:39AM +0200, Marcel Apfelbaum wrote: On 01/23/2015 09:57 AM, Michael S. Tsirkin wrote: On Thu, Jan 22, 2015 at 09:52:36PM +0200, Marcel Apfelbaum wrote: From: Marcel Apfelbaum marce...@redhat.com Use the newer pci_bus_num to correctly get the root bus number.

Re: [SeaBIOS] [Qemu-devel] [PATCH RFC 10/17] hw/pci: removed 'rootbus nr is 0' assumption from qmp_pci_query

2015-01-23 Thread Michael S. Tsirkin
On Thu, Jan 22, 2015 at 09:52:36PM +0200, Marcel Apfelbaum wrote: From: Marcel Apfelbaum marce...@redhat.com Use the newer pci_bus_num to correctly get the root bus number. Signed-off-by: Marcel Apfelbaum mar...@redhat.com OK for now, but really bus numbers are a wrong thing to use for