commit | cb2ed8b3c66284f226c523231e2c09e60bbb34bb | [log] [tgz] |
---|---|---|
author | Marcel Apfelbaum <marcel.a@redhat.com> | Tue Jun 02 14:23:05 2015 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Jun 03 18:19:17 2015 +0200 |
tree | e2670b51fc4735df43b3d4b190cade2fa26d7766 | |
parent | dcdca29655f774568f30a82b7fe0190b4bd38802 [diff] |
hw/pci: removed 'rootbus nr is 0' assumption from qmp_pci_query Use the newer pci_bus_num to correctly get the root bus number. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Laszlo Ersek <lersek@redhat.com>