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 pv-on-hvm: xcom_hcall.c

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH 2/2] fix pv-on-hvm: xcom_hcall.c
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Wed, 12 Sep 2007 19:38:50 +0900
Delivery-date: Wed, 12 Sep 2007 03:39:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070912103725.GA2479%yamahata@xxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070912103725.GA2479%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
# HG changeset patch
# User yamahata@xxxxxxxxxxxxx
# Date 1189593314 -32400
# Node ID 069fe21b4f904869ca8082720f02bc6eed1f82f9
# Parent  d650f254d544b16c31f025c3ab40c357153346e1
Minor fix of xcom_hcall.c for pv-on-hvm.
- compilation fix.
  hypercall.h shouldn't included directly. intead include hypervisor.h
- In RHEL4U4, insmod xen-platform-pci.ko failed with these patches.
  xen_platform_pci: Unknown symbol xencomm_arch_hypercall_suspend
  comment out xencomm_hypercall_suspend() because suspend hypercall isn't
  necessary for VTi domain.
PATCHNAME: fix_xcom_hcall_for_pv_on_hvm

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r d650f254d544 -r 069fe21b4f90 arch/ia64/xen/xcom_hcall.c
--- a/arch/ia64/xen/xcom_hcall.c        Tue Sep 11 15:15:22 2007 -0600
+++ b/arch/ia64/xen/xcom_hcall.c        Wed Sep 12 19:35:14 2007 +0900
@@ -39,7 +39,7 @@
 #include <xen/interface/hvm/params.h>
 #include <xen/interface/xenoprof.h>
 #include <xen/interface/vcpu.h>
-#include <asm/hypercall.h>
+#include <asm/hypervisor.h>
 #include <asm/page.h>
 #include <asm/uaccess.h>
 #include <asm/xen/xencomm.h>
@@ -483,6 +483,7 @@ xencomm_hypercall_hvm_op(int cmd, void *
 }
 EXPORT_SYMBOL_GPL(xencomm_hypercall_hvm_op);
 
+#ifndef CONFIG_VMX_GUEST
 int
 xencomm_hypercall_suspend(unsigned long srec)
 {
@@ -493,6 +494,7 @@ xencomm_hypercall_suspend(unsigned long 
        return xencomm_arch_hypercall_suspend(
                xencomm_map_no_alloc(&arg, sizeof(arg)));
 }
+#endif
 
 int
 xencomm_hypercall_xenoprof_op(int op, void *arg)


-- 
yamahata

Attachment: 210_069fe21b4f90_fix_xcom_hcall_for_pv_on_hvm.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>