]> Git Repo - qemu.git/commit - util/cutils.c
util/cutils: Return qemu_strtosz*() error and value separately
authorMarkus Armbruster <[email protected]>
Tue, 21 Feb 2017 20:14:06 +0000 (21:14 +0100)
committerMarkus Armbruster <[email protected]>
Thu, 23 Feb 2017 19:35:36 +0000 (20:35 +0100)
commitf17fd4fdf0df3d2f3444399d04c38d22b9a3e1b7
tree65d92c1363f1c071214779eee670185ff31094e7
parent4fcdf65ae2c00ae69f7625f26ed41f37d77b403c
util/cutils: Return qemu_strtosz*() error and value separately

This makes qemu_strtosz(), qemu_strtosz_mebi() and
qemu_strtosz_metric() similar to qemu_strtoi64(), except negative
values are rejected.

Cc: Dr. David Alan Gilbert <[email protected]>
Cc: Eduardo Habkost <[email protected]> (maintainer:X86)
Cc: Kevin Wolf <[email protected]> (supporter:Block layer core)
Cc: Max Reitz <[email protected]> (supporter:Block layer core)
Cc: [email protected] (open list:Block layer core)
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Message-Id: <1487708048[email protected]>
hmp.c
hw/misc/ivshmem.c
include/qemu/cutils.h
monitor.c
qapi/opts-visitor.c
qemu-img.c
qemu-io-cmds.c
target/i386/cpu.c
tests/test-cutils.c
util/cutils.c
This page took 0.029401 seconds and 4 git commands to generate.