summaryrefslogtreecommitdiff
path: root/hw/ide/internal.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2012-07-10 11:12:38 +0200
committerKevin Wolf <kwolf@redhat.com>2012-07-17 16:48:30 +0200
commit9139046c16688615023f35668660f6d3947a05d6 (patch)
tree8575e068894f580ccf7c48ee34fcb46df5d9dc75 /hw/ide/internal.h
parente2f3dc2b6a205cf969ba5d1307293db17fd9621f (diff)
downloadqemu-9139046c16688615023f35668660f6d3947a05d6.tar.gz
qemu-9139046c16688615023f35668660f6d3947a05d6.tar.bz2
qemu-9139046c16688615023f35668660f6d3947a05d6.zip
ide pc: Cut out the block layer geometry middleman
PC BIOS setup needs IDE geometry information. Get it directly from the device model rather than through the block layer. In preparation of purging geometry from the block layer, which will happen later in this series. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r--hw/ide/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h
index 1a02f57bf5..56c718ef6b 100644
--- a/hw/ide/internal.h
+++ b/hw/ide/internal.h
@@ -344,7 +344,7 @@ struct IDEState {
uint8_t unit;
/* ide config */
IDEDriveKind drive_kind;
- int cylinders, heads, sectors;
+ int cylinders, heads, sectors, chs_trans;
int64_t nb_sectors;
int mult_sectors;
int identify_set;