The Route information of the Linux VM needs to be used
by administrators and users when debugging network problems
and troubleshooting.
Signed-off-by: Dehan Meng
---
qga/commands-posix.c | 81
qga/commands-win32.c | 6
qga/qapi-schema.json | 80
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:
QE tested this series's patches. qga-related commands worked successfully.
Tested-by: Dehan Meng
On Mon, Mar 4, 2024 at 8:00 PM Konstantin Kostiuk
wrote:
> For series
> Reviewed-by: Konstantin Kostiuk
>
> On Fri, Mar 1, 2024 at 7:29 PM Andrey Drobyshev <
> andrey.
Add support of Windows Server 2025 in get-osinfo command
Signed-off-by: Dehan Meng
---
qga/commands-win32.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 697c65507c..f3c7e604c9 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
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 &
The Route information of the Linux VM needs to be used
by administrators and users when debugging network problems
and troubleshooting.
Signed-off-by: Dehan Meng
---
qga/commands-posix.c | 78 ++
qga/commands-win32.c | 6
qga/qapi-schema.json | 80
v1 -> v2
update the array size "WIN_10_0_SERVER_VERSION_MATRIX" in case
array out of range elements.
Dehan Meng (1):
qga-win: Add support of Windows Server 2025 in get-osinfo command
qga/commands-win32.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.35.1
Add support of Windows Server 2025 in get-osinfo command
Signed-off-by: Dehan Meng
---
qga/commands-win32.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 697c65507c..b37fa7b5ba 100644
--- a/qga/commands-win32.c
+++ b/qga
Add support of Windows Server 2025 in get-osinfo command
Signed-off-by: Dehan Meng
---
qga/commands-win32.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 697c65507c..b37fa7b5ba 100644
--- a/qga/commands-win32.c
+++ b/qga
v1 -> v2
update the array size "WIN_10_0_SERVER_VERSION_MATRIX" in case
array out of range elements.
Dehan Meng (1):
qga-win: Add support of Windows Server 2025 in get-osinfo command
qga/commands-win32.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.35.1
Done. thanks.
On Wed, Feb 21, 2024 at 6:00 PM Konstantin Kostiuk
wrote:
>
>
> On Wed, Feb 21, 2024 at 11:51 AM Dehan Meng wrote:
>
>> Add support of Windows Server 2025 in get-osinfo command
>>
>> Signed-off-by: Dehan Meng
>> ---
>> qga/commands-win
QE tested this series's patches. SSH-relevant commands work and
password-free login can be achieved.
Tested-by: Dehan Meng
On Tue, Apr 23, 2024 at 11:03 PM wrote:
> From: aidaleuc
>
> Signed-off-by: aidaleuc
> ---
> qga/commands
Dehan Meng
4:55 PM (15 minutes ago)
to aidaleuc, qemu-devel, kkostiuk
QE tested this series's patches. SSH-relevant commands work and
password-free login can be achieved.
Tested-by: Dehan Meng
On Tue, Apr 23, 2024 at 11:03 PM wrote:
> From: aidaleuc
>
> Signed-of
Since '/var/log/qga-fsfreeze-hook.log' is not included to proper
selinux context 'system_u:object_r:virt_qemu_ga_log_t:s0', it
should be changed to '/var/log/qemu-ga/qga-fsfreeze-hook.log'
Jira: https://issues.redhat.com/browse/RHEL-52250
Signed-off-by: Dehan Meng
edHat SELinux configuration.
> Is this any reason to move LOGFILE except this?
>
> Best Regards,
> Konstantin Kostiuk.
>
>
> On Tue, Aug 13, 2024 at 6:11 AM Dehan Meng wrote:
>
>> Since '/var/log/qga-fsfreeze-hook.log' is not included to proper
>> selinux cont
har
*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
The Route information of the Linux VM needs to be used
by administrators and users when debugging network problems
and troubleshooting.
Signed-off-by: Dehan Meng
---
qga/commands-posix.c | 73
qga/commands-win32.c | 6
qga/qapi-schema.json | 68
The Route information of the Linux VM needs to be used
by administrators and users when debugging network problems
and troubleshooting.
Signed-off-by: Dehan Meng
---
qga/commands-posix.c | 81
qga/commands-win32.c | 6
qga/qapi-schema.json | 56
o 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/com
The Route information of the Linux VM needs to be used
by administrators and users when debugging network problems
and troubleshooting.
Signed-off-by: Dehan Meng
---
qga/commands-posix.c | 135 +++
qga/commands-win32.c | 6 ++
qga/qapi-schema.json | 71
t
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 '
The Route information of the Linux VM needs to be used
by administrators and users when debugging network problems
and troubleshooting.
Signed-off-by: Dehan Meng
---
qga/commands-posix.c | 82
qga/commands-win32.c | 6
qga/qapi-schema.json | 80
The Route information of the Linux VM needs to be used
by administrators and users when debugging network problems
and troubleshooting.
Signed-off-by: Dehan Meng
---
qga/commands-posix.c | 78 ++
qga/commands-win32.c | 6
qga/qapi-schema.json | 80
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 &
ks.
5. Followed the coding style of using snake_case for variable names.
6. Merged redundant route and networkroute variables.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 139 ---
1 file changed, 65 insertions(+), 74 deletions(-)
diff --git a/qga/com
v2:
Split v1 up to separate commits for each logically independent change
Dehan Meng (4):
sscanf return values are checked to ensure correct parsing.
Proper initialization of n to 0 for getline to function correctly.
Avoiding freeing line prematurely. It's now only freed at the e
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 2c2b5f4ff2..b905f33a57 100644
--- a/qga/commands-linux.c
+++ b/qga/commands-linux.c
@@ -2126,7 +2126,7 @@ GuestNetworkRouteList
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 51d5e3d927..2c2b5f4ff2 100644
--- a/qga/commands-linux.c
+++ b/qga/commands-linux.c
@@ -2103,7 +2103,9 @@ static char
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index b905f33a57..4f0e38be81 100644
--- a/qga/commands-linux.c
+++ b/qga/commands-linux.c
@@ -2137,8 +2137,7
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 116 ---
1 file changed, 53 insertions(+), 63 deletions(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 4f0e38be81..c6cca630ef 100644
--- a/qga/commands-linux.c
+++ b/qga/commands
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 116 ---
1 file changed, 53 insertions(+), 63 deletions(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 4f0e38be81..c6cca630ef 100644
--- a/qga/commands-linux.c
+++ b/qga/commands
Variable declarations moved to the beginning of blocks
Followed the coding style of using snake_case for variable names.
And merged redundant route and networkroute variables.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 123 ---
1 file changed
v3:
Modify commits message and do some minor update.
v2:
Split v1 up to separate commits for each logically independent change
Dehan Meng (4):
'Null' check for mandatory parameters
Initialize correctly so getline works properly
Avoiding freeing line prematurely
For correcting
It's now only freed at the end of the function.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 32bf1b8ce7..c6bda78de6 100644
--- a/qga/commands-linux.c
+++
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 2c2b5f4ff2..b905f33a57 100644
--- a/qga/commands-linux.c
+++ b/qga/commands-linux.c
@@ -2126,7 +2126,7 @@ GuestNetworkRouteList
sscanf return values are checked and add 'Null' check for
mandatory parameters.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 51d5e3d927..f0e9cdd
v2:
Split v1 up to separate commits for each logically independent change
Dehan Meng (4):
sscanf return values are checked to ensure correct parsing.
Proper initialization of n to 0 for getline to function correctly.
Avoiding freeing line prematurely. It's now only freed at the e
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 51d5e3d927..2c2b5f4ff2 100644
--- a/qga/commands-linux.c
+++ b/qga/commands-linux.c
@@ -2103,7 +2103,9 @@ static char
Proper initialization of param 'size_t n' to '0' for
getline to function correctly.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index f0e9cdd27c..32bf1b8
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index b905f33a57..4f0e38be81 100644
--- a/qga/commands-linux.c
+++ b/qga/commands-linux.c
@@ -2137,8 +2137,7
at 09:28:36PM +0800, Dehan Meng wrote:
>> > sscanf return values are checked and add 'Null' check for
>> > mandatory parameters.
>> >
>> > Signed-off-by: Dehan Meng
>> > ---
>> > qga/commands-linux.c | 12 +++-
>> >
v4:
Handle g_autoptr() to simplify code and memory leak
v3:
Modify commits message and do some minor update.
v2:
Split v1 up to separate commits for each logically independent change
Dehan Meng (5):
'Null' check for mandatory parameters
Initialize correctly so getline work
sscanf return values are checked and add 'Null' check for
mandatory parameters.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 51d5e3d927..f0e9cdd
Replace g_new0() with g_autoptr() to simplify the code
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 16 ++--
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 9fb31956b4..ee4f345938 100644
--- a/qga/commands
Proper initialization of param 'size_t n' to '0' for
getline to function correctly.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index f0e9cdd27c..32bf1b8
It's now only freed at the end of the function.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 32bf1b8ce7..c6bda78de6 100644
--- a/qga/commands-linux.c
+++
Variable declarations moved to the beginning of blocks
Followed the coding style of using snake_case for variable names.
And merged redundant route and networkroute variables.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 123 ---
1 file changed
okay, I'll summarize all of the patches. thanks for reviewing.
On Fri, Oct 25, 2024 at 8:48 PM Daniel P. Berrangé
wrote:
> On Tue, Oct 22, 2024 at 10:29:44PM +0800, Dehan Meng wrote:
> > sscanf return values are checked and add 'Null' check for
> > mandatory par
Thank you for reviewing, I'll summarize all of the patches.
On Fri, Oct 25, 2024 at 8:50 PM Daniel P. Berrangé
wrote:
> On Tue, Oct 22, 2024 at 10:29:48PM +0800, Dehan Meng wrote:
> > Replace g_new0() with g_autoptr() to simplify the code
> >
> > Signed-off-by: De
It's now only freed at the end of the function.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/qga/commands-linux.c b/qga/commands-linux.c
index 55c35bfc8f..70020621bf 100644
--- a/qga/commands-linux.c
+++
v4:
Handle g_autoptr() to simplify code and memory leak
v3:
Modify commits message and do some minor update.
v2:
Split v1 up to separate commits for each logically independent change
Dehan Meng (3):
qemu-ga: Add 'Null' check and Redefine 'route'
qemu-ga: Optimize
sscanf return values are checked and add 'Null' check for
mandatory parameters. And merged redundant route and
networkroute variables.
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 86 +++-
1 file changed, 45 insertions(+), 41 deletion
Variable declarations moved to the beginning of blocks
Followed the coding style of using snake_case for variable names.
Proper initialization of param 'size_t n' to '0' for
Signed-off-by: Dehan Meng
---
qga/commands-linux.c | 43 +++
There is a typo error for api 'guest-get-osinfo',
the win2025's version in WIN_10_0_SERVER_VERSION_MATRIX
should be adjusted.
Signed-off-by: Dehan Meng
---
qga/commands-win32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qga/commands-win32.c b/qga/command
Make sure the error log of fsfreeze hooks
when freeze/thaw/snapshot could be logged
to system logs if the default logfile of
qga can't be written or other situations
Signed-off-by: Dehan Meng
---
scripts/qemu-guest-agent/fsfreeze-hook | 36 +++---
1 file change
QE tested this series's patches. cpu load will be captured by the new api
'guest-get-load'.
Tested-by: Dehan Meng
On Fri, Mar 14, 2025 at 7:39 PM Konstantin Kostiuk
wrote:
> Konstantin Kostiuk (2):
> qga-win: implement a 'guest-get-load' command
> qga: Ad
56 matches
Mail list logo