Browse Source

whpx: i386: warn on unsupported MSR access instead of failing silently

Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
Link: https://lore.kernel.org/r/20260228214704.19048-5-mohamed@unpredictable.fr
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
master
Mohamed Mediouni 5 months ago
committed by Paolo Bonzini
parent
commit
3f7e6348b0
  1. 3
      target/i386/whpx/whpx-all.c

3
target/i386/whpx/whpx-all.c

@ -1819,6 +1819,9 @@ int whpx_vcpu_run(CPUState *cpu)
reg_count = vcpu->exit_ctx.MsrAccess.AccessInfo.IsWrite ?
1 : 3;
warn_report("WHPX: Unsupported MSR access (0x%x), IsWrite=%i",
vcpu->exit_ctx.MsrAccess.MsrNumber, vcpu->exit_ctx.MsrAccess.AccessInfo.IsWrite);
hr = whp_dispatch.WHvSetVirtualProcessorRegisters(
whpx->partition,
cpu->cpu_index,

Loading…
Cancel
Save