|
From: | Richard W.M. Jones |
Subject: | Re: [Qemu-discuss] [kubevirt-dev] Re: Converting qcow2 image on the fly to raw format |
Date: | Thu, 19 Jul 2018 20:27:24 +0100 |
User-agent: | Mutt/1.5.21 (2010-09-15) |
This is the code in libguestfs if you prefer something in C: https://github.com/libguestfs/libguestfs/blob/3a87c4bb441430c9cef9223e67d10bf51a4e865c/lib/info.c#L150-L160 https://github.com/libguestfs/libguestfs/blob/3a87c4bb441430c9cef9223e67d10bf51a4e865c/lib/command.c#L585-L600 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
[Prev in Thread] | Current Thread | [Next in Thread] |