Revision 17801c78

b/hw/fdc.h
11 11
{
12 12
    ISADevice *dev;
13 13

  
14
    dev = isa_create("isa-fdc");
14
    dev = isa_try_create("isa-fdc");
15
    if (!dev) {
16
        return;
17
    }
15 18
    if (fds[0]) {
16 19
        qdev_prop_set_drive_nofail(&dev->qdev, "driveA", fds[0]->bdrv);
17 20
    }

Also available in: Unified diff