[libvirt] [PATCH 0/2] qemu: Limit backing chain to max 200 layers (blockdev-add saga)
Peter Krempa
pkrempa at redhat.com
Wed Sep 4 15:34:17 UTC 2019
More than 256 deep element tree break with our XML parser. Backing
chains are one of the simple ways to get there. Forbid them. Note that
the practical limit/sane approach is way less than 200.
Peter Krempa (2):
qemu: domain: Refactor cleanup in qemuDomainDetermineDiskChain
qemu: Prevent storage causing too much nested XML
src/qemu/qemu_domain.c | 91 +++++++++++++++++++++++++++++++-----------
src/qemu/qemu_domain.h | 4 ++
src/qemu/qemu_driver.c | 6 +++
3 files changed, 78 insertions(+), 23 deletions(-)
--
2.21.0
More information about the libvir-list
mailing list