[PATCH v1 1/7] domain_capabilities: s/qemuDomainCapsFeatureFormatSimple/virDomainCapsFeatureFormatSimple/

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

 



There's nothing qemu specific about
qemuDomainCapsFeatureFormatSimple() and in fact, the function
lives in hypervisor agnostic location and thus mustn't have qemu
prefix.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 src/conf/domain_capabilities.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/conf/domain_capabilities.c b/src/conf/domain_capabilities.c
index 247cfa49de..4e412c0fd8 100644
--- a/src/conf/domain_capabilities.c
+++ b/src/conf/domain_capabilities.c
@@ -335,9 +335,9 @@ virDomainCapsStringValuesFormat(virBuffer *buf,
 
 
 static void
-qemuDomainCapsFeatureFormatSimple(virBuffer *buf,
-                                  const char *featurename,
-                                  virTristateBool supported)
+virDomainCapsFeatureFormatSimple(virBuffer *buf,
+                                 const char *featurename,
+                                 virTristateBool supported)
 {
     if (supported == VIR_TRISTATE_BOOL_ABSENT)
         return;
@@ -697,9 +697,9 @@ virDomainCapsFormatFeatures(const virDomainCaps *caps,
         if (i == VIR_DOMAIN_CAPS_FEATURE_IOTHREADS)
             continue;
 
-        qemuDomainCapsFeatureFormatSimple(&childBuf,
-                                          virDomainCapsFeatureTypeToString(i),
-                                          caps->features[i]);
+        virDomainCapsFeatureFormatSimple(&childBuf,
+                                         virDomainCapsFeatureTypeToString(i),
+                                         caps->features[i]);
     }
 
     virDomainCapsFeatureSEVFormat(&childBuf, caps->sev);
@@ -728,8 +728,8 @@ virDomainCapsFormat(const virDomainCaps *caps)
     if (caps->maxvcpus)
         virBufferAsprintf(&buf, "<vcpu max='%d'/>\n", caps->maxvcpus);
 
-    qemuDomainCapsFeatureFormatSimple(&buf, "iothreads",
-                                      caps->features[VIR_DOMAIN_CAPS_FEATURE_IOTHREADS]);
+    virDomainCapsFeatureFormatSimple(&buf, "iothreads",
+                                     caps->features[VIR_DOMAIN_CAPS_FEATURE_IOTHREADS]);
 
     virDomainCapsOSFormat(&buf, &caps->os);
     virDomainCapsCPUFormat(&buf, &caps->cpu);
-- 
2.38.2




[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