From 5ea0315f60227b52cecc4258a165433cfc2028cf Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Wed, 21 Dec 2022 15:15:58 +0100 Subject: [PATCH] domain_capabilities: s/qemuDomainCapsFeatureFormatSimple/virDomainCapsFeatureFormatSimple/ 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 Reviewed-by: Peter Krempa --- 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, "\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);