Revision 98b19252 hw/s390-virtio.c

b/hw/s390-virtio.c
26 26
#include "loader.h"
27 27
#include "elf.h"
28 28
#include "hw/virtio.h"
29
#include "hw/virtio-console.h"
30 29
#include "hw/sysbus.h"
31 30
#include "kvm.h"
32 31

  
......
207 206
                               strlen(kernel_cmdline), 1);
208 207
    }
209 208

  
210
    /* Create VirtIO console */
211
    for(i = 0; i < MAX_VIRTIO_CONSOLES; i++) {
212
        if (virtcon_hds[i]) {
213
            qdev_init_nofail(qdev_create((BusState *)s390_bus, "virtio-console-s390"));
214
        }
215
    }
216

  
217 209
    /* Create VirtIO network adapters */
218 210
    for(i = 0; i < nb_nics; i++) {
219 211
        NICInfo *nd = &nd_table[i];

Also available in: Unified diff