diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-18 10:02:06 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-19 08:48:18 -0400 |
commit | 687758565ab39028f7310c30355a765f171ff1bf (patch) | |
tree | 6dceb5deb51f951c07b00e0cd66e1537b6299b40 /include | |
parent | da3f3b020f5346f59c30241ff6f3da60be87ed78 (diff) | |
download | qemu-687758565ab39028f7310c30355a765f171ff1bf.zip qemu-687758565ab39028f7310c30355a765f171ff1bf.tar.gz qemu-687758565ab39028f7310c30355a765f171ff1bf.tar.bz2 |
target/i386: svm: do not discard high 32 bits of EXITINFO1
env->error_code is only 32-bits wide, so the high 32 bits of EXITINFO1
are being lost. However, even though saving guest state and restoring
host state must be delayed to do_vmexit, because they might take tb_lock,
it is always possible to write to the VMCB. So do this for the exit
code and EXITINFO1, just like it is already being done for EXITINFO2.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions