Description of problem: At present, we can only do offline block resizing via another a virsh command/API(vol-resize) not blockresize. if we can reuse vol-resize underlying codes/implementation the provides a unifying user view/interface, it will be great. Version-Release number of selected component (if applicable): # rpm -q libvirt qemu-kvm-rhev libvirt-0.9.10-14.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.285.el6.x86_64 How reproducible: always. Steps to Reproduce: # virsh blockresize test /var/lib/libvirt/images/test 10M error: Failed to resize block device '/var/lib/libvirt/images/test' error: Requested operation is not valid: domain is not running Actual results: "error: Requested operation is not valid: domain is not running" Expected results: Support offline blockresize. Additional info: Eric has help me confirm the issue.
We have volresize, that's enough for apps to handle this