So I just tried this to double check, here is what I did:
- Start a kubevirtci cluster and installed the head of main on it.
- Enabled the hotplug feature gate
- Started an ephemeral VMI (examples/vmi-fedora)
- Created a blank datavolume
- Added the volume to the running VMI (this then actually creates the disk,img file on the host)
- Verified that the volume was attached and accessible inside the VM
- Looked up on the host where the disk.img resides.
- killed the VMI pod with --force and --grace-period=0
- Verified that the disk.img still exists on the host.
What did I not do that you did to get the behavior you are seeing?