[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] Fix size default for qemu-img
From: |
Jes . Sorensen |
Subject: |
[Qemu-devel] [PATCH 0/2] Fix size default for qemu-img |
Date: |
Thu, 9 Dec 2010 12:54:03 +0100 |
From: Jes Sorensen <address@hidden>
Kevin pointed out that my chance to img_create()'s handling of the
image size, changed the previous default of byte for size if no suffix
was specified, since strtosz() defaults to MB.
This patch set introduces strtosz_suffix() and then changes
img_create() to use that instead, thereby restoring the old default
behavior.
Jes Sorensen (2):
Introduce strtosz_suffix()
Make img_create() use strtosz_suffix()
cutils.c | 17 ++++++++++++++---
qemu-common.h | 7 +++++++
qemu-img.c | 2 +-
3 files changed, 22 insertions(+), 4 deletions(-)
--
1.7.3.2
- [Qemu-devel] [PATCH 0/2] Fix size default for qemu-img,
Jes . Sorensen <=