[Qemu-devel] [PATCH 0/2] xen: add block resize infrastructure

Bruce Rogers posted 2 patches 5 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180612235103.12633-1-brogers@suse.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test s390x passed
block/block-backend.c          | 12 +++++++++++-
blockdev.c                     |  8 ++++++++
hw/block/xen_disk.c            | 24 ++++++++++++++++++++++++
include/hw/xen/xen.h           |  4 ++++
include/sysemu/block-backend.h |  2 ++
stubs/xen-common.c             |  9 +++++++++
6 files changed, 58 insertions(+), 1 deletion(-)
[Qemu-devel] [PATCH 0/2] xen: add block resize infrastructure
Posted by Bruce Rogers 5 years, 10 months ago
Resizing a disk on the fly is useful, including for Xen guests.
Xen has this capability, except in the case of qdisks (Xen QEMU disks).
This patch series intends to provide this capability. With these
patches, the xl command "qemu-monitor-command" can be used in
conjunction with the "info block" and "block_resize" commands to help
identify and then resize a Xen qdisk. It is anticipated that Xen's
libxl will be extended to handle qdisk resizing without resorting to
using the human monitor in this way, with libvirt support eventually
building on top of that.

Bruce Rogers (2):
  xen: add xen disk naming for use in monitor
  xen: add block resize support for xen disks

 block/block-backend.c          | 12 +++++++++++-
 blockdev.c                     |  8 ++++++++
 hw/block/xen_disk.c            | 24 ++++++++++++++++++++++++
 include/hw/xen/xen.h           |  4 ++++
 include/sysemu/block-backend.h |  2 ++
 stubs/xen-common.c             |  9 +++++++++
 6 files changed, 58 insertions(+), 1 deletion(-)

-- 
2.17.1