Diff for /qemu/hw/device-hotplug.c between versions 1.1.1.4 and 1.1.1.5

version 1.1.1.4, 2018/04/24 18:29:18 version 1.1.1.5, 2018/04/24 18:38:40
Line 25 Line 25
 #include "hw.h"  #include "hw.h"
 #include "boards.h"  #include "boards.h"
 #include "net.h"  #include "net.h"
   #include "blockdev.h"
   
 DriveInfo *add_init_drive(const char *optstr)  DriveInfo *add_init_drive(const char *optstr)
 {  {
     int fatal_error;  
     DriveInfo *dinfo;      DriveInfo *dinfo;
     QemuOpts *opts;      QemuOpts *opts;
   
     opts = drive_add(NULL, "%s", optstr);      opts = drive_def(optstr);
     if (!opts)      if (!opts)
         return NULL;          return NULL;
   
     dinfo = drive_init(opts, current_machine->use_scsi, &fatal_error);      dinfo = drive_init(opts, current_machine->use_scsi);
     if (!dinfo) {      if (!dinfo) {
         qemu_opts_del(opts);          qemu_opts_del(opts);
         return NULL;          return NULL;

Removed from v.1.1.1.4  
changed lines
  Added in v.1.1.1.5


unix.superglobalmegacorp.com