[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/3] qga: add command guest-get-disks
From: |
Tomáš Golembiovský |
Subject: |
[PATCH v4 0/3] qga: add command guest-get-disks |
Date: |
Mon, 12 Oct 2020 10:36:00 +0200 |
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.
v4:
- 2/3: don't leak syspath in build_guest_fsinfo_for_device()
- 3/3:
- added ERRP_GUARD
- don't loop forever when qga fails to get device information details
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 | 290 ++++++++++++++++++++++++++++++++++++++++++-
qga/commands-win32.c | 101 +++++++++++++++
qga/qapi-schema.json | 31 +++++
3 files changed, 417 insertions(+), 5 deletions(-)
--
2.28.0
- [PATCH v4 0/3] qga: add command guest-get-disks,
Tomáš Golembiovský <=