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

[win-pv-devel] [PATCH] Clean up the xenstore frontend area when hibernating/crashing



The frontend code in XENCRSH needs to clean up to avoid fooling the backend
into thinking it handles multi-page rings.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xencrsh/frontend.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/xencrsh/frontend.c b/src/xencrsh/frontend.c
index 7d88902..0fbbbeb 100644
--- a/src/xencrsh/frontend.c
+++ b/src/xencrsh/frontend.c
@@ -731,6 +731,14 @@ FrontendClose(
             goto fail6;
     }
 
+    // Clean up
+    (VOID) StoreRemove(NULL, Frontend->FrontendPath,
+                       "ring-page-order");
+    (VOID) StoreRemove(NULL, Frontend->FrontendPath,
+                       "feature-online-resize");
+    (VOID) StoreRemove(NULL, Frontend->FrontendPath,
+                       "feature-surprise-remove");
+
     return STATUS_SUCCESS;
 
 fail6:
-- 
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®.