summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-10-17 16:50:46 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-10-31 11:30:46 +0100
commit46c34cb059d519601fb567b55cf45c300fea2928 (patch)
tree7714d9f5073951ce554a417a0fb246ed5d424c39 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parente0f0bbc527f6e9c0261f1d16b2a0b47612b7f235 (diff)
KVM: x86: fix KVM_SET_XCRS for CPUs that do not support XSAVE
The KVM_SET_XCRS ioctl must accept anything that KVM_GET_XCRS could return. XCR0's bit 0 is always 1 in real processors with XSAVE, and KVM_GET_XCRS will always leave bit 0 set even if the emulated processor does not have XSAVE. So, KVM_SET_XCRS must ignore that bit when checking for attempts to enable unsupported save states. Reviewed-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions