qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH 0/2] qga: add guest-get-os-version for windows
@ 2014-12-16  7:30 zhanghailiang
  2014-12-16  7:30 ` [Qemu-devel] [RFC PATCH 1/2] qga: Introduce guest-get-os-version command with stubs zhanghailiang
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: zhanghailiang @ 2014-12-16  7:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: zhanghailiang, peter.huangpeng, mdroth, lcapitulino, lersek,
	lilei

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

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

end of thread, other threads:[~2015-01-03  0:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-16  7:30 [Qemu-devel] [RFC PATCH 0/2] qga: add guest-get-os-version for windows zhanghailiang
2014-12-16  7:30 ` [Qemu-devel] [RFC PATCH 1/2] qga: Introduce guest-get-os-version command with stubs zhanghailiang
2014-12-16 16:23   ` Eric Blake
2015-01-03  0:32     ` Richard W.M. Jones
2014-12-16  7:30 ` [Qemu-devel] [RFC PATCH 2/2] qga: implement qmp_guest_get_os_version for windows zhanghailiang
2014-12-16 11:48   ` Yan Vugenfirer
2014-12-16 16:26     ` Eric Blake
2014-12-17  8:14       ` zhanghailiang
2014-12-16  9:38 ` [Qemu-devel] [RFC PATCH 0/2] qga: add guest-get-os-version " Yan Vugenfirer
2014-12-16 11:06   ` zhanghailiang
2014-12-16 16:25 ` Eric Blake
2014-12-17  8:12   ` zhanghailiang

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