This series introduces simple reboot timeout support. That means what
should be done in case all boot options fail, reboot or not. And if
yes, then how long the machine should wait.
Before adding the support for that into XML parser, builder, and qemu,
I felt the need to cleanup the boot parsing and enums (I couldn't look
at that), so that's the first patch. Most of it is mechanical, the
rest should be pretty straight-forward.
---
v2:
- modified according to mprivozn and danpb
- ACK'd patch not sent
Martin Kletzander (3):
Add support for reboot-timeout
qemu: Add support for reboot-timeout
QEMU Tests for reboot-timeout
docs/formatdomain.html.in | 11 +++++--
docs/schemas/domaincommon.rng | 24 +++++++++++----
src/conf/domain_conf.c | 34 ++++++++++++++++++----
src/conf/domain_conf.h | 3 ++
src/qemu/qemu_capabilities.c | 4 +++
src/qemu/qemu_capabilities.h | 1 +
src/qemu/qemu_command.c | 28 ++++++++++++++++++
tests/qemuargv2xmltest.c | 4 +++
.../qemuxml2argv-reboot-timeout-disabled.args | 3 ++
.../qemuxml2argv-reboot-timeout-disabled.xml | 21 +++++++++++++
.../qemuxml2argv-reboot-timeout-enabled.args | 3 ++
.../qemuxml2argv-reboot-timeout-enabled.xml | 21 +++++++++++++
tests/qemuxml2argvtest.c | 5 ++++
tests/qemuxml2xmltest.c | 4 +++
14 files changed, 151 insertions(+), 15 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-reboot-timeout-disabled.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-reboot-timeout-disabled.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-reboot-timeout-enabled.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-reboot-timeout-enabled.xml
--
1.7.12