[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/1] qga/linux: Add new api 'guest-network-get-route'
|
From: |
Dehan Meng |
|
Subject: |
[PATCH 1/1] qga/linux: Add new api 'guest-network-get-route' |
|
Date: |
Fri, 24 Nov 2023 11:39:45 +0800 |
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 | 78 ++++++++++++++++++++++++++++++++++++++++++
qga/commands-win32.c | 6 ++++
qga/qapi-schema.json | 80 ++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 164 insertions(+)
--
2.35.1
- [PATCH 1/1] qga/linux: Add new api 'guest-network-get-route',
Dehan Meng <=