Revision a1e4b07f hw/s390-virtio.c
b/hw/s390-virtio.c | ||
---|---|---|
201 | 201 |
} |
202 | 202 |
|
203 | 203 |
/* Create VirtIO console */ |
204 |
qdev_init_nofail(qdev_create((BusState *)s390_bus, "virtio-console-s390")); |
|
204 |
for(i = 0; i < MAX_VIRTIO_CONSOLES; i++) { |
|
205 |
if (virtcon_hds[i]) { |
|
206 |
qdev_init_nofail(qdev_create((BusState *)s390_bus, "virtio-console-s390")); |
|
207 |
} |
|
208 |
} |
|
205 | 209 |
|
206 | 210 |
/* Create VirtIO network adapters */ |
207 | 211 |
for(i = 0; i < nb_nics; i++) { |
Also available in: Unified diff