From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: guest reboot error Date: Fri, 28 Sep 2007 16:44:14 +0200 Message-ID: <46FD133E.1010309@qumranet.com> References: <10EA09EFD8728347A513008B6B0DA77A022AE441@pdsmsx411.ccr.corp.intel.com> <10EA09EFD8728347A513008B6B0DA77A022AE445@pdsmsx411.ccr.corp.intel.com> <46FB8A65.6000504@qumranet.com> <10EA09EFD8728347A513008B6B0DA77A022AE67A@pdsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: "Dong, Eddie" Return-path: In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A022AE67A-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Dong, Eddie wrote: > Avi Kivity wrote: > >> Dong, Eddie wrote: >> >>> kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote: >>> >>> >>>> I try to implement the guest reboot support, but I found there is an >>>> stranger #PF VM Exit in guest real mode cs:ip=f000:10000 which is >>>> problemtic and current shadow won;t handle. I then try to >>>> use -no-kvm-irqchip and get same error. >>>> >>>> Can somebody give me more information if you ever successfully >>>> run it before. >>>> thx,eddie >>>> >>>> >>>> >>> correction: It is GP fault, not #PF fault. >>> >>> >>> >> Looks like the bios code was overwritten. If the reboot vector at >> f000:fff0 was zeroed out, kvm would just execute a bunch of two-byte >> instructions eventually leading to rip = 10000 which is illegal for >> vm8086 mode. >> >> >> > BTW, I downloaded KVM-36 with REHL5U 32e guest, reboot doesn't work > either. > But if I use no-kvm option, it can. > So I would like to know which release is the latest known working tree > for "reboot". > > Reboot behaves differently for different guests... we have a regression for Windows XP ACPI HAL (I'm quite sure kvm-36 used to work), but maybe not for RHEL 5 i386. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/