[libvirt] [PATCH 0/2] qemu: Limit backing chain to max 200 layers (blockdev-add saga)

Peter Krempa posted 2 patches 4 years, 7 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1567611165.git.pkrempa@redhat.com
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(-)
[libvirt] [PATCH 0/2] qemu: Limit backing chain to max 200 layers (blockdev-add saga)
Posted by Peter Krempa 4 years, 7 months ago
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

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