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 /arch | |
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 'arch')
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 621a8e3..1b9e695 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -820,6 +820,7 @@ int kvm_dev_ioctl_check_extension(long ext) case KVM_CAP_EXT_CPUID: case KVM_CAP_CLOCKSOURCE: case KVM_CAP_PIT: + case KVM_CAP_NOP_IO_DELAY: r = 1; break; case KVM_CAP_VAPIC: |