Checkpoint creation fails with: internal error: missing creationTime from existing checkpoint

hi,

not sure if i got things wrong here, but attempting to create an checkpoint for a running domain fails for me with "virError(Code=1, Domain=69, Message='internal error: missing creationTime from existing checkpoint')"

No prior checkpoint exists for VM, code simple as:

 cpt, err := domain.CreateCheckpointXML(
     `<domaincheckpoint>
      <description>test</description>
      <name>watch</name>
      <disks>
         <disk name='sda'/>
      </disks>
     </domaincheckpoint>`,
     libvirt.DomainCheckpointCreateFlags(libvirt.DOMAIN_CHECKPOINT_CREATE_REDEFINE),
 )
 if err != nil {
    log.Fatal(err)
 }

libvirt 7.0.0 (debian bullseye).

It works if XML description passed is extended with creationTime flag, but then the bitmap tied to the checkpoint is not existant in the qcow image (seems only checkpoint metadata is created on libvirt side?) Attempting the to remove the created checkpoint then fails via:

virsh checkpoint-delete --domain vm1 --checkpointname watch 
error: Failed to delete checkpoint watch
error: internal error: bitmap '(null)' not found in backing chain of 'sda'
Edited by Michael Ablassmeier