From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tifa3-0005YE-TU for qemu-devel@nongnu.org; Wed, 12 Dec 2012 01:14:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TifZy-0004Br-2E for qemu-devel@nongnu.org; Wed, 12 Dec 2012 01:14:07 -0500 Received: from [222.73.24.84] (port=27916 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TifZx-0004BV-O7 for qemu-devel@nongnu.org; Wed, 12 Dec 2012 01:14:01 -0500 From: Hu Tao Date: Wed, 12 Dec 2012 14:13:43 +0800 Message-Id: Subject: [Qemu-devel] [PATCH v12 0/8] pv event to notify host when the guest is panicked List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm list , qemu-devel , "linux-kernel@vger.kernel.org" , Avi Kivity , "Daniel P. Berrange" , KAMEZAWA Hiroyuki , Jan Kiszka , Gleb Natapov , Blue Swirl , Eric Blake , Andrew Jones , Marcelo Tosatti , Sasha Levin , Luiz Capitulino This series implements a new interface, kvm pv event, to notify host when some events happen in guest. Right now there is one supported event: guest panic. changes from v11: - add a new patch 'save/load cpu runstate' - fix a bug of null-dereference when no -machine option is supplied - reserve RUN_STATE_GUEST_PANICKED during migration - add doc of enable_pv_event option - disable reboot-on-panic if pv_event is on v11: http://lists.gnu.org/archive/html/qemu-devel/2012-10/msg04361.html Hu Tao (7): save/load cpu runstate update kernel headers add a new runstate: RUN_STATE_GUEST_PANICKED add a new qevent: QEVENT_GUEST_PANICKED introduce a new qom device to deal with panicked event allower the user to disable pv event support pv event: add document to describe the usage Wen Congyang (1): start vm after resetting it block.h | 2 + docs/pv-event.txt | 17 ++++ hw/kvm/Makefile.objs | 2 +- hw/kvm/pv_event.c | 197 +++++++++++++++++++++++++++++++++++++++ hw/pc_piix.c | 11 +++ kvm-stub.c | 4 + kvm.h | 2 + linux-headers/asm-x86/kvm_para.h | 1 + linux-headers/linux/kvm_para.h | 6 ++ migration.c | 7 +- monitor.c | 6 +- monitor.h | 1 + qapi-schema.json | 6 +- qemu-config.c | 4 + qemu-options.hx | 3 +- qmp.c | 5 +- savevm.c | 1 + sysemu.h | 2 + vl.c | 52 ++++++++++- 19 files changed, 312 insertions(+), 17 deletions(-) create mode 100644 docs/pv-event.txt create mode 100644 hw/kvm/pv_event.c -- 1.8.0.1.240.ge8a1f5a