From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Questions on the VMentry failure patch Date: Sat, 19 Jul 2008 10:41:05 +0300 Message-ID: <48819A91.7040105@qumranet.com> References: <52d4a3890807070707n4e0039ccgc07aa0fa3ab28d8e@mail.gmail.com> <48722D99.2030009@qumranet.com> <4872363F.5010103@codemonkey.ws> <52d4a3890807071752g5675558el38bded8bd475c68a@mail.gmail.com> <52d4a3890807091056j1ff4db6fo16cf364dfa8a36de@mail.gmail.com> <52d4a3890807100648n2909eda1h1aeb993ae00aaa18@mail.gmail.com> <52d4a3890807140910v2157fc14p397dd78cc949dc5b@mail.gmail.com> <487B7AF6.2060607@qumranet.com> <487B7B9A.7030907@codemonkey.ws> <487B7DA8.9070500@qumranet.com> <52d4a3890807180904r7ba0e133l5f0362034ed434d9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , kvm@vger.kernel.org, Rik van Riel , Guillaume Thouvenin To: Mohammed Gamal Return-path: Received: from il.qumranet.com ([212.179.150.194]:54369 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbYGSHlH (ORCPT ); Sat, 19 Jul 2008 03:41:07 -0400 In-Reply-To: <52d4a3890807180904r7ba0e133l5f0362034ed434d9@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Mohammed Gamal wrote: >> It might be a host interrupt, forcing an exit (and an entry) at a random >> point, which then fails. >> >> It might be a host interrupt, forcing an exit (and an entry) at a random >> point, which then fails. >> >> > I tried to disable vmexits on external interrupts in enter_rmode(). > And I get system lockups randomly as well. So I guess you're right > about this too. > Disabling vmexits on external interrupts will certainly lock up your host. As soon as the guest pages in enough memory to run a loop waiting for an interrupt, nothing will cause it to come out. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.