]> Git Repo - qemu.git/commit
hvf: correctly inject VMCS_INTR_T_HWINTR versus VMCS_INTR_T_SWINTR.
authorCameron Esfahani <[email protected]>
Mon, 2 Dec 2019 23:55:41 +0000 (15:55 -0800)
committerPaolo Bonzini <[email protected]>
Tue, 3 Dec 2019 08:11:42 +0000 (09:11 +0100)
commit64bef038e777208e4c35beae7f980fbd994b87eb
tree9ab8fa418b38c20013700ff8958e36c75f26d921
parent39032981fa851d25fb27527f25f046fed800e585
hvf: correctly inject VMCS_INTR_T_HWINTR versus VMCS_INTR_T_SWINTR.

Previous implementation in hvf_inject_interrupts() would always inject
VMCS_INTR_T_SWINTR even when VMCS_INTR_T_HWINTR was required.  Now
correctly determine when VMCS_INTR_T_HWINTR is appropriate versus
VMCS_INTR_T_SWINTR.

Make sure to clear ins_len and has_error_code when ins_len isn't
valid and error_code isn't set.

Signed-off-by: Cameron Esfahani <[email protected]>
Message-Id: <bf8d945ea1b423786d7802bbcf769517d1fd01f8.1575330463[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
target/i386/hvf/hvf.c
target/i386/hvf/x86hvf.c
This page took 0.020849 seconds and 4 git commands to generate.