Re: [Qemu-devel] [PATCH] kvm: notify host when guest panicked

2012-06-12 Thread Gleb Natapov
On Tue, Jun 12, 2012 at 04:26:35PM +0800, Wen Congyang wrote: > At 06/12/2012 03:49 PM, Christian Borntraeger Wrote: > >>> We have three solutions to implement this feature: > >>> 1. use vmcall > >>> 2. use I/O port > >>> 3. use virtio-serial. > >> > >>> We have decided to avoid touching hypervisor

Re: [Qemu-devel] [PATCH] kvm: notify host when guest panicked

2012-06-12 Thread Wen Congyang
At 06/12/2012 03:49 PM, Christian Borntraeger Wrote: >>> We have three solutions to implement this feature: >>> 1. use vmcall >>> 2. use I/O port >>> 3. use virtio-serial. >> >>> We have decided to avoid touching hypervisor. The reason why I choose >>> choose the I/O port is: >>> 1. it is easier to

Re: [Qemu-devel] [PATCH] kvm: notify host when guest panicked

2012-06-12 Thread Wen Congyang
At 06/12/2012 03:49 PM, Christian Borntraeger Wrote: >>> We have three solutions to implement this feature: >>> 1. use vmcall >>> 2. use I/O port >>> 3. use virtio-serial. >> >>> We have decided to avoid touching hypervisor. The reason why I choose >>> choose the I/O port is: >>> 1. it is easier to

Re: [Qemu-devel] [PATCH] kvm: notify host when guest panicked

2012-06-12 Thread Christian Borntraeger
>> We have three solutions to implement this feature: >> 1. use vmcall >> 2. use I/O port >> 3. use virtio-serial. > >> We have decided to avoid touching hypervisor. The reason why I choose >> choose the I/O port is: >> 1. it is easier to implememt >> 2. it does not depend any virtual device >> 3.

Re: [Qemu-devel] [PATCH] kvm: notify host when guest panicked

2012-06-11 Thread Wen Congyang
Hi, Avi Do you have any comment to this patch? Thanks Wen Congyang At 05/21/2012 02:46 PM, Wen Congyang Wrote: > We can know the guest is panicked when the guest runs on xen. > But we do not have such feature on kvm. > > Another purpose of this feature is: management app(for example: > libvirt)

[Qemu-devel] [PATCH] kvm: notify host when guest panicked

2012-05-20 Thread Wen Congyang
We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for example: libvirt) can do auto dump when the guest is panicked. If management app does not do auto dump, the guest's user can do dump by hand