Skip to contentSkip to conversation

doc: fix qmp event type

PATCH Applied Michael S. Tsirkin 3 participants 3 messages May 11, 2015 – May 12, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: fix qmp event type

Even name for hot unplug errors was wrong. Make doc match code.

---
 docs/qmp/qmp-events.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/qmp/qmp-events.txt +2 -2
index 3be468f..a85c717 100644
@@ -226,7 +226,7 @@ Example:
 { "event": "GUEST_PANICKED",
      "data": { "action": "pause" } }
 
-MEM_HOT_UNPLUG_ERROR
+MEM_UNPLUG_ERROR
 --------------------
 Emitted when memory hot unplug error occurs.
 
@@ -237,7 +237,7 @@ Data:
 
 Example:
 
-{ "event": "MEM_HOT_UNPLUG_ERROR"
+{ "event": "MEM_UNPLUG_ERROR"
   "data": { "device": "dimm1",
             "msg": "acpi: device unplug for unsupported device"
   },
Signature · 1 line
MST
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Michael S. Tsirkin

Even name for hot unplug errors was wrong.

s/Even/Event/ ?

Quoted 8 lines

Make doc match code.

---
 docs/qmp/qmp-events.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
#2 lore raw
Quoted 7 lines · Eric Blake
Quoted 1 line · Michael S. Tsirkin

Even name for hot unplug errors was wrong.

s/Even/Event/ ?

Quoted 2 lines

Make doc match code.

Quoted 8 lines
Quoted 6 lines
---
 docs/qmp/qmp-events.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to my qapi-next branch with the commit message touched up, thanks!