mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
include: add qemu/keyval.h
Do not require the whole option machinery to handle keyval, as it is used by QAPI alone, without the option API. And match the associated unit name. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20220420132624.2439741-24-marcandre.lureau@redhat.com>
This commit is contained in:
parent
282468c7c4
commit
9ca9c893b6
9 changed files with 21 additions and 10 deletions
|
@ -15,7 +15,7 @@
|
|||
#include "qapi/qmp/qobject.h"
|
||||
#include "qapi/qmp/qdict.h"
|
||||
#include "test-qapi-visit.h"
|
||||
#include "qemu/option.h"
|
||||
#include "qemu/keyval.h"
|
||||
|
||||
typedef bool GenericVisitor (Visitor *, const char *, void **, Error **);
|
||||
#define CAST_VISIT_TYPE(fn) ((GenericVisitor *)(fn))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue