[libvirt] [PATCH v4 1/5] conf: Introduce optional startupPolicy attribute for cdrom and floppy

Daniel P. Berrange berrange at redhat.com
Thu Oct 20 15:56:53 UTC 2011


On Thu, Oct 20, 2011 at 04:52:48PM +0200, Michal Privoznik wrote:
> This attribute says what to do with cdrom (or floppy) if
> the source is missing. It accepts:
> - mandatory - fail if missing for any reason (the default)
> - requisite - fail if missing on boot up, drop if missing on
>               migrate/restore/revert
> - optional  - drop if missing at any start attempt.
> 
> However, this patch introduces only XML part of this new
> functionality.
> ---
>  docs/formatdomain.html.in                          |   26 +++++++++++-
>  docs/schemas/domaincommon.rng                      |   22 +++++++++-
>  src/conf/domain_conf.c                             |   43 ++++++++++++++++++-
>  src/conf/domain_conf.h                             |   11 +++++
>  src/libvirt_private.syms                           |    2 +
>  .../qemuxml2xmlout-disk-cdrom-empty.xml            |   31 ++++++++++++++
>  6 files changed, 127 insertions(+), 8 deletions(-)
>  create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-cdrom-empty.xml

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list