commit | 744e699c7e9913a9b1f825f189ab547c4da0d182 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Tue Feb 18 15:03:09 2020 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 16 17:57:12 2020 +0100 |
tree | 43eb2a573bb85cb87584ae6a320cdb11632c82ab | |
parent | 92daa48b34d784748b575ae424def4ea7f024b2f [diff] |
KVM: x86: Move gpa_val and gpa_available into the emulator context Move the GPA tracking into the emulator context now that the context is guaranteed to be initialized via __init_emulate_ctxt() prior to dereferencing gpa_{available,val}, i.e. now that seeing a stale gpa_available will also trigger a WARN due to an invalid context. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>