summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorWei Liu <liuwe@linux.microsoft.com>2025-02-21 00:36:23 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-25 16:18:12 +0100
commit646140dfebd42a9a9df8f15a22027b7efcb072cf (patch)
tree5a523a2ee6013694f999b1d2e8535f14e19ce181
parent99e5aaf9afeed3e0437f6dbc7672e3028d2b2f4b (diff)
downloadfocaccia-qemu-646140dfebd42a9a9df8f15a22027b7efcb072cf.tar.gz
focaccia-qemu-646140dfebd42a9a9df8f15a22027b7efcb072cf.zip
target/i386/hvf: drop some dead code
Signed-off-by: Wei Liu <liuwe@linux.microsoft.com>
Link: https://lore.kernel.org/r/1740126987-8483-16-git-send-email-liuwe@linux.microsoft.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--target/i386/hvf/x86_emu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/i386/hvf/x86_emu.c b/target/i386/hvf/x86_emu.c
index df81594115..ebba80a36b 100644
--- a/target/i386/hvf/x86_emu.c
+++ b/target/i386/hvf/x86_emu.c
@@ -1241,10 +1241,6 @@ static void init_cmd_handler(void)
 
 bool exec_instruction(CPUX86State *env, struct x86_decode *ins)
 {
-    /*if (hvf_vcpu_id(cs))
-    printf("%d, %llx: exec_instruction %s\n", hvf_vcpu_id(cs),  env->eip,
-          decode_cmd_to_string(ins->cmd));*/
-
     if (!_cmd_handler[ins->cmd].handler) {
         printf("Unimplemented handler (%llx) for %d (%x %x) \n", env->eip,
                 ins->cmd, ins->opcode[0],