WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] [IA64] vti domain save/restore: linux

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] vti domain save/restore: linux xencomm; add hvm_set/get_context support
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Oct 2007 15:00:14 -0700
Delivery-date: Wed, 31 Oct 2007 15:00:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] [IA64] vti domain save/restore: linux xencomm; add hvm_set/get_context support, Xen patchbot-linux-2.6.18-xen <=