diff options
author | hangaohuai <hangaohuai@huawei.com> | 2016-12-19 14:03:36 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-01-16 17:52:34 +0100 |
commit | bf7bb91e3c998f80d72b69707f3f6050587eddc0 (patch) | |
tree | da1893e40df377a7466a03ba1cf3aa3fb163babf /hw/scsi/megasas.c | |
parent | 2ccede18bd24fce5db83fef3674563a1f256717b (diff) |
bugfix: vm halt when in reset looping
reset mc146818rtc device when RESET event happens.
Fix the problem:
1. Guest boot the second cpu, set CMOS_RESET_CODE 0x0a to protect selfboot;
2. VM being reset by others, hmp_system_reset;
3. seabios resume check the CMOS_RESET_CODE, if 0x0a, jump to the BDA
resume execution by jump via 40h:0067h;
4. Guest halt;
Signed-off-by: hangaohuai <hangaohuai@huawei.com>
Message-Id: <20161219060336.10176-1-hangaohuai@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/megasas.c')
0 files changed, 0 insertions, 0 deletions