From: Peter Lieven <address@hidden>
relaxing the license to LGPLv2+ is intentional.
Suggested-by: Markus Armbruster <address@hidden>
Signed-off-by: Hu Tao <address@hidden>
Signed-off-by: Peter Lieven <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Benoit Canet <address@hidden>
---
blockdev.c | 30 ++++++------------------------
include/qapi/util.h | 17 +++++++++++++++++
qapi/Makefile.objs | 1 +
qapi/qapi-util.c | 34 ++++++++++++++++++++++++++++++++++
4 files changed, 58 insertions(+), 24 deletions(-)
create mode 100644 include/qapi/util.h
create mode 100644 qapi/qapi-util.c