]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: support use of virtlogd with file based chardevs
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 23 Feb 2016 13:41:57 +0000 (13:41 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 10 Mar 2016 15:43:19 +0000 (15:43 +0000)
commitfcd3fa385fd8eb775c16a362358bece9657debd7
treebc24726a9be9d30e7ffcd94997c7b6f0184c9353
parent3e12ec4a1e7a6c362ed34a25ddec728200364a03
qemu: support use of virtlogd with file based chardevs

Currently the file based character devices let QEMU write
directly to a file on disk. This allows a malicious QEMU
to inflict a denial of service by consuming all free space.

Switch QEMU to use a pipe to virtlogd, which will enforce
file rollover.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/qemu/qemu_command.c