aboutsummaryrefslogtreecommitdiff
path: root/target/i386/hvf/hvf.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-10-03 15:21:00 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-12-22 15:02:07 +0100
commitda20f5cd0d9935205e607eaa843ed22fdea91b83 (patch)
treec7d30ed060e8294f7558bab7192b3dbf058282de /target/i386/hvf/hvf.c
parentff2de1668c9e5dfa7d4305451058234a029aa6ad (diff)
i386: hvf: remove VM_PANIC from "in"
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>
Diffstat (limited to 'target/i386/hvf/hvf.c')
-rw-r--r--target/i386/hvf/hvf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c
index 72cb45a5c9..010866ed22 100644
--- a/target/i386/hvf/hvf.c
+++ b/target/i386/hvf/hvf.c
@@ -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);