qemu: assume seccomp sandbox is supported since qemu 1.2

Currently there is no way to detect it via QMP and requesting "-sandbox
off" works correctly even if it was compiled out, so this will work
unless someone both requests the sandbox in qemu.conf and builds QEMU
without the support for it.
This commit is contained in:
Ján Tomko 2012-12-10 16:28:55 +01:00 committed by Michal Privoznik
parent c2fbb3c656
commit 6543a459ef

View File

@ -2283,6 +2283,7 @@ qemuCapsInitQMPBasic(qemuCapsPtr caps)
qemuCapsSet(caps, QEMU_CAPS_WAKEUP);
qemuCapsSet(caps, QEMU_CAPS_NO_USER_CONFIG);
qemuCapsSet(caps, QEMU_CAPS_NETDEV_BRIDGE);
qemuCapsSet(caps, QEMU_CAPS_SECCOMP_SANDBOX);
}