diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-02-22 12:21:36 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 12:00:24 +0300 |
commit | a28e4f5a621289fe0d9c8a461b0c256f9e17f3bc (patch) | |
tree | dfa62426cf55dfb2fad66e924eab34e9840bff12 /include/asm-x86 | |
parent | 308b0f239e8d6754b8b903d279e5b5b987e257ac (diff) | |
download | op-kernel-dev-a28e4f5a621289fe0d9c8a461b0c256f9e17f3bc.zip op-kernel-dev-a28e4f5a621289fe0d9c8a461b0c256f9e17f3bc.tar.gz |
KVM: add basic paravirt support
Add basic KVM paravirt support. Avoid vm-exits on IO delays.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/kvm_para.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-x86/kvm_para.h b/include/asm-x86/kvm_para.h index 5ab7d3d..ed5df3a 100644 --- a/include/asm-x86/kvm_para.h +++ b/include/asm-x86/kvm_para.h @@ -10,7 +10,8 @@ * paravirtualization, the appropriate feature bit should be checked. */ #define KVM_CPUID_FEATURES 0x40000001 -#define KVM_FEATURE_CLOCKSOURCE 0 +#define KVM_FEATURE_CLOCKSOURCE 0 +#define KVM_FEATURE_NOP_IO_DELAY 1 #define MSR_KVM_WALL_CLOCK 0x11 #define MSR_KVM_SYSTEM_TIME 0x12 |