[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [ia64] remove the runtime warning when hvmop_set_mem_type is used.



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1218679235 -32400
# Node ID 3ad6ad720f90779629cc9dd4276ae2f49344dfc6
# Parent  da236d7f59b963585800e7471f8a0451b83ae569
[ia64] remove the runtime warning when hvmop_set_mem_type is used.

remove the runtime warning when HVMOP_set_mem_type is used.
But the hypercall just returns -ENOSYS. It isn't implemented yet.

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

diff -r da236d7f59b9 -r 3ad6ad720f90 xen/arch/ia64/vmx/vmx_hypercall.c
--- a/xen/arch/ia64/vmx/vmx_hypercall.c Wed Aug 13 22:22:21 2008 +0900
+++ b/xen/arch/ia64/vmx/vmx_hypercall.c Thu Aug 14 11:00:35 2008 +0900
@@ -251,6 +251,10 @@ do_hvm_op(unsigned long op, XEN_GUEST_HA
         break;
     }
 
+    case HVMOP_set_mem_type:
+        rc = -ENOSYS;
+        break;
+
     default:
         gdprintk(XENLOG_INFO, "Bad HVM op %ld.\n", op);
         rc = -ENOSYS;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.