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)
commit633711e82878dc29083fc5d2605166755e25b57a
tree7abc99cfd5b05e144b41d7b56a4b929cf7a1e19d
parent711702b57cc3c50b84bd648de0f1ca0a378805be
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