Revision 5a2b3fc5 hw/s390-virtio.c

b/hw/s390-virtio.c
209 209
        DeviceState *dev;
210 210

  
211 211
        if (!nd->model) {
212
            nd->model = (char*)"virtio";
212
            nd->model = qemu_strdup("virtio");
213 213
        }
214 214

  
215 215
        if (strcmp(nd->model, "virtio")) {

Also available in: Unified diff