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-ia64-devel

[Xen-ia64-devel] [PATCH] 2/2 Fix xc_save for PV domains - Add XEN_DOMCTL

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] 2/2 Fix xc_save for PV domains - Add XEN_DOMCTL_subscribe to xencomm
From: "KUWAMURA Shin'ya" <kuwa@xxxxxxxxxxxxxx>
Date: Wed, 13 Aug 2008 14:57:49 +0900 (JST)
Delivery-date: Tue, 12 Aug 2008 22:58:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
This adds XEN_DOMCTL_subscribe to xencomm.

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
-- 
  KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1218606077 -32400
# Node ID ba8dd5a100a93d0770d8be000faf7667031f069c
# Parent  6fdc45f4931e37db85de89a4f45018e25fd52d57
[IA64] Fix xc_save for PV domains

Saving PV domains fails with the following error:
  xc_save: failed to subscribe to domain: -1
This adds XEN_DOMCTL_subscribe to xencomm.

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>

diff -r 6fdc45f4931e -r ba8dd5a100a9 arch/ia64/xen/xcom_privcmd.c
--- a/arch/ia64/xen/xcom_privcmd.c      Wed Aug 13 14:38:35 2008 +0900
+++ b/arch/ia64/xen/xcom_privcmd.c      Wed Aug 13 14:41:17 2008 +0900
@@ -328,6 +328,7 @@ xencomm_privcmd_domctl(privcmd_hypercall
        case XEN_DOMCTL_sendtrigger:
        case XEN_DOMCTL_set_opt_feature:
        case XEN_DOMCTL_assign_device:
+       case XEN_DOMCTL_subscribe:
                break;
        case XEN_DOMCTL_pin_mem_cacheattr:
                return -ENOSYS;
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>