KVM: x86: hardware task switching support
authorIzik Eidus <izike@qumranet.com>
Mon, 24 Mar 2008 21:14:53 +0000 (23:14 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 09:00:39 +0000 (12:00 +0300)
commit37817f2982d0f559f90cecc66e150dd9d2c2df05
tree45114b5720d7a13bdbe48cc6a75dc6de03d6fcd2
parent2e4d2653497856b102c90153f970c9e344ba96c6
KVM: x86: hardware task switching support

This emulates the x86 hardware task switch mechanism in software, as it is
unsupported by either vmx or svm.  It allows operating systems which use it,
like freedos, to run as kvm guests.

Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/svm.c
arch/x86/kvm/svm.h
arch/x86/kvm/tss.h [new file with mode: 0644]
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
include/asm-x86/kvm_host.h