diff options
| author | Sam Eiderman | 2019-10-16 18:41:39 +0200 |
|---|---|---|
| committer | John Snow | 2019-10-31 16:47:11 +0100 |
| commit | 64c5bb83df51bc40bf9da5075709b270b86f66e3 (patch) | |
| tree | f2e68b875bad839ec50414f3de81da5cff5194e7 /net/netmap.c | |
| parent | block: Refactor macros - fix tabbing (diff) | |
| download | qemu-64c5bb83df51bc40bf9da5075709b270b86f66e3.tar.gz qemu-64c5bb83df51bc40bf9da5075709b270b86f66e3.tar.xz qemu-64c5bb83df51bc40bf9da5075709b270b86f66e3.zip | |
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 'net/netmap.c')
0 files changed, 0 insertions, 0 deletions
