aboutsummaryrefslogtreecommitdiff
path: root/bootdevice.c
diff options
context:
space:
mode:
authorSam Eiderman <shmuel.eiderman@oracle.com>2019-10-16 19:41:39 +0300
committerJohn Snow <jsnow@redhat.com>2019-10-31 11:47:11 -0400
commit64c5bb83df51bc40bf9da5075709b270b86f66e3 (patch)
treef2e68b875bad839ec50414f3de81da5cff5194e7 /bootdevice.c
parent8e6a1749373b49f781d744375e6e280f4686f1da (diff)
downloadqemu-64c5bb83df51bc40bf9da5075709b270b86f66e3.zip
qemu-64c5bb83df51bc40bf9da5075709b270b86f66e3.tar.gz
qemu-64c5bb83df51bc40bf9da5075709b270b86f66e3.tar.bz2
block: Support providing LCHS from user
Add logical geometry variables to BlockConf. A user can now supply "lcyls", "lheads" & "lsecs" for any HD device that supports CHS ("cyls", "heads", "secs"). These devices include: * ide-hd * scsi-hd * virtio-blk-pci In future commits we will use the provided LCHS and pass it to the BIOS through fw_cfg to be supplied using INT13 routines. Reviewed-by: Karl Heubaum <karl.heubaum@oracle.com> Reviewed-by: Arbel Moshe <arbel.moshe@oracle.com> Signed-off-by: Sam Eiderman <shmuel.eiderman@oracle.com> Signed-off-by: Sam Eiderman <sameid@google.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'bootdevice.c')
0 files changed, 0 insertions, 0 deletions