Re: KVM: MMU: nuke shadowed pgtable pages and pte's on memslot destruction

Hollis Blanchard
2008-07-21T21:03:33Z

On Thu, 2008-07-10 at 20:49 -0300, Marcelo Tosatti wrote:
> diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c
> index b850d24..2c438a7 100644
> --- a/arch/powerpc/kvm/powerpc.c
> +++ b/arch/powerpc/kvm/powerpc.c
> @@ -170,6 +170,11 @@ int kvm_arch_set_memory_region(struct kvm *kvm,
> return 0;
> }
>
> +void kvm_arch_flush_shadow(struct kvm *kvm)
> +{
> + return;
> +}
> +
> struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int
> id)
> {
> struct kvm_vcpu *vcpu;

By the way, what is the testcase for this, i.e. how do I remove a
memslot?

--
Hollis Blanchard
IBM Linux Technology Center