]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Move the FIPS detection from capabilities
authorPavel Hrdina <phrdina@redhat.com>
Thu, 18 Sep 2014 15:38:32 +0000 (17:38 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 19 Sep 2014 07:08:23 +0000 (09:08 +0200)
commitda7799d879fd037849f820667b9b610bf94b6262
tree69e3b175ea77217babd7f113e293e28211fd123e
parentba7468dbb13f552a9177d01ea8bad155f9877bc3
Move the FIPS detection from capabilities

We are not detecting the presence of FIPS from QEMU, but from procfs and
that means it's not QEMU capability. It was decided that we will pass
this flag to QEMU even if it's not supported by old QEMU binaries.

This patch also reverts changes done by commit a21cfb0f to
qemucapabilitestest and implements a new test case in qemuxml2argvtest.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1135431

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
12 files changed:
src/qemu/qemu_capabilities.c
src/qemu/qemu_command.c
src/qemu/qemu_command.h
src/qemu/qemu_driver.c
src/qemu/qemu_process.c
tests/qemucapabilitiesdata/caps_1.2.2-1.caps
tests/qemucapabilitiesdata/caps_1.6.0-1.caps
tests/qemucapabilitiestest.c
tests/qemuxml2argvdata/qemuxml2argv-fips-enabled.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-fips-enabled.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxmlnstest.c