]> git.proxmox.com Git - mirror_qemu.git/commit
fips: fix build on !Linux
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 3 Aug 2012 23:28:37 +0000 (18:28 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 3 Aug 2012 23:28:37 +0000 (18:28 -0500)
commit70678b82274309e9df98b8ce359118f36697cadb
tree2368dbef378f82cb8c57b37a09f5f262b479b885
parentb34bd5e5c8f356ec206e5a306ee3a9b6f42c4315
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>
os-posix.c
vl.c