OSDN Git Service

kvm: i386: halt poll control MSR support
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 3 Jun 2019 23:04:08 +0000 (20:04 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Aug 2019 15:26:17 +0000 (17:26 +0200)
commitd645e1328726b38b3c79525eb57842ce29c1df7c
treed94444364f9c8029358e81fa2a32f05de32c128e
parent17dc57990320edaad52ac9ea808be9719c91cea6
kvm: i386: halt poll control MSR support

Add support for halt poll control MSR: save/restore, migration
and new feature name.

The purpose of this MSR is to allow the guest to disable
host halt poll.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Message-Id: <20190603230408.GA7938@amt.cnet>
[Do not enable by default, as pointed out by Mark Kanda. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/standard-headers/asm-x86/kvm_para.h
target/i386/cpu.c
target/i386/cpu.h
target/i386/kvm.c
target/i386/machine.c