lkml.org 
[lkml]   [2012]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v12 8/8] pv event: add document to describe the usage
Date
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
docs/pv-event.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 docs/pv-event.txt

diff --git a/docs/pv-event.txt b/docs/pv-event.txt
new file mode 100644
index 0000000..ac9e7fa
--- /dev/null
+++ b/docs/pv-event.txt
@@ -0,0 +1,17 @@
+KVM PV EVENT
+============
+
+kvm pv event allows guest OS to notify host OS of some events, for
+example, guest panic. Currently, there is one event supported, that
+is, guest panic. More events can be added later.
+
+By default, kvm pv event is disabled. In order to enable it, you have
+to specify enable_pv_event=on for -machine command line option, along
+with -global kvm_pv_event.panicked_action to specify the action taken
+when panic event has occurred. Aviable panic actions are: "none",
+"pause", "poweroff" and "reset". Following is example:
+
+ qemu-system-x86_64 -enable-kvm -machine pc-0.12,enable_pv_event=on \
+ -global kvm_pv_event.panicked_action=pause <other options>
+
+kvm pv event needs kvm support.
--
1.8.0.1.240.ge8a1f5a


\
 
 \ /
  Last update: 2012-12-12 07:21    [W:0.085 / U:1.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site