mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge tag 'qga-pull-request' of gitlab.com:marcandre.lureau/qemu into staging
QGA Pull request # -----BEGIN PGP SIGNATURE----- # # iQJQBAABCAA6FiEEh6m9kz+HxgbSdvYt2ujhCXWWnOUFAmJyToAcHG1hcmNhbmRy # ZS5sdXJlYXVAcmVkaGF0LmNvbQAKCRDa6OEJdZac5e0tD/4y6+wWkn+ZjdNknpwB # LzbCtpohTvdRVJ9f22i/niFhKfAS25aB7CeQIuDrsC0Bc7+4NV49DeGPh4pnH05B # fNYJH+6/xYuc0cYML8FSqntbe1ElaIUP9vUPjIv3S4+IPMSkAyNI0xWkCiPsW8H4 # rHpMMmtBJQNiS1KxE0ahj1WOkwnNsDWxL80fh5RBwb3g2ZHrIjilOrs6MnCDRM8r # vYHK8cfGg+Lp/4hXB0mqTHw6oEmtCSiOZqE2rnIiHEI2kbW0DFu7yxtEX6aBjM6a # s6NkzYSkBzUjV3HOU/aWCTJOz6jL+nzsdAe413ll0VWv8UUVAgDnOfG7BewIW7jn # LFpIjsTen7VqVp6n96k8lPkoInnszyKVrJ/4AnS3PDrdfgg7B0RIx/exjrd249YX # XsZjcW/vF4gRuu0YyNZESgeR0/y/7HRN6X9dCtF5vsjeqswEWoqH0vSkca8fbZCR # yjE9z/dUuWwCBwq03UmtAy6POPhEw8QMld7SPGFl5n6Z7569hhWErYnu6ey/Xwwb # W6W2EdFRCWF3cR4nxDFCoJVFjFybYIl2qNLu01tJ1kqsaIJMxfyt1fP09Jd4tifk # CrAS1zpZSgDYRbzA5UGZ8Xir10uy+GyjFxIYnDYpqRy6nTDuG7wP2Ua+w182/2fd # RwbzF98vV/AMoEqSAiHVQ56KMw== # =Fm6Z # -----END PGP SIGNATURE----- # gpg: Signature made Wed 04 May 2022 02:59:28 AM PDT # gpg: using RSA key 87A9BD933F87C606D276F62DDAE8E10975969CE5 # gpg: issuer "marcandre.lureau@redhat.com" # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>" [full] # gpg: aka "Marc-André Lureau <marcandre.lureau@gmail.com>" [full] * tag 'qga-pull-request' of gitlab.com:marcandre.lureau/qemu: qga: Introduce disk smart qga: Introduce NVMe disk bus type qga/commands-posix: 'guest-shutdown' for Solaris qga/commands-posix: Log all net stats failures qga/commands-posix: Fix listing ifaces for Solaris qga/commands-posix: Fix iface hw address detection qga/commands-posix: Use getifaddrs when available Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@@ -1687,6 +1687,7 @@ config_host_data.set('CONFIG_SYNCFS', cc.has_function('syncfs'))
|
||||
config_host_data.set('CONFIG_SYNC_FILE_RANGE', cc.has_function('sync_file_range'))
|
||||
config_host_data.set('CONFIG_TIMERFD', cc.has_function('timerfd_create'))
|
||||
config_host_data.set('HAVE_COPY_FILE_RANGE', cc.has_function('copy_file_range'))
|
||||
config_host_data.set('HAVE_GETIFADDRS', cc.has_function('getifaddrs'))
|
||||
config_host_data.set('HAVE_OPENPTY', cc.has_function('openpty', dependencies: util))
|
||||
config_host_data.set('HAVE_STRCHRNUL', cc.has_function('strchrnul'))
|
||||
config_host_data.set('HAVE_SYSTEM_FUNCTION', cc.has_function('system', prefix: '#include <stdlib.h>'))
|
||||
|
||||
+358
-233
File diff suppressed because it is too large
Load Diff
+54
-2
@@ -827,13 +827,14 @@
|
||||
# @mmc: Win multimedia card (MMC) bus type
|
||||
# @virtual: Win virtual bus type
|
||||
# @file-backed-virtual: Win file-backed bus type
|
||||
# @nvme: NVMe disks (since 7.1)
|
||||
#
|
||||
# Since: 2.2; 'Unknown' and all entries below since 2.4
|
||||
##
|
||||
{ 'enum': 'GuestDiskBusType',
|
||||
'data': [ 'ide', 'fdc', 'scsi', 'virtio', 'xen', 'usb', 'uml', 'sata',
|
||||
'sd', 'unknown', 'ieee1394', 'ssa', 'fibre', 'raid', 'iscsi',
|
||||
'sas', 'mmc', 'virtual', 'file-backed-virtual' ] }
|
||||
'sas', 'mmc', 'virtual', 'file-backed-virtual', 'nvme' ] }
|
||||
|
||||
|
||||
##
|
||||
@@ -887,6 +888,55 @@
|
||||
'*serial': 'str', '*dev': 'str',
|
||||
'*ccw-address': 'GuestCCWAddress'} }
|
||||
|
||||
##
|
||||
# @GuestNVMeSmart:
|
||||
#
|
||||
# NVMe smart informations, based on NVMe specification,
|
||||
# section <SMART / Health Information (Log Identifier 02h)>
|
||||
#
|
||||
# Since: 7.1
|
||||
##
|
||||
{ 'struct': 'GuestNVMeSmart',
|
||||
'data': {'critical-warning': 'int',
|
||||
'temperature': 'int',
|
||||
'available-spare': 'int',
|
||||
'available-spare-threshold': 'int',
|
||||
'percentage-used': 'int',
|
||||
'data-units-read-lo': 'uint64',
|
||||
'data-units-read-hi': 'uint64',
|
||||
'data-units-written-lo': 'uint64',
|
||||
'data-units-written-hi': 'uint64',
|
||||
'host-read-commands-lo': 'uint64',
|
||||
'host-read-commands-hi': 'uint64',
|
||||
'host-write-commands-lo': 'uint64',
|
||||
'host-write-commands-hi': 'uint64',
|
||||
'controller-busy-time-lo': 'uint64',
|
||||
'controller-busy-time-hi': 'uint64',
|
||||
'power-cycles-lo': 'uint64',
|
||||
'power-cycles-hi': 'uint64',
|
||||
'power-on-hours-lo': 'uint64',
|
||||
'power-on-hours-hi': 'uint64',
|
||||
'unsafe-shutdowns-lo': 'uint64',
|
||||
'unsafe-shutdowns-hi': 'uint64',
|
||||
'media-errors-lo': 'uint64',
|
||||
'media-errors-hi': 'uint64',
|
||||
'number-of-error-log-entries-lo': 'uint64',
|
||||
'number-of-error-log-entries-hi': 'uint64' } }
|
||||
|
||||
##
|
||||
# @GuestDiskSmart:
|
||||
#
|
||||
# Disk type related smart information.
|
||||
#
|
||||
# - @nvme: NVMe disk smart
|
||||
#
|
||||
# Since: 7.1
|
||||
##
|
||||
{ 'union': 'GuestDiskSmart',
|
||||
'base': { 'type': 'GuestDiskBusType' },
|
||||
'discriminator': 'type',
|
||||
'data': { 'nvme': 'GuestNVMeSmart' } }
|
||||
|
||||
##
|
||||
# @GuestDiskInfo:
|
||||
#
|
||||
@@ -898,12 +948,14 @@
|
||||
# @address: disk address information (only for non-virtual devices)
|
||||
# @alias: optional alias assigned to the disk, on Linux this is a name assigned
|
||||
# by device mapper
|
||||
# @smart: disk smart information (Since 7.1)
|
||||
#
|
||||
# Since 5.2
|
||||
##
|
||||
{ 'struct': 'GuestDiskInfo',
|
||||
'data': {'name': 'str', 'partition': 'bool', '*dependencies': ['str'],
|
||||
'*address': 'GuestDiskAddress', '*alias': 'str'} }
|
||||
'*address': 'GuestDiskAddress', '*alias': 'str',
|
||||
'*smart': 'GuestDiskSmart'} }
|
||||
|
||||
##
|
||||
# @guest-get-disks:
|
||||
|
||||
Reference in New Issue
Block a user