OSDN Git Service

qapi/qom: Add ObjectOptions for memory-backend-*
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Oct 2020 10:47:58 +0000 (12:47 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 19 Mar 2021 09:17:13 +0000 (10:17 +0100)
commit913d9063e1447a71c948edef3534a8e9965297e3
tree01ee7588ef1175a46578dbcee8a8110d00a47afe
parentd7ef29c4ed0b09cb175b457851c1cf5f6b1d7513
qapi/qom: Add ObjectOptions for memory-backend-*

This adds a QAPI schema for the properties of the memory-backend-*
objects.

HostMemPolicy has to be moved to an include file that can be used by the
storage daemon, too, because ObjectOptions must be the same in all
binaries if we don't want to compile the whole code multiple times.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
qapi/common.json
qapi/machine.json
qapi/qom.json