qapi-schema: Collect migration stuff in qapi/migration.json
Cc: Juan Quintela <quintela@redhat.com> Cc: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1503602048-12268-10-git-send-email-armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
		
							parent
							
								
									608cfed66a
								
							
						
					
					
						commit
						48685a8e2c
					
				| 
						 | 
				
			
			@ -1498,6 +1498,7 @@ F: migration/
 | 
			
		|||
F: scripts/vmstate-static-checker.py
 | 
			
		||||
F: tests/vmstate-static-checker-data/
 | 
			
		||||
F: docs/migration.txt
 | 
			
		||||
F: qapi/migration.json
 | 
			
		||||
 | 
			
		||||
Seccomp
 | 
			
		||||
M: Eduardo Otubo <otubo@redhat.com>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										1
									
								
								Makefile
								
								
								
								
							| 
						 | 
				
			
			@ -413,6 +413,7 @@ qapi-modules = $(SRC_PATH)/qapi-schema.json $(SRC_PATH)/qapi/common.json \
 | 
			
		|||
               $(SRC_PATH)/qapi/char.json \
 | 
			
		||||
               $(SRC_PATH)/qapi/crypto.json \
 | 
			
		||||
               $(SRC_PATH)/qapi/event.json $(SRC_PATH)/qapi/introspect.json \
 | 
			
		||||
               $(SRC_PATH)/qapi/migration.json \
 | 
			
		||||
               $(SRC_PATH)/qapi/net.json \
 | 
			
		||||
               $(SRC_PATH)/qapi/rocker.json \
 | 
			
		||||
               $(SRC_PATH)/qapi/run-state.json \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1056
									
								
								qapi-schema.json
								
								
								
								
							
							
						
						
									
										1056
									
								
								qapi-schema.json
								
								
								
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| 
						 | 
				
			
			@ -173,3 +173,19 @@
 | 
			
		|||
{ 'struct': 'String',
 | 
			
		||||
  'data': {
 | 
			
		||||
    'str': 'str' } }
 | 
			
		||||
 | 
			
		||||
##
 | 
			
		||||
# @StrOrNull:
 | 
			
		||||
#
 | 
			
		||||
# This is a string value or the explicit lack of a string (null
 | 
			
		||||
# pointer in C).  Intended for cases when 'optional absent' already
 | 
			
		||||
# has a different meaning.
 | 
			
		||||
#
 | 
			
		||||
# @s: the string value
 | 
			
		||||
# @n: no string value
 | 
			
		||||
#
 | 
			
		||||
# Since: 2.10
 | 
			
		||||
##
 | 
			
		||||
{ 'alternate': 'StrOrNull',
 | 
			
		||||
  'data': { 's': 'str',
 | 
			
		||||
            'n': 'null' } }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -50,44 +50,6 @@
 | 
			
		|||
{ 'event': 'DEVICE_DELETED',
 | 
			
		||||
  'data': { '*device': 'str', 'path': 'str' } }
 | 
			
		||||
 | 
			
		||||
##
 | 
			
		||||
# @MIGRATION:
 | 
			
		||||
#
 | 
			
		||||
# Emitted when a migration event happens
 | 
			
		||||
#
 | 
			
		||||
# @status: @MigrationStatus describing the current migration status.
 | 
			
		||||
#
 | 
			
		||||
# Since: 2.4
 | 
			
		||||
#
 | 
			
		||||
# Example:
 | 
			
		||||
#
 | 
			
		||||
# <- {"timestamp": {"seconds": 1432121972, "microseconds": 744001},
 | 
			
		||||
#     "event": "MIGRATION",
 | 
			
		||||
#     "data": {"status": "completed"} }
 | 
			
		||||
#
 | 
			
		||||
##
 | 
			
		||||
{ 'event': 'MIGRATION',
 | 
			
		||||
  'data': {'status': 'MigrationStatus'}}
 | 
			
		||||
 | 
			
		||||
##
 | 
			
		||||
# @MIGRATION_PASS:
 | 
			
		||||
#
 | 
			
		||||
# Emitted from the source side of a migration at the start of each pass
 | 
			
		||||
# (when it syncs the dirty bitmap)
 | 
			
		||||
#
 | 
			
		||||
# @pass: An incrementing count (starting at 1 on the first pass)
 | 
			
		||||
#
 | 
			
		||||
# Since: 2.6
 | 
			
		||||
#
 | 
			
		||||
# Example:
 | 
			
		||||
#
 | 
			
		||||
# { "timestamp": {"seconds": 1449669631, "microseconds": 239225},
 | 
			
		||||
#   "event": "MIGRATION_PASS", "data": {"pass": 2} }
 | 
			
		||||
#
 | 
			
		||||
##
 | 
			
		||||
{ 'event': 'MIGRATION_PASS',
 | 
			
		||||
  'data': { 'pass': 'int' } }
 | 
			
		||||
 | 
			
		||||
##
 | 
			
		||||
# @ACPI_DEVICE_OST:
 | 
			
		||||
#
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue