mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-07 04:07:17 +00:00
whitespace clean-ups
Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
e2bc2dfa1e
commit
439eaf6399
@ -283,11 +283,11 @@
|
||||
<attribute name="granularity">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
<optional>
|
||||
<attribute name="min">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<attribute name="min">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<attribute name="maxAllocs">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
|
@ -1056,7 +1056,7 @@ virCapabilitiesFormatMemoryBandwidth(virBuffer *buf,
|
||||
node->id, cpus_str);
|
||||
|
||||
virBufferAsprintf(&childrenBuf,
|
||||
"<control granularity='%u' min ='%u' "
|
||||
"<control granularity='%u' min='%u' "
|
||||
"maxAllocs='%u'/>\n",
|
||||
control->granularity, control->min,
|
||||
control->max_allocation);
|
||||
|
@ -662,7 +662,7 @@ virResctrlGetMemoryBandwidthInfo(virResctrlInfo *resctrl)
|
||||
rv = virFileReadValueUint(&i_membw->max_allocation,
|
||||
SYSFS_RESCTRL_PATH "/info/MB/num_closids");
|
||||
if (rv == -2) {
|
||||
/* Similar reasoning to min_bandwidth above. */
|
||||
/* Similar reasoning to min_bandwidth above. */
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
||||
_("Cannot get max allocation from resctrl memory info"));
|
||||
}
|
||||
|
@ -56,10 +56,10 @@
|
||||
</cache>
|
||||
<memory_bandwidth>
|
||||
<node id='0' cpus='0-5'>
|
||||
<control granularity='10' min ='10' maxAllocs='4'/>
|
||||
<control granularity='10' min='10' maxAllocs='4'/>
|
||||
</node>
|
||||
<node id='1' cpus='6-11'>
|
||||
<control granularity='10' min ='10' maxAllocs='4'/>
|
||||
<control granularity='10' min='10' maxAllocs='4'/>
|
||||
</node>
|
||||
<monitor maxMonitors='176'>
|
||||
<feature name='mbm_total_bytes'/>
|
||||
|
@ -54,10 +54,10 @@
|
||||
</cache>
|
||||
<memory_bandwidth>
|
||||
<node id='0' cpus='0-5'>
|
||||
<control granularity='10' min ='10' maxAllocs='4'/>
|
||||
<control granularity='10' min='10' maxAllocs='4'/>
|
||||
</node>
|
||||
<node id='1' cpus='6-11'>
|
||||
<control granularity='10' min ='10' maxAllocs='4'/>
|
||||
<control granularity='10' min='10' maxAllocs='4'/>
|
||||
</node>
|
||||
<monitor maxMonitors='176'>
|
||||
<feature name='mbm_total_bytes'/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user