whitespace clean-ups

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Martin Kletzander 2021-07-14 15:56:26 +02:00
parent e2bc2dfa1e
commit 439eaf6399
5 changed files with 11 additions and 11 deletions

View File

@ -283,11 +283,11 @@
<attribute name="granularity"> <attribute name="granularity">
<ref name="unsignedInt"/> <ref name="unsignedInt"/>
</attribute> </attribute>
<optional> <optional>
<attribute name="min"> <attribute name="min">
<ref name="unsignedInt"/> <ref name="unsignedInt"/>
</attribute> </attribute>
</optional> </optional>
<attribute name="maxAllocs"> <attribute name="maxAllocs">
<ref name="unsignedInt"/> <ref name="unsignedInt"/>
</attribute> </attribute>

View File

@ -1056,7 +1056,7 @@ virCapabilitiesFormatMemoryBandwidth(virBuffer *buf,
node->id, cpus_str); node->id, cpus_str);
virBufferAsprintf(&childrenBuf, virBufferAsprintf(&childrenBuf,
"<control granularity='%u' min ='%u' " "<control granularity='%u' min='%u' "
"maxAllocs='%u'/>\n", "maxAllocs='%u'/>\n",
control->granularity, control->min, control->granularity, control->min,
control->max_allocation); control->max_allocation);

View File

@ -662,7 +662,7 @@ virResctrlGetMemoryBandwidthInfo(virResctrlInfo *resctrl)
rv = virFileReadValueUint(&i_membw->max_allocation, rv = virFileReadValueUint(&i_membw->max_allocation,
SYSFS_RESCTRL_PATH "/info/MB/num_closids"); SYSFS_RESCTRL_PATH "/info/MB/num_closids");
if (rv == -2) { if (rv == -2) {
/* Similar reasoning to min_bandwidth above. */ /* Similar reasoning to min_bandwidth above. */
virReportError(VIR_ERR_INTERNAL_ERROR, "%s", virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("Cannot get max allocation from resctrl memory info")); _("Cannot get max allocation from resctrl memory info"));
} }

View File

@ -56,10 +56,10 @@
</cache> </cache>
<memory_bandwidth> <memory_bandwidth>
<node id='0' cpus='0-5'> <node id='0' cpus='0-5'>
<control granularity='10' min ='10' maxAllocs='4'/> <control granularity='10' min='10' maxAllocs='4'/>
</node> </node>
<node id='1' cpus='6-11'> <node id='1' cpus='6-11'>
<control granularity='10' min ='10' maxAllocs='4'/> <control granularity='10' min='10' maxAllocs='4'/>
</node> </node>
<monitor maxMonitors='176'> <monitor maxMonitors='176'>
<feature name='mbm_total_bytes'/> <feature name='mbm_total_bytes'/>

View File

@ -54,10 +54,10 @@
</cache> </cache>
<memory_bandwidth> <memory_bandwidth>
<node id='0' cpus='0-5'> <node id='0' cpus='0-5'>
<control granularity='10' min ='10' maxAllocs='4'/> <control granularity='10' min='10' maxAllocs='4'/>
</node> </node>
<node id='1' cpus='6-11'> <node id='1' cpus='6-11'>
<control granularity='10' min ='10' maxAllocs='4'/> <control granularity='10' min='10' maxAllocs='4'/>
</node> </node>
<monitor maxMonitors='176'> <monitor maxMonitors='176'>
<feature name='mbm_total_bytes'/> <feature name='mbm_total_bytes'/>