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