qemu-e2k/hw/ide
Daniel P. Berrange 96f43c2b0a ide: avoid referencing NULL dev in rotational rate setting
The 'dev' variable can be NULL when the guest OS calls identify on an IDE
unit that does not have a drive attached to it.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20171020091403.1479-1-berrange@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2017-10-31 18:00:03 -04:00
..
Makefile.objs hw/ide/ahci: Move allwinner code into a separate file 2017-10-31 13:48:59 -04:00
ahci-allwinner.c hw/ide/ahci: Move allwinner code into a separate file 2017-10-31 13:48:59 -04:00
ahci.c hw/ide/ahci: Move allwinner code into a separate file 2017-10-31 13:48:59 -04:00
ahci_internal.h AHCI: Rework IRQ constants 2017-09-18 19:41:11 -04:00
atapi.c IDE: replace DEBUG_AIO with trace events 2017-09-18 15:01:26 -04:00
cmd646.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
core.c ide: avoid referencing NULL dev in rotational rate setting 2017-10-31 18:00:03 -04:00
ich.c pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices 2017-10-15 05:54:43 +03:00
isa.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
macio.c macio: add missing registers to VMStateDescription 2017-10-17 10:34:00 +11:00
microdrive.c hw/ide/microdrive: Mark the dscm1xxxx device with user_creatable = false 2017-09-18 15:01:25 -04:00
mmio.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
pci.c pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices 2017-10-15 05:54:43 +03:00
piix.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
qdev.c ide: support reporting of rotation rate 2017-10-12 12:10:37 +02:00
trace-events AHCI: pretty-print FIS to buffer instead of stderr 2017-09-18 19:41:11 -04:00
via.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00