commit | 54577e5018a8c0cb79c9a0fa118a55c68715d398 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Aug 20 17:35:52 2019 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Aug 21 10:27:35 2019 +0200 |
tree | 93a376747c77710e87f5f1e4f52b1eaf0fe2ffb9 | |
parent | c930e19790bbbff31c018009907c813fa0925f63 [diff] |
selftests: kvm: fix state save/load on processors without XSAVE state_test and smm_test are failing on older processors that do not have xcr0. This is because on those processor KVM does provide support for KVM_GET/SET_XSAVE (to avoid having to rely on the older KVM_GET/SET_FPU) but not for KVM_GET/SET_XCRS. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>