qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/1] qga/linux: Add new api 'guest-network-get-route'
@ 2024-06-12  4:35 Dehan Meng
  2024-06-12  4:35 ` [PATCH v4 1/1] " Dehan Meng
  2024-06-12  7:29 ` [PATCH v4 0/1] " Konstantin Kostiuk
  0 siblings, 2 replies; 4+ messages in thread
From: Dehan Meng @ 2024-06-12  4:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: demeng, kkostiuk, michael.roth

v3 -> v4
- Fix some indentation issues
- Update 'Since 8.2' to 'Since 9.1'
- Remove useless enum and adjust this change.

v2 -> v3
- Remove this declaration and make the function 'hexToIPAddress' as static.
- Define 'IFNAMSIZ' from kernel instead of a hardcode
- Remove 'GUEST_NETWORK_ROUTE_TYPE_LINUX'
- Set flags 'has_xxx' for checking if a field exists or has a value set

v1 -> v2
- Replace snprintf() to g_strdup_printf() to avoid memory problems.
- Remove the parameter 'char ipAddress[16]' in function 'char *hexToIPAddress()'.
- Add a piece of logic to skip traversing the first line of the file

Dehan Meng (1):
  qga/linux: Add new api 'guest-network-get-route'

 qga/commands-posix.c | 73 ++++++++++++++++++++++++++++++++++++++++++++
 qga/commands-win32.c |  6 ++++
 qga/qapi-schema.json | 68 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 147 insertions(+)

-- 
2.40.1



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

end of thread, other threads:[~2024-06-12  7:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12  4:35 [PATCH v4 0/1] qga/linux: Add new api 'guest-network-get-route' Dehan Meng
2024-06-12  4:35 ` [PATCH v4 1/1] " Dehan Meng
2024-06-12  7:31   ` Konstantin Kostiuk
2024-06-12  7:29 ` [PATCH v4 0/1] " Konstantin Kostiuk

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