]> Git Repo - qemu.git/commit - qga/commands-posix.c
qemu-ga: add guest-get-osinfo command
authorTomáš Golembiovský <[email protected]>
Fri, 14 Jul 2017 14:28:56 +0000 (16:28 +0200)
committerMichael Roth <[email protected]>
Tue, 18 Jul 2017 10:48:57 +0000 (05:48 -0500)
commit9848f79740dc3bd2e0515470d24b8bec53904473
tree882946f5e11aa3ced19483a7cad7807b3cf902f5
parentcbcd9ba1b76425915c58c67153432ff1d743aefd
qemu-ga: add guest-get-osinfo command

Add a new 'guest-get-osinfo' command for reporting basic information of
the guest operating system. This includes machine architecture,
version and release of the kernel and several fields from os-release
file if it is present (as defined in [1]).

[1] https://www.freedesktop.org/software/systemd/man/os-release.html

Signed-off-by: Vinzenz Feenstra <[email protected]>
Signed-off-by: Tomáš Golembiovský <[email protected]>
* moved declarations to beginning of functions
* dropped unecessary initialization of struct utsname
Signed-off-by: Michael Roth <[email protected]>
qga/commands-posix.c
qga/commands-win32.c
qga/qapi-schema.json
This page took 0.025393 seconds and 4 git commands to generate.