We only use it for int64 at this point, I am not able to find a way to
parse an int with MiB units.
Signed-off-by: Juan Quintela
Reviewed-by: Markus Armbruster
---
hmp.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/hmp.c
We only use it for int64 at this point, I am not able to find a way to
parse an int with MiB units.
Signed-off-by: Juan Quintela
Reviewed-by: Markus Armbruster
---
hmp.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/hmp.c
Juan Quintela writes:
> We only use it for int64 at this point, I am not able to find a way to
> parse an int with MiB units.
Use the string input visitor and visit_type_size() to parse with unit
suffixes. The problem is hmp_migrate_set_parameter() wants "no suffix"
to
We only use it for int64 at this point, I am not able to find a way to
parse an int with MiB units.
Signed-off-by: Juan Quintela
---
hmp.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/hmp.c b/hmp.c
index b9dd933..acbbc5c 100644
--- a/hmp.c