[libvirt] [PATCH] conf: small changes to comments in virDomainDeviceInfo

Laine Stump laine at laine.org
Thu Feb 9 07:38:59 UTC 2012


romfile wasn't mentioned in the comment, and the fact that rombar is
now supported for network interfaces also wasn't there.

Pushed under the trivial rule.
---
 src/conf/domain_conf.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index 0a2795d..8bb21cf 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -167,10 +167,12 @@ struct _virDomainDeviceInfo {
     union {
         virDomainDeviceUSBMaster usb;
     } master;
-    /* rombar is only used for pci hostdev devices, and bootIndex only
-     * for disk, network interface, and hostdev devices */
+    /* rombar and romfile are only used for pci hostdev and network
+     * devices. */
     int rombar;         /* enum virDomainPciRombarMode */
     char *romfile;
+    /* bootIndex is only user for disk, network interface, and
+     * hostdev devices. */
     int bootIndex;
 };
 
-- 
1.7.7.6




More information about the libvir-list mailing list