diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2012-10-08 11:45:36 +0100 |
---|---|---|
committer | Anthony PERARD <anthony.perard@citrix.com> | 2012-10-08 11:45:36 +0100 |
commit | fa8e0b69fe9b04b9c0d30938179c38bbb032a621 (patch) | |
tree | deba647a993128b79f57e135afc14df1952cff1e /tools/libxl/libxl.c | |
parent | d374f43b2acc78deb951da31e3d9659cea8d07b0 (diff) | |
download | xen-fa8e0b69fe9b04b9c0d30938179c38bbb032a621.tar.gz xen-fa8e0b69fe9b04b9c0d30938179c38bbb032a621.tar.bz2 xen-fa8e0b69fe9b04b9c0d30938179c38bbb032a621.zip |
libxl: Allow migration with qemu-xen.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl.c')
-rw-r--r-- | tools/libxl/libxl.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c index af3682f76d..0cf4768b5f 100644 --- a/tools/libxl/libxl.c +++ b/tools/libxl/libxl.c @@ -767,23 +767,6 @@ int libxl_domain_suspend(libxl_ctx *ctx, uint32_t domid, int fd, int flags, goto out_err; } - if (type == LIBXL_DOMAIN_TYPE_HVM && flags & LIBXL_SUSPEND_LIVE) { - switch (libxl__device_model_version_running(gc, domid)) { - case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: - LOG(ERROR, - "cannot live migrate HVM domains with qemu-xen device-model"); - rc = ERROR_FAIL; - goto out_err; - case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN_TRADITIONAL: - /* No problem */ - break; - case -1: - rc = ERROR_FAIL; - goto out_err; - default: abort(); - } - } - libxl__domain_suspend_state *dss; GCNEW(dss); |