My initial qemu install of Windows XP was on a virtual 5Gb disk, but this proved too small to when actually needed. Growing the disk size involved
qemu-img resize xp.img +10G then the fun started. To add disk (extend the partition) in Windows XP you need to set the disk as dynamic, but if the dynamic disk is your root partition - it cannot be extended, and once you have set it to dynamic it cannot be reverted.
Luckily I had a copy of the qemu XP image, resized that and then booted Gparted in the VM to extend a Window XP disk that was too small, to 15Gb.
linux rescues windows…
$Id: dates.htm,v 1.1342 2020/03/10 11:14:03 fred Exp $
$Id: diary,v 1.27 2017/09/01 17:12:44 fred Exp $