[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH 3/3] Don't qualify the check for the backend being online...



...with whether an eject request for the frontend has been issued. It's
either online or it's not.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xenvif/frontend.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/xenvif/frontend.c b/src/xenvif/frontend.c
index 6a2019e..7d682ab 100644
--- a/src/xenvif/frontend.c
+++ b/src/xenvif/frontend.c
@@ -1256,8 +1256,7 @@ FrontendSetXenbusState(
 
     ASSERT(FrontendIsOnline(Frontend));
 
-    Online = !PdoIsEjectRequested(__FrontendGetPdo(Frontend)) &&
-             FrontendIsBackendOnline(Frontend);
+    Online = FrontendIsBackendOnline(Frontend);
 
     (VOID) XENBUS_STORE(Printf,
                         &Frontend->StoreInterface,
-- 
2.1.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.