[PATCH] add MAINTAINERS entry for the KVM AMD module

2008-09-10 Thread Joerg Rodel
From: Joerg Roedel <[EMAIL PROTECTED]> Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index af27945..228e6d5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2414,6 +2414,13 @@

[PATCH] KVM: SVM: fix guest global tlb flushes with NPT

2008-09-09 Thread Joerg Rodel
From: Joerg Roedel <[EMAIL PROTECTED]> Accesses to CR4 are intercepted even with Nested Paging enabled. But the code does not check if the guest wants to do a global TLB flush. So this flush gets lost. This patch adds the check and the flush to svm_set_cr4. Signed-off-by: Joerg Roedel <[EMAIL PRO

[PATCH] KVM: SVM: fix guest global tlb flushes with NPT

2008-09-02 Thread Joerg Rodel
From: Joerg Roedel <[EMAIL PROTECTED]> Accesses to CR4 are intercepted even with Nested Paging enabled. But the code does not check if the guest wants to do a global TLB flush. So this flush gets lost. This patch adds the check and the flush to svm_set_cr4. Signed-off-by: Joerg Roedel <[EMAIL PRO

Re: [PATCH] KVM: SVM: fix random segfaults with NPT enabled

2008-08-28 Thread Joerg Rodel
On Wed, Aug 27, 2008 at 07:59:24PM +0300, Avi Kivity wrote: > Avi Kivity wrote: > >Joerg Rodel wrote: > >>>Meanwhile, I applied the patch, but I'm very worried about this. > >>> > >> > >>Yes, we are also worried. Another question is why

Re: [PATCH] KVM: SVM: fix random segfaults with NPT enabled

2008-08-27 Thread Joerg Rodel
On Wed, Aug 27, 2008 at 06:50:27PM +0300, Avi Kivity wrote: > Joerg Roedel wrote: > >On Wed, Aug 27, 2008 at 06:22:14PM +0300, Avi Kivity wrote: > > > >>Joerg Rodel wrote: > >> > >>>I will test it. Is the fix in your latest kernel.org tree?

Re: [PATCH] KVM: SVM: fix random segfaults with NPT enabled

2008-08-27 Thread Joerg Rodel
On Wed, Aug 27, 2008 at 04:53:26PM +0300, Avi Kivity wrote: > Avi Kivity wrote: > >Joerg Rodel wrote: > >>From: Joerg Roedel <[EMAIL PROTECTED]> > >> > >>This patch introduces a guest TLB flush on every NPF exit in KVM. This fixes > >>random s

Re: [PATCH] KVM: SVM: fix random segfaults with NPT enabled

2008-08-27 Thread Joerg Rodel
On Wed, Aug 27, 2008 at 04:11:02PM +0300, Avi Kivity wrote: > Joerg Rodel wrote: > >From: Joerg Roedel <[EMAIL PROTECTED]> > > > >This patch introduces a guest TLB flush on every NPF exit in KVM. This fixes > >random segfaults and #UD exceptions in the guest seen u

[PATCH] KVM: SVM: fix random segfaults with NPT enabled

2008-08-27 Thread Joerg Rodel
From: Joerg Roedel <[EMAIL PROTECTED]> This patch introduces a guest TLB flush on every NPF exit in KVM. This fixes random segfaults and #UD exceptions in the guest seen under some workloads (e.g. long running compile workloads or tbench). A kernbench run with and without that fix showed that it h