Juan, you've complained a few times in the past about how complicated the qcow_create2 code was. I hope you'll like this one. :-)
Kevin Wolf (2): qcow2: Simplify image creation qcow2: Remove old image creation function block/qcow2.c | 272 ++++++++++++++++++--------------------------------------- 1 files changed, 86 insertions(+), 186 deletions(-)