Bug 478856

Summary: qcow2 images display as virtual size instead of actual disk size, resulting in low disk space
Product: [Frameworks and Libraries] frameworks-kio Reporter: Henning <boredsquirrel>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null, nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henning 2023-12-21 23:01:54 UTC
I have a lot of VMs that each have large virtual Disk sizes, because that is graphically the biggest size the VM can have, overshooting here is not possible.

But in KDE dolphin and Filelight, the qcow2 images are displayed as having their full size, meaning I now have 200GB less, which is quite dramatic.

I guess "qemu-img" would need to be queried somehow, to read its "disk size" value?

Not sure where to place this bug

qemu-8.1.3-1.fc39.x86_64

--- Software ---  
OS: Fedora Linux 39.20231221.0 (Kinoite) 
KDE Plasma: 5.27.10 
KDE Frameworks: 5.111.0 
Qt: 5.15.11 
Kernel: 6.6.6-200.fc39.x86_64