Re: [PATCH v7 5/9] kvm, mem-hotplug: Reload L1's apic access page in vcpu_enter_guest().

2014-09-22 Thread Paolo Bonzini
Il 20/09/2014 12:47, Tang Chen ha scritto: @@ -3624,6 +3624,11 @@ static bool svm_has_secondary_apic_access(struct kvm_vcpu *vcpu) return false; } +static void svm_set_apic_access_page_addr(struct kvm *kvm, hpa_t hpa) +{ + return; +} + static int svm_vm_has_apicv(struct

Re: [PATCH v7 5/9] kvm, mem-hotplug: Reload L1's apic access page in vcpu_enter_guest().

2014-09-22 Thread Paolo Bonzini
Il 22/09/2014 11:33, Paolo Bonzini ha scritto: Something's wrong in the way you're generating the patches, because you're adding these hunks twice. Nevermind, that was my mistake. Paolo -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to

[PATCH v7 5/9] kvm, mem-hotplug: Reload L1's apic access page in vcpu_enter_guest().

2014-09-20 Thread Tang Chen
We are handling L1 and L2 share one apic access page situation when migrating apic access page. We should do some handling when migration happens in the following situations: 1) when L0 is running: Update L1's vmcs in the next L0-L1 entry and L2's vmcs in the next L1-L2 entry. 2)