https://bugzilla.redhat.com/show_bug.cgi?id=589465
This patch series only works for creation of a transient domain from
XML, because only virDomainCreateXML() had a flag parameter (the
virDomainCreate() API is rather lacking, in that respect). As such,
the series is minimally invasive, and can hopefully be backported
easily to places like RHEL6. If desired, a later patch can add hooks
(either a new XML element, or a new command comparable to autostart
that can toggle the state of a hidden field associated with domains)
so that virDomainCreate() can also be used to start a paused domain,
but that will be more invasive.
Eric Blake (3):
virDomainCreateXML: support new flag
qemu: allow creation of a paused domain
virsh: add --paused option to create
include/libvirt/libvirt.h.in | 3 ++-
src/libvirt.c | 2 +-
src/lxc/lxc_driver.c | 7 +++++--
src/opennebula/one_driver.c | 8 ++++++--
src/openvz/openvz_driver.c | 4 +++-
src/phyp/phyp_driver.c | 4 +++-
src/qemu/qemu_driver.c | 28 +++++++++++++++++++---------
src/test/test_driver.c | 4 +++-
src/uml/uml_driver.c | 4 +++-
src/vbox/vbox_tmpl.c | 8 ++++++--
src/xen/xend_internal.c | 4 +++-
src/xenapi/xenapi_driver.c | 4 +++-
tools/virsh.c | 6 +++++-
tools/virsh.pod | 6 ++++--
14 files changed, 66 insertions(+), 26 deletions(-)