diff options
author | Justin Terry (VM) via Qemu-devel | 2018-02-26 18:13:34 +0100 |
---|---|---|
committer | Paolo Bonzini | 2018-03-06 14:01:29 +0100 |
commit | 2bf3e74de4e5e33eb477e9ebe1839f9594173773 (patch) | |
tree | 7ace64e0156e7e4ff3d2a0a874431cedef9b006a /hw/sparc | |
parent | Fix WHPX typo in 'mmio' (diff) | |
download | qemu-2bf3e74de4e5e33eb477e9ebe1839f9594173773.tar.gz qemu-2bf3e74de4e5e33eb477e9ebe1839f9594173773.tar.xz qemu-2bf3e74de4e5e33eb477e9ebe1839f9594173773.zip |
Fix WHPX issue leaking tpr values
Fixes an issue where if the tpr is assigned to the array but not a different
value from what is already expected on the vp the code will skip incrementing
the reg_count. In this case its possible that we set an invalid memory section
of the next call for DeliverabilityNotifications that was not expected.
The fix is to use a local variable to store the temporary tpr and only update
the array if the local tpr value is different than the vp context.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
Message-Id: <1519665216-1078-7-git-send-email-juterry@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Justin Terry (VM) via Qemu-devel <qemu-devel@nongnu.org>
Diffstat (limited to 'hw/sparc')
0 files changed, 0 insertions, 0 deletions