Alexander Graf <ag...@suse.de> writes: >> Am 30.06.2014 um 10:35 schrieb Nikunj A Dadhania <nik...@linux.vnet.ibm.com>: >> >> +static void rtas_ibm_os_term(PowerPCCPU *cpu, >> + sPAPREnvironment *spapr, >> + uint32_t token, uint32_t nargs, >> + target_ulong args, >> + uint32_t nret, target_ulong rets) >> +{ >> + target_ulong ret = 0; >> + >> + qapi_event_send_guest_panicked(GUEST_PANIC_ACTION_PAUSE, &error_abort); > > The guest doesn't pause.
I see the event reaching libvirt and a dump taken and the guest restarts. > Since the guest will call os-term in a loop, this will also flood the > event listener with lots and lots of panic messages. do { status = rtas_call(rtas_token("ibm,os-term"), 1, 1, NULL, __pa(rtas_os_term_buf)); } while (rtas_busy_delay(status)); So when status from the rtas call is success, the loop should exit. Am I missing something? Regards Nikunj