Re: BUG at mmu.c:615 from localhost migration using ept+hugetlbfs

2009-06-10 Thread Avi Kivity
Avi Kivity wrote: Not really. One thing, migration should transition the shadow pagetables from large pages to small ones, maybe that bit is broken. Maybe we're looking at a largepage spte and interpreting it as a normal L2 spte, and interpreting a guest page as the L1 spt. I tried to

Re: BUG at mmu.c:615 from localhost migration using ept+hugetlbfs

2009-06-10 Thread Marcelo Tosatti
On Wed, Jun 10, 2009 at 11:08:14AM +0300, Avi Kivity wrote: Avi Kivity wrote: Not really. One thing, migration should transition the shadow pagetables from large pages to small ones, maybe that bit is broken. Maybe we're looking at a largepage spte and interpreting it as a normal L2

Re: BUG at mmu.c:615 from localhost migration using ept+hugetlbfs

2009-06-09 Thread Marcelo Tosatti
Ryan, On Fri, May 29, 2009 at 11:43:26AM -0500, Ryan Harper wrote: Testing latest qemu-kvm.git and kvm-kmod.git, ept enabled and backing guests with large pages trips a BUG in the mmu code. If I disable ept, but still use large pages, migration succeeds. Reproduce with: hugetlbfs setup:

Re: BUG at mmu.c:615 from localhost migration using ept+hugetlbfs

2009-06-09 Thread Avi Kivity
Marcelo Tosatti wrote: Ryan, On Fri, May 29, 2009 at 11:43:26AM -0500, Ryan Harper wrote: Testing latest qemu-kvm.git and kvm-kmod.git, ept enabled and backing guests with large pages trips a BUG in the mmu code. If I disable ept, but still use large pages, migration succeeds. Reproduce

Re: BUG at mmu.c:615 from localhost migration using ept+hugetlbfs

2009-06-09 Thread Ryan Harper
* Marcelo Tosatti mtosa...@redhat.com [2009-06-09 11:45]: Ryan, Marcelo, thanks for taking a look. Applied patch and reproduced, included the new debug output. On Fri, May 29, 2009 at 11:43:26AM -0500, Ryan Harper wrote: Testing latest qemu-kvm.git and kvm-kmod.git, ept enabled and

BUG at mmu.c:615 from localhost migration using ept+hugetlbfs

2009-05-29 Thread Ryan Harper
Testing latest qemu-kvm.git and kvm-kmod.git, ept enabled and backing guests with large pages trips a BUG in the mmu code. If I disable ept, but still use large pages, migration succeeds. Reproduce with: hugetlbfs setup: % mkdir -p /hugetlbfs mount -t hugetlbfs hugetlbfs /hugetlbfs % echo