Statistics
| Branch: | Revision:

root / hw / s390-virtio.c @ ee4d45be

History | View | Annotate | Download (6.6 kB)

# Date Author Comment
98b19252 01/20/2010 04:25 pm Amit Shah

virtio-console: qdev conversion, new virtio-serial-bus

This commit converts the virtio-console device to create a new
virtio-serial bus that can host console and generic serial ports. The
file hosting this code is now called virtio-serial-bus.c.

The virtio console is now a very simple qdev device that sits on the...

e249651c 12/18/2009 05:39 pm Alexander Graf

S390: Bail out without KVM

Currently only the S390 KVM target works. To keep users from accidently not
using KVM, let's not even initialize the machine when KVM is not used.

Signed-off-by: Alexander Graf <>
Signed-off-by: Aurelien Jarno <>

a1e4b07f 12/18/2009 05:34 pm Alexander Graf

S390: Loop through virtio console devices

We used to always create one single virtio console device. This breaks when
either zero of multiple virtio console devices are requested, so let's use
the same code as on x86.

Signed-off-by: Alexander Graf <>...

5a2b3fc5 12/16/2009 07:25 pm Stefan Weil

s390: Fix buggy assignment

nd->model keeps dynamically allocated model names.
So casting of a constant string is wrong here.

Signed-off-by: Stefan Weil <>
Acked-by: Alexander Graf <>
Signed-off-by: Aurelien Jarno <>

cf708987 12/13/2009 08:44 pm Michael S. Tsirkin

s390: typo fix

s390 code has an obvious typo, which results in:
hw/s390-virtio.c: At top level:
hw/s390-virtio.c:249: error: request for member ‘no_vga’ in something not a structure or union

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Alexander Graf <>...

0435d393 12/13/2009 08:44 pm Michael S. Tsirkin

s390: fix build on 32 bit host

Building on 32 bit host we get:
hw/s390-virtio.c: In function ‘s390_init’:
hw/s390-virtio.c:184: error: integer constant is too large for ‘unsigned long’ type
64 bit values must be ULL.

Signed-off-by: Michael S. Tsirkin <>...

986c5f78 12/12/2009 03:59 pm Gerd Hoffmann

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....

8cb310e1 12/05/2009 06:36 pm Alexander Graf

Add S390x virtio machine description

In order to use the new S390x virtio bus we just introduced, we also
need a machine description that sets up the machine according to our
PV specification.

Let's add that machine description and be happy!

Signed-off-by: Alexander Graf <>...