[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100428153116.GF18832@amd.com>
Date: Wed, 28 Apr 2010 17:31:17 +0200
From: Joerg Roedel <joerg.roedel@....com>
To: Avi Kivity <avi@...hat.com>
CC: Marcelo Tosatti <mtosatti@...hat.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 15/22] KVM: MMU: Introduce kvm_read_guest_page_x86()
On Tue, Apr 27, 2010 at 04:35:06PM +0300, Avi Kivity wrote:
> Perhaps have
>
> struct kvm_mmu base_mmu;
> struct kvm_mmu nested_mmu;
> struct kvm_mmu *mmu;
Okay, the pointer is only used in the gva_to_gpa path which is the
minority of mmu context usages. I will introduce a
struct kvm_mmu *walk_mmu;
and use it in the page walking code.
Joerg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists