qemu-patch-raspberry4/hw/ide
Markus Armbruster 6e6f61a66a ide: qdev property for BIOS CHS translation
This isn't quite orthodox.  CHS translation is firmware configuration,
communicated via the RTC's CMOS RAM, not a property of the disk.  But
it's best to treat it just like geometry anyway.

Maintain backward compatibility exactly like for geometry: fall back
to DriveInfo's translation, set with -drive trans=...

Bonus: info qtree now shows the translation.  Except when it shows
"auto": that's resolved by pc_cmos_init_late().  To be addressed
shortly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-07-17 16:48:31 +02:00
..
ahci.c ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
ahci.h ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
atapi.c atapi: implement READ DISC INFORMATION 2012-07-02 10:18:41 +02:00
cmd646.c Add missing const attributes for MemoryRegionOps 2012-03-11 11:40:15 +00:00
core.c ide: qdev properties for disk geometry 2012-07-17 16:48:31 +02:00
ich.c ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
internal.h ide: qdev property for BIOS CHS translation 2012-07-17 16:48:31 +02:00
isa.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
macio.c iommu: Make sglists and dma_bdrv helpers use new universal DMA helpers 2012-06-27 16:33:25 -05:00
Makefile.objs build: convert libhw to nested Makefile.objs 2012-06-07 09:21:17 +02:00
microdrive.c hw: Trim superfluous #include "block_int.h" 2011-09-12 15:17:21 +02:00
mmio.c ide/mmio: convert to memory API 2011-11-24 18:31:59 +02:00
pci.c ide: fix compilation errors when DEBUG_IDE is set 2012-02-10 10:44:52 +00:00
pci.h ide: convert to memory API 2011-08-08 10:15:54 -05:00
piix.c Un-inline fdctrl_init_isa() 2012-06-15 14:03:42 +02:00
qdev.c ide: qdev property for BIOS CHS translation 2012-07-17 16:48:31 +02:00
via.c Add missing const attributes for MemoryRegionOps 2012-03-11 11:40:15 +00:00