Re: [Qemu-devel] Patch: generate a DBF when a GPF could not be delivered on x86

2007-03-28 Thread Bernhard Kauer
On Wed, Mar 28, 2007 at 10:13:49AM +0200, Sebastian Kaliszewski wrote: > Bernhard Kauer wrote: > >Qemu does not generate a double fault (DBF) on x86, if a general protection > >fault could not be delivered. Instead it hangs in a loop. > > > >The patch fix this bug by checking whether we are already

Re: [Qemu-devel] Patch: generate a DBF when a GPF could not be delivered on x86

2007-03-28 Thread Sebastian Kaliszewski
Bernhard Kauer wrote: Qemu does not generate a double fault (DBF) on x86, if a general protection fault could not be delivered. Instead it hangs in a loop. The patch fix this bug by checking whether we are already in a GPF exception. If you're at it, maybe add triple fault handling (ie excepti

[Qemu-devel] Patch: generate a DBF when a GPF could not be delivered on x86

2007-03-27 Thread Bernhard Kauer
Qemu does not generate a double fault (DBF) on x86, if a general protection fault could not be delivered. Instead it hangs in a loop. The patch fix this bug by checking whether we are already in a GPF exception. Bernhard Kauer Index: helper.c ===