aboutsummaryrefslogtreecommitdiff
path: root/target-sh4
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2009-12-06 15:51:24 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-07 08:45:47 -0600
commit6fb6d245546d3ae48c4cb764b3593e4739aa1364 (patch)
treecb4ce6d604e999c1b538fd9f2f031a01831f4ea7 /target-sh4
parent5d7ff5bbde21858b43af38e7cb5cae59bd4668ad (diff)
kvm: x86: Fix initial kvm_has_msr_star
KVM_GET_MSR_INDEX_LIST returns -E2BIG when the provided space is too small for all MSRs. But this is precisely the error we trigger with the initial request in order to obtain that size. Do not fail in that case. This caused a subtle corruption of the guest state as MSR_STAR was not properly saved/restored. The corruption became visible with latest kvm optimizing the MSR updates. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-sh4')
0 files changed, 0 insertions, 0 deletions