[PATCHv3 0/4] qemu: Add seccomp sandbox support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series adds support to run QEMU with seccomp sandbox enabled. It can be
configured in qemu.conf to on, off, or the QEMU default, which is off in 1.2.
Default value is the QEMU default.

V1 of the patches supports tri-state configuration and includes a test for
detecting the capability.

V2 includes libvirtd_qemu.aug, renames vague 'sandbox' to 'seccompSandbox'
and prints an error if the sandbox was requested but QEMU doesn't have the
capability.

V3 is a rebase, needed after the addition of usb-redir.filter and the change
of virBitmapPtr to qemuCapsPtr.

Ján Tomko (4):
  qemu: add capability flag for seccomp sandbox
  qemu: conf: add seccomp_sandbox option
  qemu: add -sandbox to command line if requested
  tests: add qemu-1.2.0 help data

 src/qemu/libvirtd_qemu.aug           |    1 +
 src/qemu/qemu.conf                   |    8 +
 src/qemu/qemu_capabilities.c         |    3 +
 src/qemu/qemu_capabilities.h         |    1 +
 src/qemu/qemu_command.c              |   11 ++
 src/qemu/qemu_conf.c                 |    5 +
 src/qemu/qemu_conf.h                 |    1 +
 tests/qemuhelpdata/qemu-1.2.0        |  270 ++++++++++++++++++++++++++++++++++
 tests/qemuhelpdata/qemu-1.2.0-device |  181 +++++++++++++++++++++++
 tests/qemuhelptest.c                 |   82 ++++++++++
 10 files changed, 563 insertions(+), 0 deletions(-)
 create mode 100644 tests/qemuhelpdata/qemu-1.2.0
 create mode 100644 tests/qemuhelpdata/qemu-1.2.0-device

-- 
1.7.8.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]