Set default console to virtio on S390x
commit93d434b4aec0702b87ebf52449a3cdf2c3596825
authorAlexander Graf <agraf@suse.de>
Sat, 5 Dec 2009 11:44:30 +0000 (5 12:44 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 5 Dec 2009 16:36:06 +0000 (5 17:36 +0100)
tree638d95f4824f7d23a8357264bab380317e33537e
parentafcb0e4559df1421dcb5df75266769e48b96b46d
Set default console to virtio on S390x

All "normal" system emulation targets in qemu I'm aware of display output
on either VGA or serial output.

Our S390x virtio machine doesn't have such kind of legacy hardware. So
instead we need to default to a virtio console.

I'm not particularly proud of this patch. It would be a lot better to
have something in the machine description that tells us about the default
terminal.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
vl.c