diff options
author | Vitaly Kuznetsov <[email protected]> | 2021-06-28 12:44:20 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-07-15 10:19:43 -0400 |
commit | fce7e152ffc8f89d02a80617b16c7aa1527847c8 (patch) | |
tree | f47973735f964bab3560e1ce527ca1f7b5057d66 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c7a1b2b678c54ac19320daf525038d0e2e43ca7c (diff) |
KVM: nSVM: Check the value written to MSR_VM_HSAVE_PA
APM states that #GP is raised upon write to MSR_VM_HSAVE_PA when
the supplied address is not page-aligned or is outside of "maximum
supported physical address for this implementation".
page_address_valid() check seems suitable. Also, forcefully page-align
the address when it's written from VMM.
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Message-Id: <[email protected]>
Cc: [email protected]
Reviewed-by: Maxim Levitsky <[email protected]>
[Add comment about behavior for host-provided values. - Paolo]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions