diff options
author | Chen Zhang <tgfbeta@me.com> | 2019-04-22 11:42:25 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-17 05:17:31 +0200 |
commit | 3b9c59daf9ef13f96027062c803fd0780ae04e90 (patch) | |
tree | 2312aa6f2358b6943d87c1b94e36d75ba79a8a63 /target/i386/hvf | |
parent | 2e56fbc87f6ec3cd56c37b01d313abd502b80d61 (diff) | |
download | qemu-3b9c59daf9ef13f96027062c803fd0780ae04e90.zip qemu-3b9c59daf9ef13f96027062c803fd0780ae04e90.tar.gz qemu-3b9c59daf9ef13f96027062c803fd0780ae04e90.tar.bz2 |
hvf: Add missing break statement
In target/i386/hvf/hvf.c, a break statement was probably missing in
`hvf_vcpu_exec()`, in handling EXIT_REASON_HLT.
These lines seemed to be equivalent to `kvm_handle_halt()`.
Signed-off-by: Chen Zhang <tgfbeta@me.com>
Message-Id: <087F1D9C-109D-41D1-BE2C-CE5D840C981B@me.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/hvf')
-rw-r--r-- | target/i386/hvf/hvf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c index 42f9447..2751c81 100644 --- a/target/i386/hvf/hvf.c +++ b/target/i386/hvf/hvf.c @@ -708,6 +708,7 @@ int hvf_vcpu_exec(CPUState *cpu) !(idtvec_info & VMCS_IDT_VEC_VALID)) { cpu->halted = 1; ret = EXCP_HLT; + break; } ret = EXCP_INTERRUPT; break; |