[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCh][VT] do_block upon hlt instruction


  • To: "xen-devel List" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
  • Date: Wed, 21 Sep 2005 09:39:08 -0700
  • Delivery-date: Wed, 21 Sep 2005 16:36:56 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcW+yv0DptSyaiFfT8q8bQ7LDvtAsg==
  • Thread-topic: [PATCh][VT] do_block upon hlt instruction

This patch fixes a bug where raise_softirq(SCHEDULE_SOFTIRQ) is called
upon a hlt instruction from a VMX guest, causing repeated VMExits when
the guest is idle. At the same time, it disables the monitor/mwait
feature as it's not feasible to implement for vcpu.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
Signed-off-by: Asit Mallick <asit.k.mallick@xxxxxxxxx>
Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx>

 arch/x86/vmx.c               |   16 +++++++++++++---
 arch/x86/vmx_intercept.c     |    3 +++
 include/asm-x86/vmx_virpit.h |    4 ++--
3 files changed, 18 insertions(+), 5 deletions(-)

Jun
---
Intel Open Source Technology Center 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.