diff options
author | Klim Kireev <klim.kireev@virtuozzo.com> | 2018-01-12 12:01:21 +0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2018-01-22 14:02:33 +0000 |
commit | 908b1c848e57ef14f17a5540e11aa9eb16219d66 (patch) | |
tree | 74a757d0f337eb5182d183d946fab1a6133b68d8 /block/parallels.h | |
parent | 90fe66f046d863363cfffcda05235ed610f6b5ef (diff) | |
download | qemu-908b1c848e57ef14f17a5540e11aa9eb16219d66.zip qemu-908b1c848e57ef14f17a5540e11aa9eb16219d66.tar.gz qemu-908b1c848e57ef14f17a5540e11aa9eb16219d66.tar.bz2 |
block/parallels: replace some magic numbers
Signed-off-by: Klim Kireev <klim.kireev@virtuozzo.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com>
Message-id: 20180112090122.1702-5-klim.kireev@virtuozzo.com
CC: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/parallels.h')
-rw-r--r-- | block/parallels.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/parallels.h b/block/parallels.h index 71183c0..4b04407 100644 --- a/block/parallels.h +++ b/block/parallels.h @@ -34,6 +34,8 @@ #include "qemu/coroutine.h" #include "qemu/typedefs.h" +#define HEADS_NUMBER 16 +#define SEC_IN_CYL 32 #define DEFAULT_CLUSTER_SIZE 1048576 /* 1 MiB */ /* always little-endian */ |