|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[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
 
pcifront_back_disconnect.patch 
Description: all/allfiles 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-devel] [PATCH] pcifront/pciback: Fix Handling of Device	Disconnect,
Yosuke Iwamatsu <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |