From ddf977d25c26d1cc3e83a08d9a3f19907dff35cc Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 7 Aug 2017 19:10:32 +0200 Subject: vmx: fix hlt idle problem --- sys/src/cmd/vmx/exith.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/src/cmd/vmx/exith.c') diff --git a/sys/src/cmd/vmx/exith.c b/sys/src/cmd/vmx/exith.c index 127b8f062..ff1bcdf1d 100644 --- a/sys/src/cmd/vmx/exith.c +++ b/sys/src/cmd/vmx/exith.c @@ -434,7 +434,7 @@ dbgexc(ExitInfo *ei) static void hlt(ExitInfo *ei) { - if(irqactive == 0) + if(irqactive < 0) state = VMHALT; skipinstr(ei); } -- cgit v1.2.3