From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHp3I-0004Xi-Rs for qemu-devel@nongnu.org; Wed, 31 Oct 2018 07:52:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHp3F-00042O-Ht for qemu-devel@nongnu.org; Wed, 31 Oct 2018 07:52:48 -0400 Received: from proxmox-new.maurer-it.com ([212.186.127.180]:48892) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gHp3F-00040d-6d for qemu-devel@nongnu.org; Wed, 31 Oct 2018 07:52:45 -0400 From: Dominik Csapak Date: Wed, 31 Oct 2018 12:52:39 +0100 Message-Id: <20181031115242.6558-1-d.csapak@proxmox.com> Subject: [Qemu-devel] [PATCH 0/3] qapi: return ShutdownCause for events List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: eblake@redhat.com, armbru@redhat.com, pbonzini@redhat.com, kwolf@redhat.com, mreitz@redhat.com This series improves the QMP SHUTDOWN and RESET events by adding the ShutdownCause as additional parameter and splitting the HOST_QMP reason into HOST_QMP_QUIT and HOST_QMP_SYSTEM_RESET to be able to detect the difference between them when using '--no-reboot' this is an alternative to my previous patches[1][2] which added an exit-script/added a 'reset' argument to the events 1: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg00697.html 2: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg01271.html Dominik Csapak (3): qapi: move ShutdownCause to qapi/run-state.json qapi: split host-qmp into quit and system-reset qapi: add reason to SHUTDOWN and RESET events include/sysemu/sysemu.h | 20 -------------------- qapi/run-state.json | 39 +++++++++++++++++++++++++++++++++++++-- qmp.c | 4 ++-- tests/qemu-iotests/060.out | 4 ++-- tests/qemu-iotests/071.out | 4 ++-- tests/qemu-iotests/081.out | 2 +- tests/qemu-iotests/087.out | 12 ++++++------ tests/qemu-iotests/094.out | 2 +- tests/qemu-iotests/109.out | 44 ++++++++++++++++++++++---------------------- tests/qemu-iotests/117.out | 2 +- tests/qemu-iotests/119.out | 2 +- tests/qemu-iotests/120.out | 2 +- tests/qemu-iotests/127.out | 2 +- tests/qemu-iotests/140.out | 2 +- tests/qemu-iotests/143.out | 2 +- tests/qemu-iotests/156.out | 2 +- tests/qemu-iotests/176.out | 16 ++++++++-------- tests/qemu-iotests/183.out | 4 ++-- tests/qemu-iotests/184.out | 12 ++++++++---- tests/qemu-iotests/185.out | 10 +++++----- tests/qemu-iotests/191.out | 6 ++++-- tests/qemu-iotests/195.out | 6 ++++-- tests/qemu-iotests/223.out | 2 +- tests/qemu-iotests/227.out | 12 ++++++++---- vl.c | 4 ++-- 25 files changed, 122 insertions(+), 95 deletions(-) -- 2.11.0