This patch series introduce new API "virDomainBlockResize" to expose
qemu monitor command "block_size", which is for resizing the a block
device while the domain is running.
The prototype for the new API is:
int
virDomainBlockResize (virDomainPtr dom,
const char *disk,
unsigned long long size,
unsigned int flags)
* "@disk" is the absolute source path or device target shorthand of
the block device.
* The units for "@size" is kilobytes.
* "@flags" is unused currently.
[PATCH 1/5] block_resize: Define the new API
[PATCH 2/5] block_resize: Wire up the remote protocol
[PATCH 3/5] block_resize: Implement qemu monitor functions
[PATCH 4/5] block_resize: Implement qemu driver method
[PATCH 5/5] block_resize: Expose the new API to virsh
v1:
http://www.redhat.com/archives/libvir-list/2011-July/msg01788.html
v1 ~ v2:
* Nearly just rebasing, with small improvements, nothing new except
updating the API definitions to be consistent with commit 3ac26e26.
Regards,
Osier