Re: [PATCH v2 08/13] KVM: implement multiple address spaces

2015-06-08 Thread Xiao Guangrong
On 05/28/2015 01:05 AM, Paolo Bonzini wrote: /* @@ -772,6 +776,7 @@ int __kvm_set_memory_region(struct kvm *kvm, struct kvm_memory_slot *slot; struct kvm_memory_slot old, new; struct kvm_memslots *slots = NULL, *old_memslots; + int as_id, id; enum

[PATCH v2 08/13] KVM: implement multiple address spaces

2015-05-27 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- v1->v2: new Documentation/virtual/kvm/api.txt| 12 ++ arch/powerpc/include/asm/kvm_book3s_64.h | 2 +- include/linux/kvm_host.h | 26 ++-- include/uapi/linux/kvm.h | 1 + virt/kvm/kvm_main.c