summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEric Blake2015-10-26 23:34:45 +0100
committerMarkus Armbruster2015-11-02 08:30:26 +0100
commit98481bfcd661daa3c160cc87a297b0e60a307788 (patch)
tree2ebb20d6461c2405f3f0313431a64df4824037e4 /scripts
parentqapi: Reserve 'q_*' and 'has_*' member names (diff)
downloadqemu-98481bfcd661daa3c160cc87a297b0e60a307788.tar.gz
qemu-98481bfcd661daa3c160cc87a297b0e60a307788.tar.xz
qemu-98481bfcd661daa3c160cc87a297b0e60a307788.zip
vnc: Hoist allocation of VncBasicInfo to callers
A future qapi patch will rework generated structs with a base class to be unboxed. In preparation for that, change the code that allocates then populates an info struct to instead merely populate the fields of an info field passed in as a parameter (renaming vnc_basic_info_get* to vnc_init_basic_info*). Add rudimentary Error handling at the lowest levels for cases where the old code returned NULL; but rather than plumb Error all the way through the stack, the callers drop the error and return NULL as before. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1445898903-12082-7-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions