commit | 2cf43c6d40d5027e15736bab9964b225751d8c50 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Jul 17 11:51:53 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jul 18 10:18:22 2014 +0200 |
tree | a751d4f2ab877247860e6ed02819f9cfda15a346 | |
parent | b914a38c9edd6e316ada351ca4c19e2a5f3da802 [diff] |
KVM: nVMX: clean up handling of shadow<->vmcs12 syncing Track separately whether shadow and vmcs12 provide an authoritative VMCS. The shadow VMCS starts as unauthoritative, and also becomes unauthoritative when L0 writes to the vmcs12. The vmcs12 becomes unauthoritative when entering an L1 that can write to shadow, i.e. when entering L1 in VMX root mode. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>