OSDN Git Service

doc: fix qmp event type
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 11 May 2015 15:17:49 +0000 (17:17 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 14 May 2015 15:25:46 +0000 (17:25 +0200)
Event name for hot unplug errors was wrong.
Make doc match code.

Cc: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/qmp/qmp-events.txt

index 6dc2cca..4c13d48 100644 (file)
@@ -232,7 +232,7 @@ Example:
 { "event": "GUEST_PANICKED",
      "data": { "action": "pause" } }
 
-MEM_HOT_UNPLUG_ERROR
+MEM_UNPLUG_ERROR
 --------------------
 Emitted when memory hot unplug error occurs.
 
@@ -243,7 +243,7 @@ Data:
 
 Example:
 
-{ "event": "MEM_HOT_UNPLUG_ERROR"
+{ "event": "MEM_UNPLUG_ERROR"
   "data": { "device": "dimm1",
             "msg": "acpi: device unplug for unsupported device"
   },