]> xenbits.xensource.com Git - libvirt.git/commit
conf, schema, docs: Add support for TSEG size setting
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 10 May 2018 19:32:26 +0000 (21:32 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 8 Jun 2018 08:28:46 +0000 (10:28 +0200)
commit1bd5a08d3810aa7fd99f2a0c433c1d15d274deb9
treea2e05e451fd2fa91268f4a384c880457ab499a9a
parent3f2499d7d703c83667ff1df6603e4c9d9791e9a4
conf, schema, docs: Add support for TSEG size setting

TSEG (Top of Memory Segment) is one of many regions that SMM (System Management
Mode) can occupy.  This one, however is special, because a) most of the SMM code
lives in TSEG nowadays and b) QEMU just (well, some time ago) added support for
so called 'extended' TSEG.  The difference to the TSEG implemented in real q35's
MCH (Memory Controller Hub) is that it can offer one extra size to the guest OS
apart from the standard TSEG's 1, 2, and 8 MiB and that size can be selected in
1 MiB increments.  Maximum may vary based on QEMU and is way too big, so we
don't need to check for the maximum here.  Similarly to the memory size we'll
leave it to the hypervisor to try satisfying that and giving us an error message
in case it is not possible.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
tests/genericxml2xmlindata/tseg.xml [new file with mode: 0644]
tests/genericxml2xmltest.c