qemu-devel
[Top][All Lists]
Advanced

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

[RFC PATCH] hw/virtio: fix confusing comment


From: Dmitry Frolov
Subject: [RFC PATCH] hw/virtio: fix confusing comment
Date: Fri, 24 Nov 2023 15:08:47 +0300

It seems that comments to transitional/non-transitional devices are
mixed up.

Signed-off-by: Dmitry Frolov <frolov@swemel.ru>
---
 include/hw/virtio/virtio-pci.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/hw/virtio/virtio-pci.h b/include/hw/virtio/virtio-pci.h
index 5a3f182f99..45be10d694 100644
--- a/include/hw/virtio/virtio-pci.h
+++ b/include/hw/virtio/virtio-pci.h
@@ -229,13 +229,13 @@ typedef struct VirtioPCIDeviceTypeInfo {
     /*
      * The transitional device type.  Optional.
      *
-     * Implements both INTERFACE_PCIE_DEVICE and 
INTERFACE_CONVENTIONAL_PCI_DEVICE.
+     * Implements INTERFACE_CONVENTIONAL_PCI_DEVICE only.
      */
     const char *transitional_name;
     /*
      * The non-transitional device type.  Optional.
      *
-     * Implements INTERFACE_CONVENTIONAL_PCI_DEVICE only.
+     * Implements both INTERFACE_PCIE_DEVICE and 
INTERFACE_CONVENTIONAL_PCI_DEVICE.
      */
     const char *non_transitional_name;
 
-- 
2.34.1




reply via email to

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