OSDN Git Service

i386: hvf: remove VM_PANIC from "in"
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Oct 2017 13:21:00 +0000 (15:21 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Dec 2017 14:02:07 +0000 (15:02 +0100)
Just give the obvious meaning to a 64-bit port, even though it
should not really happen.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hvf/hvf.c

index 72cb45a..010866e 100644 (file)
@@ -749,7 +749,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);