]> 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)
commitdc9a054112d36f9a579cf8d19d446affc7790050
tree7abc99cfd5b05e144b41d7b56a4b929cf7a1e19d
parent21ede6eebe3601cd82ab42bc2b9e0b4c5edb5ca4
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