OSDN Git Service

qtest/ahci: remove pcibus global
authorJohn Snow <jsnow@redhat.com>
Mon, 19 Jan 2015 20:15:58 +0000 (15:15 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 14:40:55 +0000 (14:40 +0000)
commit7f410456652463db7312bc839d45396bf48a849e
treec2f47ad95e3da9cf7c0e516d51218825b8712be5
parent8d5eeceddcb6464c7db3b4504c14766453db091e
qtest/ahci: remove pcibus global

Rely on the PCI Device's bus pointer instead.
One less global to worry about.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1421698563-6977-11-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/ahci-test.c