]> Git Repo - qemu.git/commit
qga: add command guest-get-devices for reporting VirtIO devices
authorTomáš Golembiovský <[email protected]>
Tue, 21 Jul 2020 15:40:41 +0000 (17:40 +0200)
committerMichael Roth <[email protected]>
Sun, 13 Sep 2020 01:37:48 +0000 (20:37 -0500)
commit2e4211cee49a666bf0e333011689b0981025879e
tree73497f535e93f28725d44edac1201bcb374565a1
parent23843c129d5e1ca360605e511a43a34faebb47c4
qga: add command guest-get-devices for reporting VirtIO devices

Add command for reporting devices on Windows guest. The intent is not so
much to report the devices but more importantly the driver (and its
version) that is assigned to the device. This gives caller the
information whether VirtIO drivers are installed and/or whether
inadequate driver is used on a device (e.g. QXL device with base VGA
driver).

Example:
[
    {
      "driver-date": "2019-08-12",
      "driver-name": "Red Hat VirtIO SCSI controller",
      "driver-version": "100.80.104.17300",
      "address": {
        "type": "pci",
        "data": {
          "device-id": 4162,
          "vendor-id": 6900
        }
      }
    },
    ...
]

Signed-off-by: Tomáš Golembiovský <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
*remove redundant glib autoptr declaration for GuestDeviceInfo
Signed-off-by: Michael Roth <[email protected]>
qga/commands-posix.c
qga/commands-win32.c
qga/qapi-schema.json
This page took 0.027547 seconds and 4 git commands to generate.