ia64/xen-unstable

changeset 14862:52474e2df628

hvm: Allow HVM guests to use sched_op() hcall on x86/64 Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Mon Apr 16 11:42:12 2007 +0100 (2007-04-16)
parents 126f8bb9aa5d
children 98efd2e410ae
files xen/arch/x86/hvm/hvm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/hvm.c	Mon Apr 16 11:36:40 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/hvm.c	Mon Apr 16 11:42:12 2007 +0100
     1.3 @@ -733,15 +733,17 @@ static long do_memory_op_compat32(int cm
     1.4  static hvm_hypercall_t *hvm_hypercall64_table[NR_hypercalls] = {
     1.5      HYPERCALL(memory_op),
     1.6      HYPERCALL(xen_version),
     1.7 -    HYPERCALL(hvm_op),
     1.8 -    HYPERCALL(event_channel_op)
     1.9 +    HYPERCALL(event_channel_op),
    1.10 +    HYPERCALL(sched_op),
    1.11 +    HYPERCALL(hvm_op)
    1.12  };
    1.13  
    1.14  static hvm_hypercall_t *hvm_hypercall32_table[NR_hypercalls] = {
    1.15      HYPERCALL_COMPAT32(memory_op),
    1.16      HYPERCALL(xen_version),
    1.17 -    HYPERCALL(hvm_op),
    1.18 -    HYPERCALL(event_channel_op)
    1.19 +    HYPERCALL(event_channel_op),
    1.20 +    HYPERCALL(sched_op),
    1.21 +    HYPERCALL(hvm_op)
    1.22  };
    1.23  
    1.24  static void __hvm_do_hypercall(struct cpu_user_regs *pregs)