qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Tomáš Golembiovský" <tgolembi@redhat.com>
To: Michael Roth <mdroth@linux.vnet.ibm.com>,
	Thomas Huth <thuth@redhat.com>,
	qemu-devel@nongnu.org
Cc: "Tomáš Golembiovský" <tgolembi@redhat.com>
Subject: [PATCH v2 0/3] qga: add command guest-get-disk
Date: Mon,  7 Sep 2020 11:14:39 +0200	[thread overview]
Message-ID: <cover.1599470071.git.tgolembi@redhat.com> (raw)

Adds command to list disks of the VM.

The patch does compile on master but to work properly it requires changes to
qemu-ga by Thomas Huth in series: Allow guest-get-fsinfo also for non-PCI
devices.

v2:
- added new struct in API to handle the information
- split changes into several patches
- for Linux list also slaves, partitions and virtual disks so that the disk
  hierarchy is preserved
- fixed issues pointed out by Michael

Tomáš Golembiovský (3):
  qga: add command guest-get-disks
  qga: add implementation of guest-get-disks for Linux
  qga: add implementation of guest-get-disks for Windows

 qga/commands-posix.c | 241 ++++++++++++++++++++++++++++++++++++++++++-
 qga/commands-win32.c |  91 ++++++++++++++++
 qga/qapi-schema.json |  29 ++++++
 3 files changed, 360 insertions(+), 1 deletion(-)

-- 
2.25.0



             reply	other threads:[~2020-09-07  9:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07  9:14 Tomáš Golembiovský [this message]
2020-09-07  9:14 ` [PATCH v2 1/3] qga: add command guest-get-disks Tomáš Golembiovský
2020-09-07  9:32   ` Philippe Mathieu-Daudé
2020-09-29 15:22   ` Marc-André Lureau
2020-10-06  8:36   ` Daniel P. Berrangé
2020-10-06 13:53     ` Tomáš Golembiovský
2020-10-06 13:56       ` Daniel P. Berrangé
2020-09-07  9:14 ` [PATCH v2 2/3] qga: add implementation of guest-get-disks for Linux Tomáš Golembiovský
2020-09-29 15:22   ` Marc-André Lureau
2020-10-06  8:31     ` Tomáš Golembiovský
2020-10-06  8:40       ` Marc-André Lureau
2020-10-06  8:54   ` Daniel P. Berrangé
2020-09-07  9:14 ` [PATCH v2 3/3] qga: add implementation of guest-get-disks for Windows Tomáš Golembiovský
2020-09-07  9:31   ` Philippe Mathieu-Daudé
2020-09-29 15:31   ` Marc-André Lureau
2020-09-25  8:32 ` [PATCH v2 0/3] qga: add command guest-get-disk Tomáš Golembiovský

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=cover.1599470071.git.tgolembi@redhat.com \
    --to=tgolembi@redhat.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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).