Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-15 Thread Avi Kivity
Luca wrote: >> >> Got it! >> The emulator skips the writeback if the old value is unchanged, so the >> apic doesn't see the write. >> >> Forcing the writeback: >> >> - if ((d & Mov) || (dst.orig_val != dst.val)) { >> - if ((d & Mov) || (dst.orig_val != dst.val) || isxchg) { >> >> seems to

[kvm-devel] [GIT PULL] KVM fix for 2.6.22

2007-06-15 Thread Avi Kivity
Linus, Please pull from the repository and branch at git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git for-linus to get a fix for a fairly critical bug which allows, under certain conditions, guest fpu state to find its way into the host fpu. Avi Kivity (1): KVM: Prevent guest f

Re: [kvm-devel] kvm-intel kernel panicing 2.6.22 on T7200

2007-06-15 Thread Avi Kivity
Magicboiz wrote: > with VNC option, we had better luck: we got an Oops!!: > > Jun 14 17:37:35 linux kernel: [ 575.212000] BUG: unable to handle > kernel NULL pointer dereference at virtual address 0024 > Jun 14 17:37:35 linux kernel: [ 575.212000] EIP is at mmu_free_roots > +0x54/0x90 [kvm] >

Re: [kvm-devel] kvm-intel kernel panicing 2.6.22 on T7200

2007-06-15 Thread Magicboiz
a little bit better. It Opps'ed again, but this time, my laptop is still usable: sudo /usr/local/kvm/bin/qemu -hda /tmp/disco-qemu -m 128 -boot d -cdrom /tmp/debian-40r0-i386-businesscard.iso -vnc :3 Jun 15 12:39:35 linux kernel: [16051.152000] BUG: unable to handle kernel paging request at vi

Re: [kvm-devel] kvm-intel kernel panicing 2.6.22 on T7200

2007-06-15 Thread Avi Kivity
Magicboiz wrote: > a little bit better. It Opps'ed again, but this time, my laptop is still > usable: > > sudo /usr/local/kvm/bin/qemu -hda /tmp/disco-qemu -m 128 -boot d > -cdrom /tmp/debian-40r0-i386-businesscard.iso -vnc :3 > > > > Jun 15 12:39:35 linux kernel: [16051.152000] BUG: unable to han

[kvm-devel] Suspending with kvm and kvm_loaded

2007-06-15 Thread Richard Hughes
Hi, I'm getting lots of bug reports about installing kvm and then suspend breaking. Some background: when the fedora package kvm is installed, then the kvm and kvm_xxx modules get auto loaded at boot. To get the machine to suspend again, the modules have to be rmmod'd on suspend and then modprobe'

Re: [kvm-devel] Suspending with kvm and kvm_loaded

2007-06-15 Thread Richard Hughes
On Fri, 2007-06-15 at 09:27 -0400, Jeremy Katz wrote: > On Fri, 2007-06-15 at 13:56 +0100, Richard Hughes wrote: > > I'm getting lots of bug reports about installing kvm and then suspend > > breaking. Some background: when the fedora package kvm is installed, > > then the kvm and kvm_xxx modules ge

Re: [kvm-devel] Suspending with kvm and kvm_loaded

2007-06-15 Thread Jeremy Katz
On Fri, 2007-06-15 at 13:56 +0100, Richard Hughes wrote: > I'm getting lots of bug reports about installing kvm and then suspend > breaking. Some background: when the fedora package kvm is installed, > then the kvm and kvm_xxx modules get auto loaded at boot. To get the > machine to suspend again,

Re: [kvm-devel] [GIT PULL] KVM fix for 2.6.22

2007-06-15 Thread David Brown
On 6/15/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Linus, > > Please pull from the repository and branch at > > git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git for-linus > > to get a fix for a fairly critical bug which allows, under certain conditions, > guest fpu state to find its way

Re: [kvm-devel] [Xen-devel] More virtio users

2007-06-15 Thread Caitlin Bestler
Arnd Bergmann wrote: > On Thursday 14 June 2007, Caitlin Bestler wrote: >> >> Why not simply adopt the policy that if the IOMMU does not meet the >> security requirements of the Hypervisor then it is not an IOMMU as >> far as the Hypervisor is concerned? >> >> More specificially, the Hypervisor s

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-15 Thread Luca Tettamanti
Il Fri, Jun 15, 2007 at 12:06:50PM +0300, Avi Kivity ha scritto: > > After a bit of thinking: it's correct but removes an optimization; > > furthermore it may miss other instructions that write to memory mapped > > areas. > > A more proper fix should be "force the writeback if dst.ptr is in some >