diff options
Diffstat (limited to 'hw/block-common.h')
-rw-r--r-- | hw/block-common.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/hw/block-common.h b/hw/block-common.h new file mode 100644 index 0000000000..3a4d4c6292 --- /dev/null +++ b/hw/block-common.h @@ -0,0 +1,21 @@ +/* + * Common code for block device models + * + * Copyright (C) 2012 Red Hat, Inc. + * Copyright (c) 2003-2008 Fabrice Bellard + * + * This work is licensed under the terms of the GNU GPL, version 2 or + * later. See the COPYING file in the top-level directory. + */ + +#ifndef HW_BLOCK_COMMON_H +#define HW_BLOCK_COMMON_H + +#include "qemu-common.h" + +/* Hard disk geometry */ + +void hd_geometry_guess(BlockDriverState *bs, + int *pcyls, int *pheads, int *psecs); + +#endif |