[ia64] remove the runtime warning when hvmop_set_mem_type is used.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 14 Aug 2008 02:00:35 +0000 (11:00 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 14 Aug 2008 02:00:35 +0000 (11:00 +0900)
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@valinux.co.jp>
xen/arch/ia64/vmx/vmx_hypercall.c

index 1f4799956f831e68172a74c0c92ff18d088fe0dd..d5ae9e731d9fb1df62b9efaeaa51bc838e817c5c 100644 (file)
@@ -251,6 +251,10 @@ do_hvm_op(unsigned long op, XEN_GUEST_HANDLE(void) arg)
         break;
     }
 
+    case HVMOP_set_mem_type:
+        rc = -ENOSYS;
+        break;
+
     default:
         gdprintk(XENLOG_INFO, "Bad HVM op %ld.\n", op);
         rc = -ENOSYS;