diff options
author | Cameron Esfahani <dirty@apple.com> | 2019-12-02 15:55:41 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-03 09:11:42 +0100 |
commit | 64bef038e777208e4c35beae7f980fbd994b87eb (patch) | |
tree | 9ab8fa418b38c20013700ff8958e36c75f26d921 /target/i386/hvf/x86_cpuid.c | |
parent | 39032981fa851d25fb27527f25f046fed800e585 (diff) |
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 <dirty@apple.com>
Message-Id: <bf8d945ea1b423786d7802bbcf769517d1fd01f8.1575330463.git.dirty@apple.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/hvf/x86_cpuid.c')
0 files changed, 0 insertions, 0 deletions