From: Wim ten Have <wim.ten.have(a)oracle.com>
This patch enhances host-passthrough capability to advertise the
required vendor CPU virtualization feature which will be used to
enable 'nestedhvm' in the libxl driver.
For Intel virtualization (VT-x)
..
<cpu mode='host-passthrough'>
<feature policy='require' name='vmx'/>
</cpu>
For AMD virtualization (AMD-V)
..
<cpu mode='host-passthrough'>
<feature policy='require' name='svm'/>
</cpu>
Joao Martins (2):
libxl: set nestedhvm when vmx|svm is required
xenconfig: add conversion of domxml nestedhvm
Wim ten Have (1):
xlconfigtest: add test and data for 'nestedhvm' support
src/libxl/libxl_conf.c | 9 ++++
src/xenconfig/xen_xl.c | 41 +++++++++++++++++
tests/xlconfigdata/test-fullvirt-nestedhvm.cfg | 26 +++++++++++
tests/xlconfigdata/test-fullvirt-nestedhvm.xml | 61 ++++++++++++++++++++++++++
tests/xlconfigtest.c | 1 +
5 files changed, 138 insertions(+)
create mode 100644 tests/xlconfigdata/test-fullvirt-nestedhvm.cfg
create mode 100644 tests/xlconfigdata/test-fullvirt-nestedhvm.xml
--
2.9.3