qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 18/19] i386: hvf: remove VM_PANIC from "in"


From: Paolo Bonzini
Subject: [Qemu-devel] [PULL 18/19] i386: hvf: remove VM_PANIC from "in"
Date: Wed, 20 Dec 2017 19:03:57 +0100

Just give the obvious meaning to a 64-bit port, even though it
should not really happen.

Signed-off-by: Paolo Bonzini <address@hidden>
---
 target/i386/hvf/hvf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c
index 75a27ad5eb..3a41ba6ae1 100644
--- a/target/i386/hvf/hvf.c
+++ b/target/i386/hvf/hvf.c
@@ -745,7 +745,7 @@ int hvf_vcpu_exec(CPUState *cpu)
                 } else if (size == 4) {
                     RAX(env) = (uint32_t)val;
                 } else {
-                    VM_PANIC("size");
+                    RAX(env) = (uint64_t)val;
                 }
                 RIP(env) += ins_len;
                 store_regs(cpu);
-- 
2.14.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]