[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [qemu-xen-unstable] passthrough: magic protocol passthrough fix fix
commit 3c4013fefe5f901c4a30e75f1d96909ce745efd2 Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Date: Tue Feb 16 16:09:06 2010 +0000 passthrough: magic protocol passthrough fix fix The previous changeset 60b80e3ee319e908069d1603e5b73f815acdffac had a bug qemu-xen-unstable, in that test_pci_slot is only in 3.4-testing. This patch makes it use the new devfn-based interface. Contributed-by: Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx> Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- hw/pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index fc6b019..a1c1f16 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -859,7 +859,7 @@ void pci_unplug_netifs(void) if (dev && dev->config[0xa] == 0 && dev->config[0xb] == 2 && - test_pci_slot(x >> 3) != 1) { + test_pci_devfn(x) != 1) { /* Found a netif. Remove it from the bus. Note that we don't free it here, since there could still be references to it floating around. There are only -- generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |