<dt><code>reducedPhysBits</code></dt>
<dd>When memory encryption is enabled, we lose certain bits in physical
address space. The number of bits we lose is hypervisor dependent.</dd>
+ <dt><code>maxGuests</code></dt>
+ <dd>The maximum number of SEV guests that can be launched on the host.
+ This value may be configurable in the firmware for some hosts.</dd>
+ <dt><code>maxESGuests</code></dt>
+ <dd>The maximum number of SEV-ES guests that can be launched on the host.
+ This value may be configurable in the firmware for some hosts.</dd>
</dl>
</body>
<element name="reducedPhysBits">
<data type="unsignedInt"/>
</element>
+ <element name="maxGuests">
+ <data type="unsignedInt"/>
+ </element>
+ <element name="maxESGuests">
+ <data type="unsignedInt"/>
+ </element>
</optional>
</element>
</define>
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);
virBufferAdjustIndent(buf, -2);
virBufferAddLit(buf, "</sev>\n");
}
char *cert_chain;
unsigned int cbitpos;
unsigned int reduced_phys_bits;
+ unsigned int max_guests;
+ unsigned int max_es_guests;
};
typedef enum {
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>
+ <maxGuests>0</maxGuests>
+ <maxESGuests>0</maxESGuests>
</sev>
</features>
</domainCapabilities>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>
+ <maxGuests>0</maxGuests>
+ <maxESGuests>0</maxESGuests>
</sev>
</features>
</domainCapabilities>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>
+ <maxGuests>0</maxGuests>
+ <maxESGuests>0</maxESGuests>
</sev>
</features>
</domainCapabilities>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>
+ <maxGuests>0</maxGuests>
+ <maxESGuests>0</maxESGuests>
</sev>
</features>
</domainCapabilities>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>
+ <maxGuests>0</maxGuests>
+ <maxESGuests>0</maxESGuests>
</sev>
</features>
</domainCapabilities>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>
+ <maxGuests>0</maxGuests>
+ <maxESGuests>0</maxESGuests>
</sev>
</features>
</domainCapabilities>