Messages in this thread | | | From | Wanpeng Li <> | Date | Mon, 5 Feb 2018 15:22:31 +0800 | Subject | Re: [PATCH 2/2] KVM: X86: Add per-VM no-HLT-exiting capability |
| |
2018-02-03 3:02 GMT+08:00 Radim Krčmář <rkrcmar@redhat.com>: > 2018-02-01 23:11-0800, Wanpeng Li: >> From: Wanpeng Li <wanpengli@tencent.com> >> >> If host CPUs are dedicated to a VM, we can avoid VM exits on HLT. >> This patch adds the per-VM non-HLT-exiting capability. >> >> Cc: Paolo Bonzini <pbonzini@redhat.com> >> Cc: Radim Krčmář <rkrcmar@redhat.com> >> Signed-off-by: Wanpeng Li <wanpengli@tencent.com> >> --- > > SMM handling needs more work: I think we should vmx_clear_hlt() upon SMI > and RSM needs to implement auto halt restart (AMD might differ).
Do it in v2.
> > And also look if we don't need vmx_clear_hlt() around INIT handling,
You are right, the guest stuck after utilizing system_reset command in qemu monitor w/o vmx_clear_hlt() around INIT handling, fix it in v2.
Regards, Wanpeng Li
| |