]> git.proxmox.com Git - qemu.git/blame - hw/block-common.h
qdev: Introduce block geometry properties
[qemu.git] / hw / block-common.h
CommitLineData
9db1c0f7
MA
1/*
2 * Common code for block device models
3 *
4 * Copyright (C) 2012 Red Hat, Inc.
5 * Copyright (c) 2003-2008 Fabrice Bellard
6 *
7 * This work is licensed under the terms of the GNU GPL, version 2 or
8 * later. See the COPYING file in the top-level directory.
9 */
10
11#ifndef HW_BLOCK_COMMON_H
12#define HW_BLOCK_COMMON_H
13
14#include "qemu-common.h"
15
16/* Hard disk geometry */
17
18void hd_geometry_guess(BlockDriverState *bs,
e2f3dc2b
MA
19 int *pcyls, int *pheads, int *psecs,
20 int *ptrans);
9db1c0f7
MA
21
22#endif