|
@@ -155,6 +155,8 @@ int qemu_strtosz(const char *nptr, const char **end, uint64_t *result);
|
|
int qemu_strtosz_MiB(const char *nptr, const char **end, uint64_t *result);
|
|
int qemu_strtosz_MiB(const char *nptr, const char **end, uint64_t *result);
|
|
int qemu_strtosz_metric(const char *nptr, const char **end, uint64_t *result);
|
|
int qemu_strtosz_metric(const char *nptr, const char **end, uint64_t *result);
|
|
|
|
|
|
|
|
+char *size_to_str(uint64_t val);
|
|
|
|
+
|
|
/* used to print char* safely */
|
|
/* used to print char* safely */
|
|
#define STR_OR_NULL(str) ((str) ? (str) : "null")
|
|
#define STR_OR_NULL(str) ((str) ? (str) : "null")
|
|
|
|
|