The following patch adds support for setting the disk error policy to the domain XML and
using it when setting up the qemu command line. It specifies the
werror=somepolicy,rerror=somepolicy flags to tell qemu what to do in the case of an io
error. This patch is my first foray into the setup of the qemu command line, so please
review with heightened care.
Dave
David Allan (1):
Add disk error policy to domain XML
docs/schemas/domain.rng | 12 +++++++++++-
src/conf/domain_conf.c | 15 +++++++++++++++
src/conf/domain_conf.h | 10 ++++++++++
src/libvirt_private.syms | 2 +-
src/qemu/qemu_conf.c | 12 +++++++++---
tests/qemuhelptest.c | 1 +
tests/qemuxml2argvtest.c | 3 +++
7 files changed, 50 insertions(+), 5 deletions(-)