search for: migrate_domain

Displaying 5 results from an estimated 5 matches for "migrate_domain".

2013 Jan 31
7
[PATCH] libxl: pass debug flag down to libxl_domain_suspend
...rocess. + =back =item B<remus> [I<OPTIONS>] I<domain-id> I<host> diff -r 12455da211d4 -r 256d59b2bc8a tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -3331,7 +3331,7 @@ static void migrate_do_preamble(int send } -static void migrate_domain(uint32_t domid, const char *rune, +static void migrate_domain(uint32_t domid, const char *rune, int debug, const char *override_config_file) { pid_t child = -1; @@ -3340,7 +3340,7 @@ static void migrate_domain(uint32_t domi char *away_domname; char rc_buf...
2009 Oct 29
1
[PATCH] Enables users to migrate virtual machines between hosts.
..."No" diff --git a/nodeadmin/libvirtworker.py b/nodeadmin/libvirtworker.py index 2998486..878b01c 100644 --- a/nodeadmin/libvirtworker.py +++ b/nodeadmin/libvirtworker.py @@ -122,6 +122,12 @@ class LibvirtWorker: domain = self.get_domain(name) domain.undefine() + def migrate_domain(self, name, target): + '''Migrates the specified domain to the target machine.''' + target_conn = libvirt.open(target) + virtmachine = self.get_domain(name) + virtmachine.migrate(target_conn, libvirt.VIR_MIGRATE_LIVE, None, None, 0) + def lis...
2012 Aug 15
2
[PATCH] libxl: make domain resume API asynchronous
...1 2012 +0100 @@ -2859,7 +2859,7 @@ static int save_domain(const char *p, co close(fd); if (checkpoint) - libxl_domain_resume(ctx, domid, 1); + libxl_domain_resume(ctx, domid, 1, 0); else libxl_domain_destroy(ctx, domid, 0); @@ -3110,7 +3110,7 @@ static void migrate_domain(const char *d if (common_domname) { libxl_domain_rename(ctx, domid, away_domname, common_domname); } - rc = libxl_domain_resume(ctx, domid, 0); + rc = libxl_domain_resume(ctx, domid, 0, 0); if (!rc) fprintf(stderr, "migration sender: Resume...
2011 Dec 02
7
libxl: error when destroying domain on NetBSD
Hello, When destroying a guest (xl destroy <domid>) on NetBSD I get the following error on the log file: Waiting for domain test (domid 1) to die [pid 11675] Domain 1 is dead Unknown shutdown reason code 255. Destroying domain. Action for shutdown reason code 255 is destroy Domain 1 needs to be cleaned up: destroying the domain do_domctl failed: errno 3 libxl: error:
2009 Dec 08
2
Rebased patches, fixed a rebasing problem...
The previous patch set had an error and one development branch's changes showed up twice, and two different change sets. So it was missing the bulk of the configuration work. This patch set fixes that.