Skip to content

qga: report serial number and disk node

Tomáš Golembiovský qemu-devel 5 versions – Applied

Status from this message: Thanks, applied to qga tree with some small fix-ups:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest14 patches 2 repliesApplied
  2. v411 patches 19 repliesSuperseded
  3. v35 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches4 repliesSuperseded
v14 patches2 repliesSuperseded

Changes in v5 from the cover letter

- return -1 in PCI info

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/14configure: add test for libudevconfigure+22 -00 replies
2/14qga: linux: report disk serial numberqga/Makefile.objs qga/commands-posix.c qga/qapi-schema.json+34 -30 replies
3/14qga: linux: return disk device in guest-get-fsinfoqga/commands-posix.c qga/qapi-schema.json+8 -20 replies
4/14qga-win: prevent crash when executing fsinfo commandqga/commands-win32.c+5 -10 replies
5/14qga-win: fsinfo: pci-info: allow partial infoqga/commands-win32.c+9 -80 replies
6/14*additonal fixup for NULL pci_controller fieldqga/commands-win32.c+4 -30 replies
7/14build: rename CONFIG_QGA_NTDDDISK to CONFIG_QGA_NTDDSCSIconfigure+1 -10 replies
8/14qga-win: add debugging informationdtc qga/commands-win32.c+16 -10 replies
9/14qga-win: refactor disk properties (bus)qga/commands-win32.c+27 -170 replies
10/14qga-win: report disk serial numberqga/commands-win32.c+25 -00 replies
11/14qga-win: refactor disk infoqga/commands-win32.c+40 -180 replies
12/14qga-win: handle multi-disk volumesqga/commands-win32.c+108 -180 replies
13/14qga-win: return disk device in guest-get-fsinfoqga/commands-win32.c+11 -100 replies
14/14qga-win: demystify namespace strippingqga/commands-win32.c+9 -10 replies

Reviews trailers per patch

4 of 14 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéMarc-André LureauSameeh Jubran
1/14R-b
2/14
3/14
4/14R-b
5/14
6/14
7/14R-b R-b
8/14R-b
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [Qemu-devel] [PATCH v5 00/14] qga: report serial number and disk node

Note that PCI controller reporting on Windows was and still is broken. Unfortunately I don't know how to fix it at the momemnt. See commit message and code comment. If anyone has environment where the original code works let me know. CCing author of the code In case I missed something obvious.

v5:
- return -1 in PCI info

    I have cherry-picked three commits from Sameeh Jubran and Michael Roth:
    https://github.com/mdroth/qemu/commit/89f145d7e90d721dbc7c9d0082e564bad7e88247
    https://github.com/mdroth/qemu/commit/d5f5f7e7dc265a9e62e5f4c2ee342ab7e56cca53
    https://github.com/mdroth/qemu/commit/201db36b56d7d1ba5ff720eedcb3b62b75306fde

- remove == TRUE from if-conditions
- separate Linux and Windows changes so that the Linux part can be pushed independently; the relevant commits are ordered first.
- fixed several typos

v4:
- split changes into more patches
- fixed UNC for physical drive to use device namespace
- renamed g_debug_err() to debug_error()
- fixed build without libudev

v3:
- fix typos
- add configure test for libudev
- change order of patches fixing PCI controller info and build fix to avoid exposing broken code
- split reporting of serial number and device node into two separate patches

v2:
- fix checkpatch error

Michael Roth (1):
*additonal fixup for NULL pci_controller field

Sameeh Jubran (2):
qga-win: prevent crash when executing fsinfo command
qga-win: fsinfo: pci-info: allow partial info

Tomáš Golembiovský (11):
configure: add test for libudev
qga: linux: report disk serial number
qga: linux: return disk device in guest-get-fsinfo
build: rename CONFIG_QGA_NTDDDISK to CONFIG_QGA_NTDDSCSI
qga-win: add debugging information
qga-win: refactor disk properties (bus)
qga-win: report disk serial number
qga-win: refactor disk info
qga-win: handle multi-disk volumes
qga-win: return disk device in guest-get-fsinfo
qga-win: demystify namespace stripping

 configure            |  24 +++-
 dtc                  |   2 +-
 qga/Makefile.objs    |   1 +
 qga/commands-posix.c |  37 +++++-
 qga/commands-win32.c | 269 +++++++++++++++++++++++++++++++++++--------
 qga/qapi-schema.json |   5 +-
 6 files changed, 287 insertions(+), 51 deletions(-)
Signature · 1 line
2.19.0