From 4dbb0f5006c7a729e20199f08a9d338b11f61fef Mon Sep 17 00:00:00 2001 From: ths Date: Fri, 5 Jan 2007 18:58:34 +0000 Subject: Fix for hard disk translation hints, by Volker Ruppert. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2297 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'vl.h') diff --git a/vl.h b/vl.h index 9d95494..1c58406 100644 --- a/vl.h +++ b/vl.h @@ -616,9 +616,11 @@ void bdrv_flush(BlockDriverState *bs); #define BDRV_TYPE_HD 0 #define BDRV_TYPE_CDROM 1 #define BDRV_TYPE_FLOPPY 2 -#define BIOS_ATA_TRANSLATION_AUTO 0 -#define BIOS_ATA_TRANSLATION_NONE 1 -#define BIOS_ATA_TRANSLATION_LBA 2 +#define BIOS_ATA_TRANSLATION_AUTO 0 +#define BIOS_ATA_TRANSLATION_NONE 1 +#define BIOS_ATA_TRANSLATION_LBA 2 +#define BIOS_ATA_TRANSLATION_LARGE 3 +#define BIOS_ATA_TRANSLATION_RECHS 4 void bdrv_set_geometry_hint(BlockDriverState *bs, int cyls, int heads, int secs); -- cgit v1.1