Re: [kvm-devel] [PATCH] Don't leak EPT identity page table

2008-05-02 Thread Avi Kivity
Anthony Liguori wrote: > In vmx.c:alloc_identity_pagetable() we grab a reference to the EPT identity > page table via gfn_to_page(). We never release this reference though. > > This patch releases the reference to this page on VM destruction. I haven't > tested this with EPT. > Applied, thank

Re: [kvm-devel] [PATCH] Don't leak EPT identity page table

2008-05-01 Thread Yang, Sheng
On Thursday 01 May 2008 04:16:05 Anthony Liguori wrote: > In vmx.c:alloc_identity_pagetable() we grab a reference to the EPT identity > page table via gfn_to_page(). We never release this reference though. > > This patch releases the reference to this page on VM destruction. I > haven't tested th

[kvm-devel] [PATCH] Don't leak EPT identity page table

2008-04-30 Thread Anthony Liguori
In vmx.c:alloc_identity_pagetable() we grab a reference to the EPT identity page table via gfn_to_page(). We never release this reference though. This patch releases the reference to this page on VM destruction. I haven't tested this with EPT. Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]>