All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] qga: add command guest-get-disks
@ 2020-10-07  7:46 Tomáš Golembiovský
  2020-10-07  7:46 ` [PATCH v3 1/3] " Tomáš Golembiovský
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tomáš Golembiovský @ 2020-10-07  7:46 UTC (permalink / raw)
  To: qemu-devel
  Cc: Daniel P. Berrangé, Michael Roth, Yonggang Luo,
	Tomáš Golembiovský, Marc-André Lureau,
	Philippe Mathieu-Daudé

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.

v3:
- renamed "slaves" field to "dependents"
- comments from Marc and Daniel
- 2/3: factored out pieces of code into separate functions

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 | 287 ++++++++++++++++++++++++++++++++++++++++++-
 qga/commands-win32.c |  92 ++++++++++++++
 qga/qapi-schema.json |  31 +++++
 3 files changed, 407 insertions(+), 3 deletions(-)

-- 
2.28.0



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

end of thread, other threads:[~2020-10-07 15:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-07  7:46 [PATCH v3 0/3] qga: add command guest-get-disks Tomáš Golembiovský
2020-10-07  7:46 ` [PATCH v3 1/3] " Tomáš Golembiovský
2020-10-07  7:46 ` [PATCH v3 2/3] qga: add implementation of guest-get-disks for Linux Tomáš Golembiovský
2020-10-07  8:13   ` Marc-André Lureau
2020-10-07  7:46 ` [PATCH v3 3/3] qga: add implementation of guest-get-disks for Windows Tomáš Golembiovský
2020-10-07  8:20   ` Marc-André Lureau
2020-10-07 15:15     ` Tomáš Golembiovský

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.