qemu-e2k/ui
Eric Blake 54aa3de72e qapi: Use QAPI_LIST_PREPEND() where possible
Anywhere we create a list of just one item or by prepending items
(typically because order doesn't matter), we can use
QAPI_LIST_PREPEND().  But places where we must keep the list in order
by appending remain open-coded until later patches.

Note that as a side effect, this also performs a cleanup of two minor
issues in qga/commands-posix.c: the old code was performing
 new = g_malloc0(sizeof(*ret));
which 1) is confusing because you have to verify whether 'new' and
'ret' are variables with the same type, and 2) would conflict with C++
compilation (not an actual problem for this file, but makes
copy-and-paste harder).

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20201113011340.463563-5-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
[Straightforward conflicts due to commit a8aa94b5f8 "qga: update
schema for guest-get-disks 'dependents' field" and commit a10b453a52
"target/mips: Move mips_cpu_add_definition() from helper.c to cpu.c"
resolved.  Commit message tweaked.]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2020-12-19 10:20:14 +01:00
..
icons configure: move directory options from config-host.mak to meson 2020-10-26 07:08:38 -04:00
keycodemapdb@6b3d716e2b
shader meson: clean up build_by_default 2020-09-30 19:09:19 +02:00
cocoa.m qapi: Restrict 'system wakeup/reset/powerdown' commands to machine.json 2020-10-21 05:00:44 +02:00
console-gl.c
console.c machine: introduce MachineInitPhase 2020-12-15 12:51:52 -05:00
curses_keys.h
curses.c curses: Fixes curses compiling errors. 2020-10-14 06:05:56 +02:00
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c
egl-context.c
egl-headless.c
egl-helpers.c
gtk-egl.c
gtk-gl-area.c ui/gtk-gl-area: Plug memleak in gd_gl_area_create_context() 2020-09-04 07:30:57 +02:00
gtk.c qapi: Restrict 'system wakeup/reset/powerdown' commands to machine.json 2020-10-21 05:00:44 +02:00
input-barrier.c input-barrier: Register properties as class properties 2020-10-13 15:56:30 -04:00
input-barrier.h
input-keymap.c
input-legacy.c
input-linux.c machine + QOM queue, 2020-10-14 2020-10-15 16:35:06 +01:00
input.c qapi: Use QAPI_LIST_PREPEND() where possible 2020-12-19 10:20:14 +01:00
kbd-state.c
keymaps.c vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
keymaps.h
meson.build configure: move directory options from config-host.mak to meson 2020-10-26 07:08:38 -04:00
qemu-pixman.c
qemu-x509.h
qemu.desktop
sdl2-2d.c
sdl2-gl.c
sdl2-input.c
sdl2.c qmp: generalize watchdog-set-action to -no-reboot/-no-shutdown 2020-12-15 12:51:57 -05:00
shader.c
spice-app.c chardev/spice: simplify chardev setup 2020-10-15 11:14:40 +02:00
spice-core.c spice: wire up monitor in QemuSpiceOps. 2020-10-21 15:46:14 +02:00
spice-display.c spice: get monitors physical dimension 2020-09-29 10:08:25 +02:00
spice-input.c spice: move add_interface() to QemuSpiceOps. 2020-10-21 15:46:14 +02:00
spice-module.c spice: wire up monitor in QemuSpiceOps. 2020-10-21 15:46:14 +02:00
trace-events console: modify ppm_save to take a pixman image ref 2020-11-04 08:02:24 +01:00
trace.h
vgafont.h
vnc_keysym.h
vnc-auth-sasl.c vnc: fix resource leak when websocket channel error 2020-11-04 08:25:17 +01:00
vnc-auth-sasl.h
vnc-auth-vencrypt.c vnc: fix resource leak when websocket channel error 2020-11-04 08:25:17 +01:00
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c vnc: Remove the superfluous break 2020-09-01 08:36:53 +02:00
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle.c
vnc-enc-zrle.c.inc
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c vnc: fix resource leak when websocket channel error 2020-11-04 08:25:17 +01:00
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-stubs.c vnc-stubs: Allow -vnc none 2020-10-14 06:05:56 +02:00
vnc-ws.c vnc: fix resource leak when websocket channel error 2020-11-04 08:25:17 +01:00
vnc-ws.h
vnc.c qapi: Use QAPI_LIST_PREPEND() where possible 2020-12-19 10:20:14 +01:00
vnc.h vnc: add alpha cursor support 2020-12-11 08:06:40 +01:00
win32-kbd-hook.c
x_keymap.c nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
x_keymap.h