diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-08-03 18:28:37 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-08-03 18:28:37 -0500 |
commit | 70678b82274309e9df98b8ce359118f36697cadb (patch) | |
tree | 2368dbef378f82cb8c57b37a09f5f262b479b885 /vl.c | |
parent | b34bd5e5c8f356ec206e5a306ee3a9b6f42c4315 (diff) | |
download | qemu-70678b82274309e9df98b8ce359118f36697cadb.zip qemu-70678b82274309e9df98b8ce359118f36697cadb.tar.gz qemu-70678b82274309e9df98b8ce359118f36697cadb.tar.bz2 |
fips: fix build on !Linux
Commit 0f66998 makes -enable-fips conditional on Linux hosts but then uses it
unconditionally in vl.c.
Fix this by moving the fips handling to os-posix.c and adding a condition.
Cc: Paul Moore <pmoore@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -3199,9 +3199,6 @@ int main(int argc, char **argv, char **envp) case QEMU_OPTION_qtest_log: qtest_log = optarg; break; - case QEMU_OPTION_enablefips: - fips_set_state(true); - break; default: os_parse_cmd_args(popt->index, optarg); } |