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. For the snake of simplifying testing of this series three patches where added (patches 13,14,15) which are already in staging. They can just be dropped when merging. When needed I can create a v4 without them (after they got merged into master). Luiz + Alex, please have a closer look at this. http://repo.or.cz/w/qemu/kraxel.git/shortlog/refs/heads/default.v3 thanks, Gerd