qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Bruce Rogers <brogers@suse.com>
To: qemu-devel@nongnu.org, qemu-block@nongnu.org
Cc: sstabellini@kernel.org, anthony.perard@citrix.com,
	kwolf@redhat.com, mreitz@redhat.com, armbru@redhat.com
Subject: [Qemu-devel] [PATCH 0/2] xen: add block resize infrastructure
Date: Tue, 12 Jun 2018 17:51:01 -0600	[thread overview]
Message-ID: <20180612235103.12633-1-brogers@suse.com> (raw)

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

             reply	other threads:[~2018-06-12 23:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-12 23:51 Bruce Rogers [this message]
2018-06-12 23:51 ` [Qemu-devel] [PATCH 1/2] xen: add xen disk naming for use in monitor Bruce Rogers
2018-06-13 11:46   ` Anthony PERARD
2018-06-13 12:13     ` Bruce Rogers
2018-06-12 23:51 ` [Qemu-devel] [PATCH 2/2] xen: add block resize support for xen disks Bruce Rogers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180612235103.12633-1-brogers@suse.com \
    --to=brogers@suse.com \
    --cc=anthony.perard@citrix.com \
    --cc=armbru@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sstabellini@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).