Re: [PATCH 15/18] KVM: MMU: Propagate the right fault back to the guest after gva_to_gpa

2010-03-15 Thread Joerg Roedel
On Mon, Mar 15, 2010 at 04:30:47AM +, Daniel K. wrote: > Joerg Roedel wrote: >> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c >> index 2883ce8..9f8b02d 100644 >> --- a/arch/x86/kvm/x86.c >> +++ b/arch/x86/kvm/x86.c >> @@ -314,6 +314,19 @@ void kvm_inject_page_fault(struct kvm_vcpu *vcpu,

Re: [PATCH 15/18] KVM: MMU: Propagate the right fault back to the guest after gva_to_gpa

2010-03-15 Thread Joerg Roedel
On Mon, Mar 15, 2010 at 11:23:07AM +0200, Avi Kivity wrote: > On 03/15/2010 11:06 AM, Joerg Roedel wrote: >> On Mon, Mar 15, 2010 at 09:36:52AM +0200, Avi Kivity wrote: >> >>> On 03/03/2010 09:12 PM, Joerg Roedel wrote: >>> This patch implements logic to make sure that either a

Re: [PATCH 15/18] KVM: MMU: Propagate the right fault back to the guest after gva_to_gpa

2010-03-15 Thread Avi Kivity
On 03/15/2010 11:06 AM, Joerg Roedel wrote: On Mon, Mar 15, 2010 at 09:36:52AM +0200, Avi Kivity wrote: On 03/03/2010 09:12 PM, Joerg Roedel wrote: This patch implements logic to make sure that either a page-fault/page-fault-vmexit or a nested-page-fault-vmexit is propagated back to t

Re: [PATCH 15/18] KVM: MMU: Propagate the right fault back to the guest after gva_to_gpa

2010-03-15 Thread Joerg Roedel
On Mon, Mar 15, 2010 at 09:36:52AM +0200, Avi Kivity wrote: > On 03/03/2010 09:12 PM, Joerg Roedel wrote: >> This patch implements logic to make sure that either a >> page-fault/page-fault-vmexit or a nested-page-fault-vmexit >> is propagated back to the guest. >> >> Signed-off-by: Joerg Roedel >>

Re: [PATCH 15/18] KVM: MMU: Propagate the right fault back to the guest after gva_to_gpa

2010-03-15 Thread Avi Kivity
On 03/03/2010 09:12 PM, Joerg Roedel wrote: This patch implements logic to make sure that either a page-fault/page-fault-vmexit or a nested-page-fault-vmexit is propagated back to the guest. Signed-off-by: Joerg Roedel --- arch/x86/kvm/mmu.h |1 + arch/x86/kvm/paging_tmpl.h |2

Re: [PATCH 15/18] KVM: MMU: Propagate the right fault back to the guest after gva_to_gpa

2010-03-14 Thread Daniel K.
Joerg Roedel wrote: diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 2883ce8..9f8b02d 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -314,6 +314,19 @@ void kvm_inject_page_fault(struct kvm_vcpu *vcpu, unsigned long addr, kvm_queue_exception_e(vcpu, PF_VECTOR, error

[PATCH 15/18] KVM: MMU: Propagate the right fault back to the guest after gva_to_gpa

2010-03-03 Thread Joerg Roedel
This patch implements logic to make sure that either a page-fault/page-fault-vmexit or a nested-page-fault-vmexit is propagated back to the guest. Signed-off-by: Joerg Roedel --- arch/x86/kvm/mmu.h |1 + arch/x86/kvm/paging_tmpl.h |2 ++ arch/x86/kvm/x86.c | 15