Re: [kvm-devel] [PATCH] prepopulate guest pages after write-protecting

2008-04-04 Thread Avi Kivity
Marcelo Tosatti wrote: > Zdenek reported a bug where a looping "dmsetup status" eventually hangs > on SMP guests. > > The problem is that kvm_mmu_get_page() prepopulates the shadow MMU > before write protecting the guest page tables. By doing so, it leaves a > window open where the guest can mark a

Re: [kvm-devel] [PATCH] prepopulate guest pages after write-protecting

2008-04-04 Thread Zdenek Kabelac
2008/4/4, Marcelo Tosatti <[EMAIL PROTECTED]>: > > Zdenek reported a bug where a looping "dmsetup status" eventually hangs > on SMP guests. > > The problem is that kvm_mmu_get_page() prepopulates the shadow MMU > before write protecting the guest page tables. By doing so, it leaves a > window

[kvm-devel] [PATCH] prepopulate guest pages after write-protecting

2008-04-04 Thread Marcelo Tosatti
Zdenek reported a bug where a looping "dmsetup status" eventually hangs on SMP guests. The problem is that kvm_mmu_get_page() prepopulates the shadow MMU before write protecting the guest page tables. By doing so, it leaves a window open where the guest can mark a pte as present while the host ha