|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [qemu-xen-unstable] passthrough: magic ioport protocol n
commit 60b80e3ee319e908069d1603e5b73f815acdffac
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date: Mon Feb 15 14:08:53 2010 +0000
passthrough: magic ioport protocol no longer unplugs passthrough NICs
On Fri, 12 Feb 2010, Zhai, Edwin wrote:
> [bugs:]
>
> 1. Pass-through NICs are also unplugged, although them have different
> path with vnif and emulated NIC.
You are right, that is a bug and this patch should fix it.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
hw/pci.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index af70b11..fc6b019 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -858,7 +858,8 @@ void pci_unplug_netifs(void)
dev = bus->devices[x];
if (dev &&
dev->config[0xa] == 0 &&
- dev->config[0xb] == 2) {
+ dev->config[0xb] == 2 &&
+ test_pci_slot(x >> 3) != 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
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [qemu-xen-unstable] passthrough: magic ioport protocol no longer unplugs passthrough NICs,
Ian Jackson <=
|
|
|
|
|