virBufferAsprintf(buf, "<cbitpos>%d</cbitpos>\n", sev->cbitpos);
virBufferAsprintf(buf, "<reducedPhysBits>%d</reducedPhysBits>\n",
sev->reduced_phys_bits);
- virBufferAsprintf(buf, "<maxGuests>%d</maxGuests>\n",
- sev->max_guests);
- virBufferAsprintf(buf, "<maxESGuests>%d</maxESGuests>\n",
- sev->max_es_guests);
- if (sev->cpu0_id != NULL) {
- virBufferAsprintf(buf, "<cpu0Id>%s</cpu0Id>\n",
- sev->cpu0_id);
- }
+ virBufferAsprintf(buf, "<maxGuests>%d</maxGuests>\n", sev->max_guests);
+ virBufferAsprintf(buf, "<maxESGuests>%d</maxESGuests>\n", sev->max_es_guests);
+
+ if (sev->cpu0_id != NULL)
+ virBufferAsprintf(buf, "<cpu0Id>%s</cpu0Id>\n", sev->cpu0_id);
+
virBufferAdjustIndent(buf, -2);
virBufferAddLit(buf, "</sev>\n");
}