Dong, Eddie wrote: > [EMAIL PROTECTED] 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. Can you add code to kvmctl.c to dump the contents of that memory region at the time of failure? -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- 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/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel