qemu-e2k/hw
Shmulik Ladkani 4f08699482 ide: Correct the CHS 'cyls_max' limit to be 65535
In b7eb0c9:
  hw/block-common: Factor out fall back to legacy -drive cyls=...
'blkconf_geometry()' was introduced, factoring out CHS limit validation
code that was repeated in ide, scsi, virtio-blk.

The original IDE CHS limit prior b7eb0c9 was 65535,16,255 (as per ATA
CHS addressing).
However the 'cyls_max' argument passed to 'blkconf_geometry' in the
ide_dev_initfn case was accidentally set to 65536 instead of 65535.

Fix, providing the correct 'cyls_max'.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1453112371-29760-1-git-send-email-shmulik.ladkani@ravellosystems.com
Signed-off-by: John Snow <jsnow@redhat.com>
2016-01-25 14:34:40 -05:00
..
9pfs 9pfs: use error_report() instead of fprintf(stderr) 2016-01-22 15:12:17 +01:00
acpi
alpha isa: Clean up error handling around isa_bus_new() 2016-01-13 11:58:59 +01:00
arm hw/arm/virt: Add always-on property to the virt board timer 2016-01-21 14:15:07 +00:00
audio
block ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
bt
char Error reporting patches for 2016-01-13 2016-01-14 13:07:38 +00:00
core qdev: get_child_bus(): Use QOM lookup if available 2016-01-21 14:15:03 +00:00
cpu
cris
display Xen 2016/01/21 2016-01-21 17:21:08 +00:00
dma
gpio omap: Don't use hw_error() in device init() methods 2016-01-13 11:58:58 +01:00
i2c omap: Don't use hw_error() in device init() methods 2016-01-13 11:58:58 +01:00
i386 fpu: Replace uint32 typedef with uint32_t 2016-01-22 15:09:21 +00:00
ide ide: Correct the CHS 'cyls_max' limit to be 65535 2016-01-25 14:34:40 -05:00
input
intc arm_gic: Update ID registers based on revision 2016-01-21 14:15:08 +00:00
ipack
ipmi fpu: Replace int32 typedef with int32_t 2016-01-22 15:09:21 +00:00
isa isa: Clean up inappropriate hw_error() 2016-01-13 15:15:57 +01:00
lm32
m68k hw: Don't use hw_error() for machine initialization errors 2016-01-13 11:58:58 +01:00
mem
microblaze ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
mips mips: Clean up includes 2016-01-23 14:30:04 +00:00
misc fpu: Replace uint32 typedef with uint32_t 2016-01-22 15:09:21 +00:00
moxie
net fpu: Replace uint8 typedef with uint8_t 2016-01-22 15:09:21 +00:00
nvram
openrisc
pci
pci-bridge
pci-host isa: Clean up error handling around isa_bus_new() 2016-01-13 11:58:59 +01:00
pcmcia
ppc fpu: Replace uint32 typedef with uint32_t 2016-01-22 15:09:21 +00:00
s390x Error reporting patches for 2016-01-13 2016-01-14 13:07:38 +00:00
scsi SCSI device: fix to incomplete QOMify 2016-01-15 18:58:01 +01:00
sd ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
sh4
smbios
sparc
sparc64 target-sparc: Convert to VMStateDescription 2016-01-16 12:01:23 +00:00
ssi xilinx_spips: Separate the state struct into a header 2016-01-21 14:15:03 +00:00
timer arm_mptimer: Don't use hw_error() in realize() method 2016-01-13 11:58:58 +01:00
tpm qemu-char: delete send_all/recv_all helper methods 2016-01-15 18:58:01 +01:00
tricore
unicore32 hw: Don't use hw_error() for machine initialization errors 2016-01-13 11:58:58 +01:00
usb error: Use error_prepend() where it makes obvious sense 2016-01-13 15:16:17 +01:00
vfio vfio/pci: Lazy PBA emulation 2016-01-19 11:33:42 -07:00
virtio
watchdog
xen Xen PCI passthru: convert to realize() 2016-01-21 16:45:54 +00:00
xenpv
xtensa
Makefile.objs