Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/qmp-unstable/tags/for-upstream'…
… into staging QMP pull request # gpg: Signature made Mon May 11 14:15:19 2015 BST using RSA key ID E24ED5A7 # gpg: Good signature from "Luiz Capitulino <lcapitulino@gmail.com>" * remotes/qmp-unstable/tags/for-upstream: scripts: qmp-shell: Add verbose flag scripts: qmp-shell: add transaction subshell scripts: qmp-shell: Expand support for QMP expressions scripts: qmp-shell: refactor helpers MAINTAINERS: New maintainer for QMP and QAPI json-parser: Accept 'null' in QMP qobject: Add a special null QObject qobject: Clean up around qtype_code QJSON: Use OBJECT_CHECK Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
- Loading branch information
Showing
11 changed files
with
191 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
util-obj-y = qint.o qstring.o qdict.o qlist.o qfloat.o qbool.o | ||
util-obj-y = qnull.o qint.o qstring.o qdict.o qlist.o qfloat.o qbool.o | ||
util-obj-y += qjson.o json-lexer.o json-streamer.o json-parser.o | ||
util-obj-y += qerror.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* QNull | ||
* | ||
* Copyright (C) 2015 Red Hat, Inc. | ||
* | ||
* Authors: | ||
* Markus Armbruster <armbru@redhat.com> | ||
* | ||
* This work is licensed under the terms of the GNU LGPL, version 2.1 | ||
* or later. See the COPYING.LIB file in the top-level directory. | ||
*/ | ||
|
||
#include "qemu-common.h" | ||
#include "qapi/qmp/qobject.h" | ||
|
||
static void qnull_destroy_obj(QObject *obj) | ||
{ | ||
assert(0); | ||
} | ||
|
||
static const QType qnull_type = { | ||
.code = QTYPE_QNULL, | ||
.destroy = qnull_destroy_obj, | ||
}; | ||
|
||
QObject qnull_ = { | ||
.type = &qnull_type, | ||
.refcnt = 1, | ||
}; |
Oops, something went wrong.