]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commit
x86: allow HVM guests to use hypercalls to bring up vCPUs
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 15 Dec 2015 13:12:32 +0000 (14:12 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2015 13:13:21 +0000 (14:13 +0100)
commit192df6f9122ddebc21d0a632c10da3453aeee1c2
tree63ac0f87cebb8dbd438a11d7fb521a07a3914e5f
parentd7f8218e3c89ab9fb08b6394202d51f399e918d5
x86: allow HVM guests to use hypercalls to bring up vCPUs

Allow the usage of the VCPUOP_initialise, VCPUOP_up, VCPUOP_down,
VCPUOP_is_up, VCPUOP_get_physid and VCPUOP_send_nmi hypercalls from HVM
guests.

This patch introduces a new structure (vcpu_hvm_context) that should be used
in conjuction with the VCPUOP_initialise hypercall in order to initialize
vCPUs for HVM guests.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
12 files changed:
xen/arch/arm/domain.c
xen/arch/x86/domain.c
xen/arch/x86/hvm/hvm.c
xen/common/compat/domain.c
xen/common/domain.c
xen/include/Makefile
xen/include/asm-x86/domain.h
xen/include/asm-x86/hvm/hvm.h
xen/include/public/hvm/hvm_vcpu.h [new file with mode: 0644]
xen/include/public/vcpu.h
xen/include/xen/domain.h
xen/include/xlat.lst