qmp-events: move 'MEM_UNPLUG_ERROR' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
		
							parent
							
								
									14df1ea168
								
							
						
					
					
						commit
						e602f0b4e7
					
				| 
						 | 
				
			
			@ -19,23 +19,6 @@ Example:
 | 
			
		|||
  "data": {"result": {"total": 1090650112, "status": "completed",
 | 
			
		||||
                      "completed": 1090650112} } }
 | 
			
		||||
 | 
			
		||||
MEM_UNPLUG_ERROR
 | 
			
		||||
--------------------
 | 
			
		||||
Emitted when memory hot unplug error occurs.
 | 
			
		||||
 | 
			
		||||
Data:
 | 
			
		||||
 | 
			
		||||
- "device": device name (json-string)
 | 
			
		||||
- "msg": Informative message (e.g., reason for the error) (json-string)
 | 
			
		||||
 | 
			
		||||
Example:
 | 
			
		||||
 | 
			
		||||
{ "event": "MEM_UNPLUG_ERROR"
 | 
			
		||||
  "data": { "device": "dimm1",
 | 
			
		||||
            "msg": "acpi: device unplug for unsupported device"
 | 
			
		||||
  },
 | 
			
		||||
  "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
 | 
			
		||||
 | 
			
		||||
MIGRATION_PASS
 | 
			
		||||
--------------
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -592,6 +592,15 @@
 | 
			
		|||
# @msg: Informative message
 | 
			
		||||
#
 | 
			
		||||
# Since: 2.4
 | 
			
		||||
#
 | 
			
		||||
# Example:
 | 
			
		||||
#
 | 
			
		||||
# <- { "event": "MEM_UNPLUG_ERROR"
 | 
			
		||||
#      "data": { "device": "dimm1",
 | 
			
		||||
#                "msg": "acpi: device unplug for unsupported device"
 | 
			
		||||
#      },
 | 
			
		||||
#      "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
 | 
			
		||||
#
 | 
			
		||||
##
 | 
			
		||||
{ 'event': 'MEM_UNPLUG_ERROR',
 | 
			
		||||
  'data': { 'device': 'str', 'msg': 'str' } }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue