From: Paolo Bonzini Date: Fri, 12 Feb 2016 22:50:27 +0000 Subject: Re: [kvm-unit-tests PATCH v2 14/14] powerpc/ppc64: HACK: make a fake debug-exit Message-Id: <56BE61B3.5090800@redhat.com> List-Id: References: <1454957594-30601-1-git-send-email-drjones@redhat.com> <1454957594-30601-15-git-send-email-drjones@redhat.com> <56BE1F50.6030504@redhat.com> In-Reply-To: <56BE1F50.6030504@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Thomas Huth , Andrew Jones , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Cc: dgibson@redhat.com, david@gibson.dropbear.id.au, agraf@suse.de, lvivier@redhat.com On 12/02/2016 19:07, Thomas Huth wrote: > For a future improvement: Not sure, but there is a "ibm,os-term" RTAS > call which "[...] is provided for the OS to indicate to the platform > that it has terminated normal operation. A string of information is > passed to the platform", according to LoPAPR chapter 7.3.9.1. Maybe that > could be used to implement the debug-exit functionality? QEMU seems to > already send a GUEST_PANIC_ACTION_PAUSE event in this case, but the > parameter string is not taken into account yet... It also doesn't actually pause, unlike qemu_system_guest_panicked(). It probably should use a different GUEST_PANIC_ACTION (e.g. "report") for the event. Paolo