qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] qga: add command guest-get-disk
@ 2020-09-07  9:14 Tomáš Golembiovský
  2020-09-07  9:14 ` [PATCH v2 1/3] qga: add command guest-get-disks Tomáš Golembiovský
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Tomáš Golembiovský @ 2020-09-07  9:14 UTC (permalink / raw)
  To: Michael Roth, Thomas Huth, qemu-devel; +Cc: Tomáš Golembiovský

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



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-10-06 13:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-07  9:14 [PATCH v2 0/3] qga: add command guest-get-disk Tomáš Golembiovský
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ý

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).