From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHyvG-0005dS-FA for qemu-devel@nongnu.org; Tue, 08 Dec 2009 07:12:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHyvB-0005c8-IM for qemu-devel@nongnu.org; Tue, 08 Dec 2009 07:12:05 -0500 Received: from [199.232.76.173] (port=44189 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHyvB-0005c5-An for qemu-devel@nongnu.org; Tue, 08 Dec 2009 07:12:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:20160) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHyvA-00081m-VA for qemu-devel@nongnu.org; Tue, 08 Dec 2009 07:12:01 -0500 From: Gerd Hoffmann Date: Tue, 8 Dec 2009 13:11:32 +0100 Message-Id: <1260274314-2906-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [FOR 0.12 PATCH v4 01/22] default devices: qdev integration. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , agraf@suse.de, lcapitulino@redhat.com Hi, Qemu creates a bunch of default devices (serial, parallel, vga, ...) if the user didn't specify one on the command line. Unfortunaly this doesn't work well with the qdev way of doing things because this logic is tied to the -serial, -parallel, ... command line switches. Devices created via -device are ignored. This patch set fixes this. It also adds a command line switch to disable all default devices and does a few cleanups in the code touched anyway. New in v3: Rebased against latest master. Two patches (qmp monitor + s390 console) came into the way. Because the way how serial lines and the monitor are initialized changes quite heavily it looked alot cleaner to me just revert those patches, apply the v2 patches, then reimplement the two patches on top of that. New in v4: * Rebased against latest master. * Moved the included fixes from (yesterdays) staging to the head of this series. * Fixed segfault without -monitor switch. * Killed noisy debug leftover. * Replaced fprintf("fixme") with a real error message. * Better commit messages for the monitor changes. * Killed the #ifdef for s390 virtio console. Luiz + Alex, please have a closer look at this. http://repo.or.cz/w/qemu/kraxel.git/shortlog/refs/heads/default.v4 thanks, Gerd