Fix emulator hang during adb reboot. Bug 69798912

Change-Id: I26e116194e3fb2a5570bd2654e111307a14cc161
Signed-off-by: Haitao Shan <hshan@google.com>
This commit is contained in:
Haitao Shan 2017-11-29 11:04:59 -08:00 committed by espes
parent d0b4d2939a
commit e2fd7b21be

View File

@ -293,6 +293,7 @@ static void do_hvf_cpu_synchronize_post_reset(CPUState *cpu, run_on_cpu_data arg
{
CPUState *cpu_state = cpu;
hvf_put_registers(cpu_state);
wvmcs(cpu_state->hvf_fd, VMCS_ENTRY_CTLS, 0);
cpu_state->vcpu_dirty = false;
}