]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: x86/xen: register runstate info
authorJoao Martins <joao.m.martins@oracle.com>
Tue, 24 Jul 2018 16:47:14 +0000 (12:47 -0400)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 4 Jan 2021 16:18:29 +0000 (16:18 +0000)
commit11c6b1f2772d320f9992dfcd4bf8a238486f4629
tree204c96a15e5a12d0779dd52352fabdf62967f457
parent0cd6da4445baeaf8ed7385856574278e896e0d35
KVM: x86/xen: register runstate info

Allow emulator to register vcpu runstates which allow Xen guests
to use that for steal clock. The 'preempted' state of KVM steal clock
equates to 'runnable' state, 'running' has similar meanings for both and
'offline' is used when system admin needs to bring vcpu offline or
hotplug.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c
arch/x86/kvm/xen.c
arch/x86/kvm/xen.h
include/uapi/linux/kvm.h