]> xenbits.xensource.com Git - xen.git/commitdiff
arm: add support for vm_assist hypercall
authorJuergen Gross <jgross@suse.com>
Tue, 21 Jun 2016 10:01:55 +0000 (12:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 Jun 2016 10:01:55 +0000 (12:01 +0200)
Up to now the vm_assist hypercall hasn't been supported on ARM, as
there are only x86 specific features to switch. Add support of
vm_assist on ARM for future use.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/traps.c
xen/include/asm-arm/config.h

index aa3e3c2bfb4ff9b63dffb189e1af19d0c5d36fd5..44926caa80c290e5b51eb77c95fa0ebf49b91164 100644 (file)
@@ -1282,6 +1282,7 @@ static arm_hypercall_t arm_hypercall_table[] = {
     HYPERCALL(multicall, 2),
     HYPERCALL(platform_op, 1),
     HYPERCALL_ARM(vcpu_op, 3),
+    HYPERCALL(vm_assist, 2),
 };
 
 #ifndef NDEBUG
index f92c0a0548a209e473dec04e057f423612d07b4c..4e7d20e08651e4970b456046c1f19777b380d560 100644 (file)
@@ -199,6 +199,8 @@ extern unsigned long frametable_virt_end;
 #define watchdog_disable() ((void)0)
 #define watchdog_enable()  ((void)0)
 
+#define VM_ASSIST_VALID          (0)
+
 #endif /* __ARM_CONFIG_H__ */
 /*
  * Local variables: