From: Vinzenz Feenstra
Changes since v5:
- Dropped unnecessary g_time_zone_unref in error handling
- Made implementation check for glib 2.28 or higher
- Move variable declaration to function top
Vinzenz Feenstra (1):
qga: Add `guest-get-timezone` command
qga/commands.c | 38 +++
From: Vinzenz Feenstra
Adds a new command `guest-get-timezone` reporting the currently
configured timezone on the system. The information on what timezone is
currently is configured is useful in case of Windows VMs where the
offset of the hardware clock is required to have the same offset. This
c
From: Vinzenz Feenstra
A command that will list all currently logged in users, and the time
since when they are logged in.
Examples:
virsh # qemu-agent-command F25 '{ "execute": "guest-get-users" }'
{"return":[{"login-time":1490622289.903835,"user":"root"}]}
virsh # qemu-agent-command Win2k12r
From: Vinzenz Feenstra
Changes since v4:
- Removed unnecessary ifdefs
- Win32 implementation now uses W32_FT_OFFSET instead of custom constant
- Moved variable declarations to the top of the function
- Also ensure that only the earliest login time on Windows is reported
Changes since v3:
- Remov
From: Vinzenz Feenstra
Changes since v3:
- Removed ifdef/endif around QGA_MICRO_SECOND_TO_SECOND
Changes since v2:
- Updated the documentation of login-time to be more precise what the value
contains and what time is actually reported and in which format.
Changes since v1:
- fixed spelling is
From: Vinzenz Feenstra
A command that will list all currently logged in users, and the time
since when they are logged in.
Examples:
virsh # qemu-agent-command F25 '{ "execute": "guest-get-users" }'
{"return":[{"login-time":1490622289.903835,"user":"root"}]}
virsh # qemu-agent-command Win2k12r
From: Vinzenz Feenstra
Since v1:
- Renamed from FQDN to hostname and expanded documentation
Vinzenz Feenstra (1):
qga: Add 'guest-get-host-name' command
qga/commands.c | 11 +++
qga/qapi-schema.json | 29 +
2 files changed, 40 insertions(+)
--
2.9.
From: Vinzenz Feenstra
Retrieving the guest host name is a very useful feature for virtual management
systems. This information can help to have more user friendly VM access
details, instead of an IP there would be the host name. Also the host name
reported can be used to have automated checks fo
From: Vinzenz Feenstra
A command that will list all currently logged in users, and the time
since when they are logged in.
Examples:
virsh # qemu-agent-command F25 '{ "execute": "guest-get-users" }'
{"return":[{"login-time":1490622289.903835,"user":"root"}]}
virsh # qemu-agent-command Win2k12r
From: Vinzenz Feenstra
Changes since v2:
- Updated the documentation of login-time to be more precise what the value
contains and what time is actually reported and in which format.
Changes since v1:
- fixed spelling issues in the commit message and schema
- added login-time field which specif
From: Vinzenz Feenstra
A command that will list all currently logged in users, and the time
since when they are logged in.
Examples:
virsh # qemu-agent-command F25 '{ "execute": "guest-get-users" }'
{"return":[{"login-time":1490622289.903835,"user":"root"}]}
virsh # qemu-agent-command Win2k12r
From: Vinzenz Feenstra
Changes since v1:
- fixed spelling issues in the commit message and schema
- added login-time field which specifies the time the users logged on
- applied changes suggested for glib hash table usage
- added new link time library dependency for wtsapi32
- setting now _WIN32_
From: Vinzenz Feenstra
Add a new 'guest-get-osrelease' command to report OS information in the
os-release format. As documented here:
https://www.freedesktop.org/software/systemd/man/os-release.html
The win32 implementation generates the information.
On POSIX systems the /etc/os-release or /usr/
From: Vinzenz Feenstra
This is a concept change over v2 of the guest-get-osinfo command.
The command now adds all information in the os-release format.
Vinzenz Feenstra (1):
qemu-ga: add guest-get-osrelease command
qga/commands-posix.c | 41 +
qga/commands-win32.c | 127
From: Vinzenz Feenstra
A command that will list all currenctly logged in users having running
processes.
Examples:
virsh # qemu-agent-command F25 '{ "execute": "guest-get-users" }'
{"return":[{"user":"root"}]}
virsh # qemu-agent-command Win2k12r2 '{ "execute": "guest-get-users" }'
{"return":[{
From: Vinzenz Feenstra
Retrieving the guest OS fully qualified domain name (FQDN) is a very
useful feature for virtual management systems. This information can help
to have more user friendly VM access details, instead of an IP there
would be the FQDN. Also the FQDN reported can be used to have a
From: Vinzenz Feenstra
Changes since v4:
- Corrected usage of the optional zone (Missing has_zone = true)
- Updated documentation string for offset in the schema
- Removed unnecessary checks
- Uses the current time to check for the interval, not 0
- Switched to UNIVERSAL time type, since that can
From: Vinzenz Feenstra
Adds a new command `guest-get-timezone` reporting the currently
configured timezone on the system. The information on what timezone is
currently is configured is useful in case of Windows VMs where the
offset of the hardware clock is required to have the same offset. This
c
From: Vinzenz Feenstra
Changes since v3:
- Made zone optional, and won't fail if the name can't be looked up.
- Removed unncessary check for g_new0 allocation failure
Vinzenz Feenstra (1):
qga: Add `guest-get-timezone` command
qga/commands.c | 34 ++
qg
From: Vinzenz Feenstra
Adds a new command `guest-get-timezone` reporting the currently
configured timezone on the system. The information on what timezone is
currently is configured is useful in case of Windows VMs where the
offset of the hardware clock is required to have the same offset. This
c
From: Vinzenz Feenstra
Adds a new command `guest-get-timezone` reporting the currently
configured timezone on the system. The information on what timezone is
currently is configured is useful in case of Windows VMs where the
offset of the hardware clock is required to have the same offset. This
c
From: Vinzenz Feenstra
Changes since v2:
- Changed offset from reporting minutes to reporting seconds like it is
returned from the used glib API
- Applied more checks and better error handling in the implementation
Vinzenz Feenstra (1):
qga: Add `guest-get-timezone` command
qga/commands.c
From: Vinzenz Feenstra
Adds a new command `guest-get-timezone` reporting the currently
configured timezone on the system. The information on what timezone is
currently is configured is useful in case of Windows VMs where the
offset of the hardware clock is required to have the same offset. This
c
Updated the documentation according to comments of eblake
From: Vinzenz Feenstra
Adds a new command `guest-get-timezone` reporting the currently
configured timezone on the system. The information on what timezone is
currently is configured is useful in case of Windows VMs where the
offset of the hardware clock is required to have the same offset. This
c
From: Vinzenz Feenstra
Add a new 'guest-get-osinfo' command for reporting basic information of
the guest operating system (hereafter just 'OS'). This information
includes the type of the OS, the version, and the architecture.
Additionally reported would be a name, distribution type and kernel
ver
In this version:
- Changed the use of strdup to g_strdup and the use of sprintf with a local
buffer to use g_strdup_printf instead.
- Made the majority of fields in the GuestOSInfo optional to allow 0 values
- Used the right target version in the schema (2.10 vs 2.8 before)
- Refactored the code
From: Vinzenz Feenstra
When importing dynamically functions via `GetProcAddress` in windows
related code, it is quite common to make a typedef for the resulting
function pointer. When the function to be imported, has a stdcall
calling convention, usually the `WINAPI` macro is used. This patch add
From: Vinzenz Feenstra
Add a new 'guest-get-osinfo' command for reporting basic information of
the guest operating system (hereafter just 'OS'). This information
includes the type of the OS, the version, and the architecture.
Additionally reported would be a name, distribution type and kernel
ver
29 matches
Mail list logo