Message ID | 5134730A.2050406@de.ibm.com |
---|---|
State | New |
Headers | show |
Il 04/03/2013 11:10, Christian Borntraeger ha scritto: > + //disabled wait: we either > + //do a > + //monitor_protocol_event(QEVENT_GUEST_PANICKED, whatever); > + //or > + //or call into pvevent > r = EXCP_HALTED; > break; > case ICPT_CPU_STOP: > > > I would prefer to just use the monitor_protocol_event, on the other hand > a call into pvent could make it configurable. I asked in my review to make pvevent not configurable, So monitor_protocol_event(QEVENT_GUEST_PANICKED); vm_stop(RUNSTATE_GUEST_PANICKED); would do I guess. Feel free to submit a patch to qemu-devel. Hu, please take any patch that Christian submits and incorporate it in your series for future posting. Paolo
--- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -759,6 +759,11 @@ static int handle_intercept(S390CPU *cpu) is_special_wait_psw(cs)) { qemu_system_shutdown_request(); } + //disabled wait: we either + //do a + //monitor_protocol_event(QEVENT_GUEST_PANICKED, whatever); + //or + //or call into pvevent r = EXCP_HALTED; break; case ICPT_CPU_STOP: