]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Implement standard hypervisor detection protocol
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 1 May 2015 11:00:09 +0000 (13:00 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 22 May 2015 04:55:21 +0000 (06:55 +0200)
commitc0fae8df86bdba78925c88cebf3c5d74c8693eb0
treec685c6f940c25854406403f9f4deb37f1b3f31a4
parent10c6aac6eff45d11c635d3c9730288bdb01dcf33
x86: Implement standard hypervisor detection protocol

This provides cpuid-based Jailhouse detection conforming to the protocol
also used by other major hypervisors: set bit 31 of ecx for function
0x01, provide a signature via function 0x40000000 and a so far empty
feature set via function 0x40000001.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Documentation/hypervisor-interfaces.txt
hypervisor/arch/x86/include/asm/jailhouse_hypercall.h
hypervisor/arch/x86/include/asm/processor.h
hypervisor/arch/x86/vcpu.c