qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH 0/2] qga: add guest-get-os-version for windows


From: zhanghailiang
Subject: [Qemu-devel] [RFC PATCH 0/2] qga: add guest-get-os-version for windows
Date: Tue, 16 Dec 2014 15:30:36 +0800

Hi,

This patch series add a new guest command 'guest-get-os-version'.
It is now only available for windows guest.

It will return guest's OS version name and type, like bellow:
'{"return":{"name":"Microsoft Windows Server 2012 R2","type":64}}'

Sometimes we need to know guest's OS version info.
(Actually, we need this info when we update guest's applications and drivers 
in our project.)

This patch is only RFC, it is another try to add more commands for qemu-ga.
Though qemu-ga has supported some commands now, but it is not enough and some
of them only support for linux ...

I would like to enrich it, if someone think it is acceptable.

So, any comments will be welcome! Thanks ;)

zhanghailiang (2):
  qga: Introduce guest-get-os-version command with stubs
  qga: implement qmp_guest_get_os_version for windows

 qga/commands-posix.c |   7 +++
 qga/commands-win32.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++
 qga/qapi-schema.json |  26 +++++++++++
 3 files changed, 158 insertions(+)

-- 
1.7.12.4





reply via email to

[Prev in Thread] Current Thread [Next in Thread]