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] Minor fix of xcom_hcall.c for

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] Minor fix of xcom_hcall.c for pv-on-hvm.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 04 Oct 2007 17:41:54 -0700
Delivery-date: Thu, 04 Oct 2007 18:28:39 -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 1189611530 21600
# Node ID c80b20789f97cc27ac18d3480c6bb50e448f6269
# Parent  d650f254d544b16c31f025c3ab40c357153346e1
[IA64] Minor fix of xcom_hcall.c for pv-on-hvm.

- compilation fix.
  hypercall.h shouldn't be 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.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 arch/ia64/xen/xcom_hcall.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r d650f254d544 -r c80b20789f97 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 09:38:50 2007 -0600
@@ -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)

_______________________________________________
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] Minor fix of xcom_hcall.c for pv-on-hvm., Xen patchbot-linux-2.6.18-xen <=