qemu-e2k/hw
Kevin Wolf d20051856c ide: Check validity of logical block size
Our IDE emulation can't handle logical block sizes other than 512. Check
for it.

The original assumption was that other values would silently be ignored
(which is bad enough), but it's not quite true: The physical block size
is exposed in IDENTIFY DEVICE as a multiple of the logical block size.
Setting a logical block size therefore also corrupts the physical block
size (4096/4096 doesn't silently downgrade to 4096/512, but 512/512).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
2014-12-10 10:31:16 +01:00
..
9pfs
acpi pc: piix4_pm: init legacy PCI hotplug when running on Xen 2014-11-14 11:11:44 +00:00
alpha
arm hw/arm/virt: set stdout-path instead of linux,stdout-path 2014-11-20 14:58:37 +00:00
audio
block nvme: 64kB page size fixes 2014-12-10 10:31:16 +01:00
bt
char Several bugfixes for s390x: 2014-11-10 14:58:59 +00:00
core hmp: fix regression of HMP device_del auto-completion 2014-11-27 14:36:20 +00:00
cpu icc_bus: fix typo ICC_BRIGDE -> ICC_BRIDGE 2014-11-03 19:51:56 +03:00
cris
display cirrus: don't overflow CirrusVGAState->cirrus_bltbuf 2014-12-01 10:25:46 +01:00
dma
gpio PPC: Add MPC8XXX gpio controller 2014-11-04 23:26:12 +01:00
i2c
i386 -machine vmport=auto: Fix handling of VMWare ioport emulation for xen 2014-11-26 12:11:27 +01:00
ide ide: Check validity of logical block size 2014-12-10 10:31:16 +01:00
input
intc apic: fix incorrect handling of ExtINT interrupts wrt processor priority 2014-11-24 14:37:45 +01:00
ipack
isa
lm32
m68k hw/core/loader: implement address translation in uimage loader 2014-11-03 00:59:10 +03:00
mem pc: pc-dimm: use backend alignment during address auto allocation 2014-11-23 12:12:46 +02:00
microblaze hw/core/loader: implement address translation in uimage loader 2014-11-03 00:59:10 +03:00
mips mips_mipssim: fix use-after-free for filename 2014-11-17 11:41:03 +01:00
misc
moxie
net virtio-net: fix unmap leak 2014-11-28 10:29:20 +00:00
nvram fw_cfg: fix boot order bug when dynamically modified via QOM 2014-11-26 12:11:27 +01:00
openrisc hw/core/loader: implement address translation in uimage loader 2014-11-03 00:59:10 +03:00
pci pcie: fix improper use of negative value 2014-11-24 20:57:11 +02:00
pci-bridge
pci-host
pcmcia
ppc spapr: Allow dynamic creation of PHB 2014-11-04 23:26:15 +01:00
s390x
scsi vhost: Fix vhostfd leak in error branch 2014-12-01 12:29:35 +00:00
sd
sh4
sparc
sparc64
ssi
timer
tpm
tricore
unicore32
usb hcd-musb: fix dereference null return value 2014-11-17 18:02:31 +01:00
virtio vhost: Fix vhostfd leak in error branch 2014-12-01 12:29:35 +00:00
watchdog
xen
xenpv
xtensa hw/xtensa/xtfpga: treat uImage load address as virtual 2014-11-03 01:00:37 +03:00
Makefile.objs