Received: from eggs.gnu.org ([208.118.235.92]:57039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USkid-0004r3-7x for qemu-devel@nongnu.org; Thu, 18 Apr 2013 05:01:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USkiY-0007hI-H1 for qemu-devel@nongnu.org; Thu, 18 Apr 2013 05:01:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USkiY-0007h3-7s for qemu-devel@nongnu.org; Thu, 18 Apr 2013 05:01:22 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3I91L33012527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 18 Apr 2013 05:01:21 -0400 From: Gerd Hoffmann Date: Thu, 18 Apr 2013 11:01:14 +0200 Message-Id: <1366275680-15416-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [RfC PATCH 0/5] console: qom-ify & extent screendump monitor command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , lcapitulino@redhat.com Hi, This patch qom-ifies the QemuConsoles and adds an new, optional parameter to the screendump command to specify the device you want dump from. Question for the QOM guys: where in the tree should the QemuConsoles show up? I can't find anything in the tree doing this. I've placed them below /backend. See patch #2. Ok? Better suggestions? Question for the libvirt guys: Is it ok for libvirt to just extend the existing screendump command? Can libvirt figure there is a new (optional) parameter? See patch #5. Gerd Hoffmann (5): console: qom-ify QemuConsole console: Hook QemuConsoles into qom tree console: add device link to QemuConsoles console: add qemu_console_lookup_by_device console: extend screendump monitor cmd hmp-commands.hx | 6 ++-- hmp.c | 3 +- hw/arm/musicpal.c | 2 +- hw/display/blizzard.c | 2 +- hw/display/cirrus_vga.c | 4 +-- hw/display/exynos4210_fimd.c | 2 +- hw/display/g364fb.c | 2 +- hw/display/jazz_led.c | 2 +- hw/display/milkymist-vgafb.c | 2 +- hw/display/omap_lcdc.c | 2 +- hw/display/pl110.c | 2 +- hw/display/pxa2xx_lcd.c | 2 +- hw/display/qxl.c | 4 +-- hw/display/sm501.c | 2 +- hw/display/ssd0303.c | 2 +- hw/display/ssd0323.c | 2 +- hw/display/tc6393xb.c | 2 +- hw/display/tcx.c | 4 +-- hw/display/vga-isa-mm.c | 2 +- hw/display/vga-isa.c | 2 +- hw/display/vga-pci.c | 2 +- hw/display/vmware_vga.c | 7 ++-- hw/unicore32/puv3.c | 2 +- include/ui/console.h | 19 ++++++++++- qapi-schema.json | 4 ++- qmp-commands.hx | 3 +- ui/console.c | 76 ++++++++++++++++++++++++++++++++++++++++-- 27 files changed, 128 insertions(+), 36 deletions(-) -- 1.7.9.7