diff options
author | Radim Krčmář <[email protected]> | 2018-02-01 22:16:21 +0100 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2018-02-24 01:43:48 +0100 |
commit | fe2a3027e74e40a3ece3a4c1e4e51403090a907a (patch) | |
tree | 1f69d431c10dd68c11f429d2cac9af9cea3bb490 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f75e4924f0152be747bf04c9d16bb23fd8baf5f9 (diff) |
KVM: x86: fix backward migration with async_PF
Guests on new hypersiors might set KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT
bit when enabling async_PF, but this bit is reserved on old hypervisors,
which results in a failure upon migration.
To avoid breaking different cases, we are checking for CPUID feature bit
before enabling the feature and nothing else.
Fixes: 52a5c155cf79 ("KVM: async_pf: Let guest support delivery of async_pf from guest mode")
Cc: <[email protected]>
Reviewed-by: Wanpeng Li <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
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