As titled I learn some info about qcow2 and tried to write some data and make it qualified for qcow2 format.
I do it and mount through qemu-nbd successfully. But I don't know how taking snapshot and backing file works in programming way. Can someone tell me some tutorial to know or code snippets to learn? thx