Re: [Qemu-devel] [PATCH] Allow to specify a display ID whith the screendump command

2018-03-04 Thread Gerd Hoffmann
> -void qmp_screendump(const char *filename, Error **errp) > +void qmp_screendump(const char *filename, bool has_id, const char *id, > +Error **errp) > { > QemuConsole *con = qemu_console_lookup_by_index(0); > DisplaySurface *surface; > +DeviceState *dev; > + > +

[Qemu-devel] [PATCH] Allow to specify a display ID whith the screendump command

2018-03-04 Thread Thomas Huth
QEMU's screendump command can only take dumps from the primary display. When using multiple VGA cards, there is no way to get a dump from a secondary card yet. So let's add an 'id' parameter to the HMP and QMP commands to be able to specify alternative devices with the screendump command, too. Sig