libvirt: set discard before appending