summary refs log tree commit diff stats
path: root/hw/core/qdev-fw.c
diff options
context:
space:
mode:
authorIvan Shcherbakov <ivan@sysprogs.com>2022-05-14 07:50:21 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-05-14 12:32:40 +0200
commitf000bc74589247244943085b210cee32bac28c89 (patch)
tree3210faa74432f1421e9d63d86e27455d44bff464 /hw/core/qdev-fw.c
parent48de9b0916ef60d5a6bd6ca9288832deff8ee1ee (diff)
downloadfocaccia-qemu-f000bc74589247244943085b210cee32bac28c89.tar.gz
focaccia-qemu-f000bc74589247244943085b210cee32bac28c89.zip
WHPX: fixed TPR/CR8 translation issues affecting VM debugging
This patch fixes the following error that would occur when trying to resume
a WHPX-accelerated VM from a breakpoint:

    qemu: WHPX: Failed to set interrupt state registers, hr=c0350005

The error arises from an incorrect CR8 value being passed to
WHvSetVirtualProcessorRegisters() that doesn't match the
value set via WHvSetVirtualProcessorInterruptControllerState2().

Signed-off-by: Ivan Shcherbakov <ivan@sysprogs.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/qdev-fw.c')
0 files changed, 0 insertions, 0 deletions