Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-17 Thread Avi Kivity
On 04/17/2012 09:57 AM, Gleb Natapov wrote: > > > > Status is as follows: > > 1.) Kernel 3.4.x DIDN'T fix the problem > > 2.) Reverting f1c1da2bde712812a3e0f9a7a7ebe7a916a4b5f4 FIXED the problem. > > > > So the bug is still in 3.2., 3.3, 3.4rc present and a possible fix > > doesn't work. Should b

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Gleb Natapov
On Tue, Apr 17, 2012 at 08:04:16AM +0200, Gerhard Wiesinger wrote: > On 15.04.2012 11:44, Avi Kivity wrote: > >On 04/12/2012 09:32 PM, Gerhard Wiesinger wrote: > >>Hello, > >> > >>I'm having problems with recents kernels and qemu-kvm with a DOS VM: > >>TD286 > >>System: Bad selector: 0007 > >>Syste

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Gerhard Wiesinger
On 15.04.2012 11:44, Avi Kivity wrote: On 04/12/2012 09:32 PM, Gerhard Wiesinger wrote: Hello, I'm having problems with recents kernels and qemu-kvm with a DOS VM: TD286 System: Bad selector: 0007 System: Bad selector: 0D87 System: Bad selector: 001F System: Bad selector: 0007 GP at 0020 21D4 E

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Roedel, Joerg
On Mon, Apr 16, 2012 at 12:25:37PM +0200, Jan Kiszka wrote: > On 2012-04-15 11:44, Avi Kivity wrote: > > Jan, Joerg, was an AMD erratum published for the bug? > > It wasn't an erratum but a documented feature limitation in the AMD > architecture that was simply ignored by the old code. Right. But

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Avi Kivity
On 04/16/2012 03:18 PM, Gerhard Wiesinger wrote: >>> Right. But there is an erratum on K8 (only) which Kevin ran into. It is >>> documented as Erratum 701 and the bug is that no EXITINTINFO is stored >>> on a task-switch intercept on K8. >> >> Ah, so this could affect Gerhard. Gerhard, what's your

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Gerhard Wiesinger
On Mon, 16 Apr 2012, Avi Kivity wrote: On 04/16/2012 01:30 PM, Roedel, Joerg wrote: On Mon, Apr 16, 2012 at 12:25:37PM +0200, Jan Kiszka wrote: On 2012-04-15 11:44, Avi Kivity wrote: Jan, Joerg, was an AMD erratum published for the bug? It wasn't an erratum but a documented feature limitati

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Avi Kivity
On 04/16/2012 01:30 PM, Roedel, Joerg wrote: > On Mon, Apr 16, 2012 at 12:25:37PM +0200, Jan Kiszka wrote: > > On 2012-04-15 11:44, Avi Kivity wrote: > > > Jan, Joerg, was an AMD erratum published for the bug? > > > > It wasn't an erratum but a documented feature limitation in the AMD > > architec

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Avi Kivity
On 04/16/2012 01:25 PM, Jan Kiszka wrote: > > > > Jan, Joerg, was an AMD erratum published for the bug? > > It wasn't an erratum but a documented feature limitation in the AMD > architecture that was simply ignored by the old code. > Are you referring to > 15.2.5 Restartable Instructions > SVM i

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Jan Kiszka
On 2012-04-15 11:44, Avi Kivity wrote: > The trigger is probably > >> commit f1c1da2bde712812a3e0f9a7a7ebe7a916a4b5f4 >> Author: Jan Kiszka >> Date: Tue Oct 18 18:23:11 2011 +0200 >> >> KVM: SVM: Keep intercepting task switching with NPT enabled >> >> AMD processors apparently have

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Avi Kivity
On 04/15/2012 10:03 PM, Gerhard Wiesinger wrote: > > Hello Avi, > > Tried newer kernel since this version is no longer available: > http://mirrors.kernel.org/fedora/development/rawhide/x86_64/os/Packages/k/kernel-3.4.0-0.rc2.git3.1.fc18.x86_64.rpm > > > But I wasn't successfull. Still same GP fault

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-15 Thread Gerhard Wiesinger
On 15.04.2012 11:44, Avi Kivity wrote: On 04/12/2012 09:32 PM, Gerhard Wiesinger wrote: Hello, I'm having problems with recents kernels and qemu-kvm with a DOS VM: TD286 System: Bad selector: 0007 System: Bad selector: 0D87 System: Bad selector: 001F System: Bad selector: 0007 GP at 0020 21D4 E

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-15 Thread Avi Kivity
On 04/12/2012 09:32 PM, Gerhard Wiesinger wrote: > Hello, > > I'm having problems with recents kernels and qemu-kvm with a DOS VM: > TD286 > System: Bad selector: 0007 > System: Bad selector: 0D87 > System: Bad selector: 001F > System: Bad selector: 0007 > GP at 0020 21D4 EC 0DC4 > Error 269 loadin

[Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-12 Thread Gerhard Wiesinger
Hello, I'm having problems with recents kernels and qemu-kvm with a DOS VM: TD286 System: Bad selector: 0007 System: Bad selector: 0D87 System: Bad selector: 001F System: Bad selector: 0007 GP at 0020 21D4 EC 0DC4 Error 269 loading D:\BP\BIN\TD286.EXE into extended memory Another 286 DOS Extende