diff options
author | Stefan Weil <stefan@kiwi.(none)> | 2013-02-07 20:26:52 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-11 08:14:41 -0600 |
commit | f880defbb06708d30a38ce9f2667067626acdd38 (patch) | |
tree | 2a9ba716053aab8888be44b39e4fc2678a403f2e /tests/libqtest.h | |
parent | 2c5a7f20112615ce13a3434ab90bee1ed8d44ebd (diff) |
block/vpc: Fix size calculation
The size calculated from the CHS values is not the real image (disk) size,
but usually a smaller value. This is caused by rounding effects.
Only older operating systems use CHS. Such guests won't be able to use
the whole disk. All modern operating systems use the real size.
This patch fixes https://bugs.launchpad.net/qemu/+bug/1105670/.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-id: 1360265212-22037-1-git-send-email-sw@weilnetz.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tests/libqtest.h')
0 files changed, 0 insertions, 0 deletions