On Thu, Jun 21, 2012 at 8:54 AM, Cong Meng <m...@linux.vnet.ibm.com> wrote: > +static int scsi_qdev_unplug(DeviceState *qdev) > +{ > + SCSIDevice *dev = SCSI_DEVICE(qdev); > + SCSIBus *bus = scsi_bus_from_device(dev); > + > + if (bus->info->hot_unplug) > + bus->info->hot_unplug(bus, dev);
Please use scripts/checkpatch.pl to ensure that your patch follows QEMU coding style. if statements must use {}. Stefan