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

[Xen-devel] [PATCH RFC v2 4/8] Remove stop NBD server command from xl



---
 tools/xl/xl_migrate.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/tools/xl/xl_migrate.c b/tools/xl/xl_migrate.c
index fee726f..9f43d96 100644
--- a/tools/xl/xl_migrate.c
+++ b/tools/xl/xl_migrate.c
@@ -427,17 +427,6 @@ static void migrate_receive(int debug, int daemonize, int 
monitor,
 
     fprintf(stderr, "migration target: Got permission, starting domain.\n");
 
-    if(mirror_qemu_disks){
-        fprintf(stderr, "migration target: Stopping NBD server\n");
-        rc = libxl__nbd_server_stop(ctx, domid);
-        if (rc){
-            rc = 0; //For now, mask the error if NBD server fails to stop
-            fprintf(stderr, "Failed to stop NBD server\n");
-        }else{
-            fprintf(stderr, "Stopped NBD server successfully\n");
-        }
-    }
-
     if (migration_domname) {
         rc = libxl_domain_rename(ctx, domid, migration_domname, 
common_domname);
         if (rc) goto perhaps_destroy_notify_rc;
-- 
2.3.2 (Apple Git-55)


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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