Re: [kvm-devel] [PATCH] x86: handle double and triple faults for every exception

2008-05-02 Thread Avi Kivity
Joerg Roedel wrote: > The current KVM x86 exception code handles double and triple faults only for > page fault exceptions. This patch extends this detection for every exception > that gets queued for the guest. > Some double faults are handled serially rather than generating a #DF. For examp

Re: [kvm-devel] [PATCH] x86: handle double and triple faults for every exception

2008-04-30 Thread Avi Kivity
Jan Kiszka wrote: > Yes, the following still works for me. But I'm not the right person to > ask if there are obscure cases where you may not want this clearing > while just editing some registers (I'm thinking of debugger scenarios > now). > > Applied, as the bug we're fixing is much more like

Re: [kvm-devel] [PATCH] x86: handle double and triple faults for every exception

2008-04-30 Thread Jan Kiszka
Avi Kivity wrote: > Jan Kiszka wrote: Clear the pending original exception when raising a triple fault. This allows to re-use the vcpu instance, e.g. after a reset which is typically issued as reaction on the triple fault. Signed-off-by: Jan Kiszka <[EMAIL PROTECTED]>

Re: [kvm-devel] [PATCH] x86: handle double and triple faults for every exception

2008-04-30 Thread Avi Kivity
Jan Kiszka wrote: >>> Clear the pending original exception when raising a triple fault. This >>> allows to re-use the vcpu instance, e.g. after a reset which is >>> typically issued as reaction on the triple fault. >>> >>> Signed-off-by: Jan Kiszka <[EMAIL PROTECTED]> >>> >>> --- >>> arch/x86/kvm/

Re: [kvm-devel] [PATCH] x86: handle double and triple faults for every exception

2008-04-30 Thread Jan Kiszka
Joerg Roedel wrote: > The current KVM x86 exception code handles double and triple faults only for > page fault exceptions. This patch extends this detection for every exception > that gets queued for the guest. > > Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> > Cc: Jan Kiszka <[EMAIL PROTECTED

Re: [kvm-devel] [PATCH] x86: handle double and triple faults for every exception

2008-04-30 Thread Jan Kiszka
Avi Kivity wrote: > Jan Kiszka wrote: >> Joerg Roedel wrote: >> >>> The current KVM x86 exception code handles double and triple faults >>> only for >>> page fault exceptions. This patch extends this detection for every >>> exception >>> that gets queued for the guest. >>> >>> Signed-off-by: Joer

Re: [kvm-devel] [PATCH] x86: handle double and triple faults for every exception

2008-04-30 Thread Joerg Roedel
On Wed, Apr 30, 2008 at 10:45:12AM +0200, Jan Kiszka wrote: > Joerg Roedel wrote: > > The current KVM x86 exception code handles double and triple faults only for > > page fault exceptions. This patch extends this detection for every exception > > that gets queued for the guest. > > > > Signed-off

Re: [kvm-devel] [PATCH] x86: handle double and triple faults for every exception

2008-04-30 Thread Avi Kivity
Jan Kiszka wrote: > Joerg Roedel wrote: > >> The current KVM x86 exception code handles double and triple faults only for >> page fault exceptions. This patch extends this detection for every exception >> that gets queued for the guest. >> >> Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> >> Cc

[kvm-devel] [PATCH] x86: handle double and triple faults for every exception

2008-04-29 Thread Joerg Roedel
The current KVM x86 exception code handles double and triple faults only for page fault exceptions. This patch extends this detection for every exception that gets queued for the guest. Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> Cc: Jan Kiszka <[EMAIL PROTECTED]> --- arch/x86/kvm/x86.c | 3