|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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@xxxxxxxxxxxxx>
Regards,
-----------------------
Yosuke Iwamatsu
NEC Corporation
Attachment:
pcifront_back_disconnect.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |