Re: [PATCH 5/7 v6] introduce a new qom device to deal with panicked event

2012-07-18 Thread Jan Kiszka
On 2012-07-18 11:19, Jan Kiszka wrote: > On 2012-07-18 03:54, Wen Congyang wrote: >> At 07/06/2012 07:05 PM, Jan Kiszka Wrote: >>> On 2012-07-06 11:41, Wen Congyang wrote: If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_PORT when it is panciked. This pat

Re: [PATCH 5/7 v6] introduce a new qom device to deal with panicked event

2012-07-18 Thread Jan Kiszka
On 2012-07-18 03:54, Wen Congyang wrote: > At 07/06/2012 07:05 PM, Jan Kiszka Wrote: >> On 2012-07-06 11:41, Wen Congyang wrote: >>> If the target is x86/x86_64, the guest's kernel will write 0x01 to the >>> port KVM_PV_PORT when it is panciked. This patch introduces a new qom >>> device kvm_pv_iop

Re: [PATCH 5/7 v6] introduce a new qom device to deal with panicked event

2012-07-17 Thread Wen Congyang
At 07/06/2012 07:05 PM, Jan Kiszka Wrote: > On 2012-07-06 11:41, Wen Congyang wrote: >> If the target is x86/x86_64, the guest's kernel will write 0x01 to the >> port KVM_PV_PORT when it is panciked. This patch introduces a new qom >> device kvm_pv_ioport to listen this I/O port, and deal with pani

Re: [PATCH 5/7 v6] introduce a new qom device to deal with panicked event

2012-07-06 Thread Jan Kiszka
On 2012-07-06 11:41, Wen Congyang wrote: > If the target is x86/x86_64, the guest's kernel will write 0x01 to the > port KVM_PV_PORT when it is panciked. This patch introduces a new qom > device kvm_pv_ioport to listen this I/O port, and deal with panicked > event according to panicked_action's val

[PATCH 5/7 v6] introduce a new qom device to deal with panicked event

2012-07-06 Thread Wen Congyang
If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_PORT when it is panciked. This patch introduces a new qom device kvm_pv_ioport to listen this I/O port, and deal with panicked event according to panicked_action's value. The possible actions are: 1. emit QEVENT_GUES