]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: rename KVM_HINTS_DEDICATED to KVM_HINTS_REALTIME
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 17 May 2018 14:54:24 +0000 (17:54 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 May 2018 17:12:13 +0000 (19:12 +0200)
commit53377cbf018b4cfd50e3c1dd9b3e3788b4079fde
tree7abc99cfd5b05e144b41d7b56a4b929cf7a1e19d
parent4150d9e1dfb84b7cce28257d7d407c6f36cd913c
kvm: rename KVM_HINTS_DEDICATED to KVM_HINTS_REALTIME

KVM_HINTS_DEDICATED seems to be somewhat confusing:

Guest doesn't really care whether it's the only task running on a host
CPU as long as it's not preempted.

And there are more reasons for Guest to be preempted than host CPU
sharing, for example, with memory overcommit it can get preempted on a
memory access, post copy migration can cause preemption, etc.

Let's call it KVM_HINTS_REALTIME which seems to better
match what guests expect.

Also, the flag most be set on all vCPUs - current guests assume this.
Note so in the documentation.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virtual/kvm/cpuid.txt
arch/x86/include/uapi/asm/kvm_para.h
arch/x86/kernel/kvm.c