Message ID | 1481183716-7342-2-git-send-email-zhangchen.fnst@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/migration/savevm.c b/migration/savevm.c index 0363372..bec6c7e 100644 --- a/migration/savevm.c +++ b/migration/savevm.c @@ -1973,6 +1973,10 @@ int qemu_loadvm_state(QEMUFile *f) ret = qemu_file_get_error(f); } + if (xen_enabled()) { + return ret; + } + /* * Try to read in the VMDESC section as well, so that dumping tools that * intercept our migration stream have the chance to see it.
Xen doesn't need this. Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> --- migration/savevm.c | 4 ++++ 1 file changed, 4 insertions(+)