mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:46:25 +00:00
whpx: i386: trace unsupported MSR accesses
Not actionable information for users, so stop having it displayed unconditionally. Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Link: https://lore.kernel.org/r/20260327011152.4126-4-mohamed@unpredictable.fr Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
ea1169bca4
commit
77a5deba0d
@@ -3687,6 +3687,7 @@ if have_system or have_user
|
|||||||
'target/hppa',
|
'target/hppa',
|
||||||
'target/i386',
|
'target/i386',
|
||||||
'target/i386/kvm',
|
'target/i386/kvm',
|
||||||
|
'target/i386/whpx',
|
||||||
'target/loongarch',
|
'target/loongarch',
|
||||||
'target/mips/tcg',
|
'target/mips/tcg',
|
||||||
'target/ppc',
|
'target/ppc',
|
||||||
|
|||||||
1
target/i386/whpx/trace-events
Normal file
1
target/i386/whpx/trace-events
Normal file
@@ -0,0 +1 @@
|
|||||||
|
whpx_unsupported_msr_access(uint32_t msr, int is_write) "WHPX: Unsupported MSR access (0x%x), IsWrite=%i"
|
||||||
2
target/i386/whpx/trace.h
Normal file
2
target/i386/whpx/trace.h
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
#include "trace/trace-target_i386_whpx.h"
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
#include "emulate/x86_emu.h"
|
#include "emulate/x86_emu.h"
|
||||||
#include "emulate/x86_flags.h"
|
#include "emulate/x86_flags.h"
|
||||||
#include "emulate/x86_mmu.h"
|
#include "emulate/x86_mmu.h"
|
||||||
|
#include "trace.h"
|
||||||
|
|
||||||
#include <winhvplatform.h>
|
#include <winhvplatform.h>
|
||||||
|
|
||||||
@@ -1921,8 +1922,8 @@ int whpx_vcpu_run(CPUState *cpu)
|
|||||||
1 : 3;
|
1 : 3;
|
||||||
|
|
||||||
if (!is_known_msr) {
|
if (!is_known_msr) {
|
||||||
warn_report("WHPX: Unsupported MSR access (0x%x), IsWrite=%i",
|
trace_whpx_unsupported_msr_access(vcpu->exit_ctx.MsrAccess.MsrNumber,
|
||||||
vcpu->exit_ctx.MsrAccess.MsrNumber, vcpu->exit_ctx.MsrAccess.AccessInfo.IsWrite);
|
vcpu->exit_ctx.MsrAccess.AccessInfo.IsWrite);
|
||||||
}
|
}
|
||||||
|
|
||||||
hr = whp_dispatch.WHvSetVirtualProcessorRegisters(
|
hr = whp_dispatch.WHvSetVirtualProcessorRegisters(
|
||||||
|
|||||||
Reference in New Issue
Block a user