mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 04:06:46 +00:00 
			
		
		
		
	 6b5abc7df7
			
		
	
	
		6b5abc7df7
		
	
	
	
	
		
			
			A future patch will be using a 'name':{dictionary} entry in the
QAPI schema to specify a default value for an optional argument
(see previous commit messages for more details why); but existing
use of inline nested structs conflicts with that goal. Now that
all commands have been changed to avoid inline nested structs,
nuke support for them, and turn it into a hard error. Update the
testsuite to reflect tighter parsing rules.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
		
	
			
		
			
				
	
	
		
			4 lines
		
	
	
		
			163 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
		
			163 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
| # inline subtypes collide with our desired future use of defaults
 | |
| { 'command': 'foo',
 | |
|   'returns': { 'a' : { 'string' : 'str', 'integer': 'int' }, 'b' : 'str' } }
 |