qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] d9fe4f: qga/commands-posix: Rework build_gues


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] d9fe4f: qga/commands-posix: Rework build_guest_fsinfo_for_...
Date: Mon, 14 Sep 2020 04:16:32 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: d9fe4f0fea31f0560dc40d3576bc6c48ad97109f
      
https://github.com/qemu/qemu/commit/d9fe4f0fea31f0560dc40d3576bc6c48ad97109f
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2020-09-12 (Sat, 12 Sep 2020)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qga/commands-posix: Rework build_guest_fsinfo_for_real_device() function

We are going to support non-PCI devices soon. For this we need to split
the generic GuestDiskAddress and GuestDiskAddressList memory allocation
and list chaining into a separate function first.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>


  Commit: 43dadc431bacbc5a5baee7e256288a98a3e95ce3
      
https://github.com/qemu/qemu/commit/43dadc431bacbc5a5baee7e256288a98a3e95ce3
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2020-09-12 (Sat, 12 Sep 2020)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qga/commands-posix: Move the udev code from the pci to the generic function

The libudev-related code is independent from the other pci-related code
and can be re-used for non-pci devices (like ccw devices on s390x). Thus
move this part to the generic function.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1755075
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>


  Commit: 23843c129d5e1ca360605e511a43a34faebb47c4
      
https://github.com/qemu/qemu/commit/23843c129d5e1ca360605e511a43a34faebb47c4
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2020-09-12 (Sat, 12 Sep 2020)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qga/commands-posix: Support fsinfo for non-PCI virtio devices, too

QEMU on s390x uses virtio via channel I/O instead of PCI by default.
Add a function to detect and provide information for virtio-scsi and
virtio-block devices here, too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>


  Commit: 2e4211cee49a666bf0e333011689b0981025879e
      
https://github.com/qemu/qemu/commit/2e4211cee49a666bf0e333011689b0981025879e
  Author: Tomáš Golembiovský <tgolembi@redhat.com>
  Date:   2020-09-12 (Sat, 12 Sep 2020)

  Changed paths:
    M qga/commands-posix.c
    M qga/commands-win32.c
    M qga/qapi-schema.json

  Log Message:
  -----------
  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ý <tgolembi@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
*remove redundant glib autoptr declaration for GuestDeviceInfo
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>


  Commit: 95f217983919b5553d3d77ae0555e4119d383c87
      
https://github.com/qemu/qemu/commit/95f217983919b5553d3d77ae0555e4119d383c87
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-09-14 (Mon, 14 Sep 2020)

  Changed paths:
    M qga/commands-posix.c
    M qga/commands-win32.c
    M qga/qapi-schema.json

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2020-09-12-tag' 
into staging

patch queue for qemu-ga

* add guest-get-devices for reporting virtio devices (w32-only)
* extend guest-get-fsinfo to support non-PCI virtio disk controllers

# gpg: Signature made Mon 14 Sep 2020 02:53:51 BST
# gpg:                using RSA key CEACC9E15534EBABB82D3FA03353C9CEF108B584
# gpg:                issuer "mdroth@linux.vnet.ibm.com"
# gpg: Good signature from "Michael Roth <flukshun@gmail.com>" [full]
# gpg:                 aka "Michael Roth <mdroth@utexas.edu>" [full]
# gpg:                 aka "Michael Roth <mdroth@linux.vnet.ibm.com>" [full]
# Primary key fingerprint: CEAC C9E1 5534 EBAB B82D  3FA0 3353 C9CE F108 B584

* remotes/mdroth/tags/qga-pull-2020-09-12-tag:
  qga: add command guest-get-devices for reporting VirtIO devices
  qga/commands-posix: Support fsinfo for non-PCI virtio devices, too
  qga/commands-posix: Move the udev code from the pci to the generic function
  qga/commands-posix: Rework build_guest_fsinfo_for_real_device() function

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/f00f57f34423...95f217983919



reply via email to

[Prev in Thread] Current Thread [Next in Thread]