Skip to content
  • Kevin Wolf's avatar
    qcow2: Simplify image creation · a9420734
    Kevin Wolf authored
    
    
    Instead of doing lots of magic for setting up initial refcount blocks and stuff
    create a minimal (inconsistent) image, open it and initialize the rest with
    regular qcow2 functions.
    
    This is a complete rewrite of the image creation function. The old
    implementating is #ifdef'd out and will be removed by the next patch (removing
    it here would have made the diff unreadable because diff tries to find
    similarities when it's really a rewrite)
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    a9420734