[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] [IA64] vti domain save/restore: linux xencomm; add hvm_set/get_context support
# HG changeset patch # User Alex Williamson <alex.williamson@xxxxxx> # Date 1192995648 21600 # Node ID 2791b054f1a991dec2d41f88ecd33a9b6f78e629 # Parent 27b937c0095cf48a8d982272a4df4eef4f67eec0 [IA64] vti domain save/restore: linux xencomm; add hvm_set/get_context support Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx> --- arch/ia64/xen/xcom_privcmd.c | 11 +++++++++++ 1 files changed, 11 insertions(+) diff -r 27b937c0095c -r 2791b054f1a9 arch/ia64/xen/xcom_privcmd.c --- a/arch/ia64/xen/xcom_privcmd.c Sun Oct 21 12:10:59 2007 -0600 +++ b/arch/ia64/xen/xcom_privcmd.c Sun Oct 21 13:40:48 2007 -0600 @@ -302,6 +302,17 @@ xencomm_privcmd_domctl(privcmd_hypercall set_xen_guest_handle(kern_op.u.vcpuaffinity.cpumap.bitmap, (void *)desc); break; + case XEN_DOMCTL_gethvmcontext: + case XEN_DOMCTL_sethvmcontext: + if (kern_op.u.hvmcontext.size > 0) + desc = xencomm_map( + xen_guest_handle(kern_op.u.hvmcontext.buffer), + kern_op.u.hvmcontext.size); + if (xen_guest_handle(kern_op.u.hvmcontext.buffer) != NULL && + kern_op.u.hvmcontext.size > 0 && desc == NULL) + return -ENOMEM; + set_xen_guest_handle(kern_op.u.hvmcontext.buffer, (void*)desc); + break; case XEN_DOMCTL_max_vcpus: case XEN_DOMCTL_scheduler_op: case XEN_DOMCTL_setdomainhandle: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |