]> Git Repo - qemu.git/blob - hw/block-common.h
hd-geometry: Cut out block layer translation middleman
[qemu.git] / hw / block-common.h
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
18 void hd_geometry_guess(BlockDriverState *bs,
19                        int *pcyls, int *pheads, int *psecs,
20                        int *ptrans);
21
22 #endif
This page took 0.027468 seconds and 4 git commands to generate.