Skip to content

qga: Implement shutdown/network-get-interfaces on Solaris

Andrew Deason qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyIn review
  2. v25 patches 2 repliesSuperseded
  3. v13 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- No changes, just updating to newer master

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5qga/commands-posix: Use getifaddrs when availablemeson.build qga/commands-posix.c+246 -2290 replies
2/5qga/commands-posix: Fix iface hw address detectionqga/commands-posix.c+24 -150 replies
3/5qga/commands-posix: Fix listing ifaces for Solarisqga/commands-posix.c+6 -10 replies
4/5qga/commands-posix: Log all net stats failuresqga/commands-posix.c+5 -10 replies
5/5qga/commands-posix: 'guest-shutdown' for Solarisqga/commands-posix.c+18 -30 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMichal PrivoznikMarc-André Lureau
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] qga: Implement shutdown/network-get-interfaces on Solaris

This implements the guest agent commands guest-network-get-interfaces and guest-shutdown on Solaris. The implementation for these on Solaris is very similar as on Linux, since both platforms have a similar getifaddrs() and a 'shutdown' command.

Changes since v2:
- No changes, just updating to newer master

Changes since v1:
- Add debug messages for failing to get network iface stats
- Add implementation for 'guest-shutdown'

Andrew Deason (5):
qga/commands-posix: Use getifaddrs when available qga/commands-posix: Fix iface hw address detection qga/commands-posix: Fix listing ifaces for Solaris qga/commands-posix: Log all net stats failures qga/commands-posix: 'guest-shutdown' for Solaris

 meson.build          |   1 +
 qga/commands-posix.c | 513 ++++++++++++++++++++++++++++-----------------------
 2 files changed, 282 insertions(+), 232 deletions(-)
Signature · 1 line
2.11.0