Re: [kvm-devel] [PATCH] KVM-USER: Fix for CPU interrupts in QEMU

2007-07-16 Thread Gregory Haskins
On Sun, 2007-07-15 at 10:39 +0300, Avi Kivity wrote: > When applied to current HEAD, this doesn't work. Booting windows or > Linux, quite soon during boot everything freezes. Crap. Not sure whats happening as I definitely tested that during development. Ill have to take a look. -Greg

Re: [kvm-devel] [PATCH] KVM-USER: Fix for CPU interrupts in QEMU

2007-07-15 Thread Avi Kivity
Gregory Haskins wrote: > QEMU-KVM has a bug where the interruptibility of the CPU is predicated on > pending interrupts. If the reason that a CPU is interrupted is because we > need to inject interrupts, the current code will just keep looping and miss > the event window. > > This doesnt seem to c

Re: [kvm-devel] [PATCH] KVM-USER: Fix for CPU interrupts in QEMU

2007-07-13 Thread Avi Kivity
Dong, Eddie wrote: > Gregory Haskins wrote: > >> On Thu, 2007-07-12 at 23:39 +0800, Dong, Eddie wrote: >> >>> Greg: >>> I think you need to do the whole patch for this including kernel >>> side. Will u ? >>> >> Ya, I can do that. But I probably wont be able to look at it until >

Re: [kvm-devel] [PATCH] KVM-USER: Fix for CPU interrupts in QEMU

2007-07-12 Thread Dong, Eddie
Gregory Haskins wrote: > On Thu, 2007-07-12 at 23:39 +0800, Dong, Eddie wrote: >> Greg: >> I think you need to do the whole patch for this including kernel >> side. Will u ? > > Ya, I can do that. But I probably wont be able to look at it until > this RT stuff I am working on is done. > The

Re: [kvm-devel] [PATCH] KVM-USER: Fix for CPU interrupts in QEMU

2007-07-12 Thread Dong, Eddie
Greg: I think you need to do the whole patch for this including kernel side. Will u ? eddie Gregory Haskins wrote: > QEMU-KVM has a bug where the interruptibility of the CPU is > predicated on pending interrupts. If the reason that a CPU is > interrupted > is because we > need to inject

Re: [kvm-devel] [PATCH] KVM-USER: Fix for CPU interrupts in QEMU

2007-07-12 Thread Gregory Haskins
On Thu, 2007-07-12 at 23:39 +0800, Dong, Eddie wrote: > Greg: > I think you need to do the whole patch for this including kernel > side. Will u ? Ya, I can do that. But I probably wont be able to look at it until this RT stuff I am working on is done. -Greg ---

[kvm-devel] [PATCH] KVM-USER: Fix for CPU interrupts in QEMU

2007-07-12 Thread Gregory Haskins
QEMU-KVM has a bug where the interruptibility of the CPU is predicated on pending interrupts. If the reason that a CPU is interrupted is because we need to inject interrupts, the current code will just keep looping and miss the event window. This doesnt seem to cause problems with in-trunk KVM.