On 12/04/12 12:46, Luiz Capitulino wrote:
> On Mon, 03 Dec 2012 16:55:35 +0100
> Ján Tomko <jto...@redhat.com> wrote:
> 
>> Hello,
>>
>> is there a way to check if QEMU was compiled with --enable-seccomp via QMP?
> 
> Not that I'm aware of. Could you describe your use-case?

It's for libvirt. The detection is broken since the switch from parsing
-help output to QMP and I wanted to fix it.

Assuming it's supported if we do capabilities detection via QMP (since
libvirt 1.0.0 and QEMU 1.2) would work except for this case:
If seccomp sandbox was requested in /etc/libvirt/qemu.conf, but it was
compiled out from qemu, libvirt would try to run QEMU with -sandbox on
instead of printing an error earlier.

Jan

Reply via email to