Getting extended VCPU context fails (on x86-64)
PATCH 1/1 Getting extended VCPU context fails (on x86-64)
With cs16462 migration fails on x86-64 due to libxc not being able to retrieve the extended VCPU context. The size identifier of the structure is not initialized and xen refuses to give the context in xen/arch/x86/domctl.c line 712.
I am not entirely sure whether this size identifier should be surrounded by #ifdefs for x86 and x86-64?
Signed-off-by Stefan Berger <[email protected]>
xen-unstable.hg/tools/libxc/xc_domain_save.c +2 -0
@@ -1597,6 +1597,8 @@ int xc_domain_save(int xc_handle, int io domctl.cmd = XEN_DOMCTL_get_ext_vcpucontext; domctl.domain = dom; domctl.u.ext_vcpucontext.vcpu = i; + domctl.u.ext_vcpucontext.size =sizeof (domctl.u.ext_vcpucontext); +if (xc_domctl (xc_handle, &domctl) <0 ) {ERROR ("No extended context for VCPU%d" , i);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel