[libvirt PATCH 03/12] conf: rename two static functions

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

 



Adding Driver to the names makes them better fit their purpose.

Signed-off-by: Laine Stump <laine@xxxxxxxxxx>
---
 src/conf/domain_conf.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 69e3b7be9a..58f4a1c14b 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -25318,8 +25318,8 @@ virDomainActualNetDefFormat(virBufferPtr buf,
 
 
 static void
-virDomainVirtioNetGuestOptsFormat(char **outstr,
-                                  virDomainNetDefPtr def)
+virDomainVirtioNetDriverGuestOptsFormat(char **outstr,
+                                        virDomainNetDefPtr def)
 {
     virBuffer buf = VIR_BUFFER_INITIALIZER;
     if (def->driver.virtio.guest.csum) {
@@ -25349,8 +25349,8 @@ virDomainVirtioNetGuestOptsFormat(char **outstr,
 
 
 static void
-virDomainVirtioNetHostOptsFormat(char **outstr,
-                                 virDomainNetDefPtr def)
+virDomainVirtioNetDriverHostOptsFormat(char **outstr,
+                                       virDomainNetDefPtr def)
 {
     virBuffer buf = VIR_BUFFER_INITIALIZER;
     if (def->driver.virtio.host.csum) {
@@ -25698,8 +25698,8 @@ virDomainNetDefFormat(virBufferPtr buf,
             g_autofree char *hoststr = NULL;
 
             virDomainVirtioNetDriverFormat(&str, def);
-            virDomainVirtioNetGuestOptsFormat(&gueststr, def);
-            virDomainVirtioNetHostOptsFormat(&hoststr, def);
+            virDomainVirtioNetDriverGuestOptsFormat(&gueststr, def);
+            virDomainVirtioNetDriverHostOptsFormat(&hoststr, def);
 
             if (!gueststr && !hoststr) {
                 if (str)
-- 
2.24.1





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux