diff options
author | Hu Tao <hutao@cn.fujitsu.com> | 2013-04-26 11:24:42 +0800 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-30 10:30:01 -0500 |
commit | eec3d2adc98dd9ef7352823ce6597f88a51cf7cb (patch) | |
tree | 690e4e4fa55b0b7d8b02af78818163fce1495919 /user-exec.c | |
parent | c401a8a5156a2596b285586002d544c595d40cf7 (diff) | |
download | qemu-eec3d2adc98dd9ef7352823ce6597f88a51cf7cb.tar.gz qemu-eec3d2adc98dd9ef7352823ce6597f88a51cf7cb.tar.bz2 qemu-eec3d2adc98dd9ef7352823ce6597f88a51cf7cb.zip |
introduce a new qom device to deal with panicked event
pvpanic device is used to send guest panic event from guest to qemu.
When guest panic happens, pvpanic device driver will write a event
number to IO port 0x505(which is the IO port occupied by pvpanic device,
by default). On receiving the event, pvpanic device will pause guest
cpu(s), and send a qmp event QEVENT_GUEST_PANICKED.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: b66077a40235b3531632a05a6ff373850afc7d2e.1366945969.git.hutao@cn.fujitsu.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'user-exec.c')
0 files changed, 0 insertions, 0 deletions