mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
qapi: Permit 'boxed' with empty type
We reject empty types with 'boxed': true. We don't really need that to work, but making it work is actually simpler than rejecting it, so do that. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20190913201349.24332-9-armbru@redhat.com>
This commit is contained in:
parent
9b4416bfc1
commit
675b214bc6
11 changed files with 19 additions and 25 deletions
|
@ -97,6 +97,10 @@ void qmp_boxed_union(UserDefListUnion *arg, Error **errp)
|
|||
{
|
||||
}
|
||||
|
||||
void qmp_boxed_empty(Empty1 *arg, Error **errp)
|
||||
{
|
||||
}
|
||||
|
||||
__org_qemu_x_Union1 *qmp___org_qemu_x_command(__org_qemu_x_EnumList *a,
|
||||
__org_qemu_x_StructList *b,
|
||||
__org_qemu_x_Union2 *c,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue