Re: [Qemu-devel] [PATCH] virtio: add a pci driver to notify host the CPU_DEAD event

2011-11-27 Thread Gleb Natapov
On Sun, Nov 27, 2011 at 10:47:43AM +0800, Liu Ping Fan wrote: > From: Liu Ping Fan > > A driver for qemu device "cpustate". This driver catch the guest > CPU_DEAD event, and notify host. > And if you do eject properly via ACPI this driver is replaced by 3 lines of ACPI code and works with older

[Qemu-devel] [PATCH] virtio: add a pci driver to notify host the CPU_DEAD event

2011-11-26 Thread Liu Ping Fan
From: Liu Ping Fan A driver for qemu device "cpustate". This driver catch the guest CPU_DEAD event, and notify host. Signed-off-by: Liu Ping Fan --- drivers/virtio/Kconfig |6 ++ drivers/virtio/Makefile|1 + drivers/virtio/cpustate_stub.c | 154