Yosuke Iwamatsu
2008-Jul-16 10:46 UTC
[Xen-devel] [PATCH] pcifront/pciback: Fix Handling of Device Disconnect
When destroying pcifront/pciback, the following message appears in
the guest linux kernel log.
WARNING: g.e. still in use!
WARNING: leaking g.e. and page still in use!
This is caused by the wrong disconnect procedure that pcifront
terminates the gnttab foreign access before pciback unmaps the ring.
This patch corrects the handling of pcifront/pciback destruction
sequence. Firstly pcifront cleans up root buses to ensure no more pci_op
is issued, then pciback unmaps the shared ring and finally devices are
discarded.
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
Regards,
-----------------------
Yosuke Iwamatsu
NEC Corporation
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Seemingly Similar Threads
- [PATCH] pciback: Fix Destroying pcifront/pciback
- pcifront pci-0: pciback not responding (tg3)
- continously schedule aer pcifront service
- pcifront (CONFIG_XEN_PCIDEV_FRONTEND=m) support in RHEL 4.5 x86 Dom U
- [PATCH] xend: Fix error handling in device_create()
