]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
conf: Introduce optional startupPolicy attribute for cdrom and floppy
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 17 Oct 2011 14:54:03 +0000 (16:54 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Oct 2011 07:22:42 +0000 (09:22 +0200)
commite5a84d74a2789a917bf394f15de9989ec48fded0
tree7544145fed142672a98d9a4c533b78236e958d96
parentb1836a254e3fda45cf754be283c1c37330574409
conf: Introduce optional startupPolicy attribute for cdrom and floppy

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
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-cdrom-empty.xml [new file with mode: 0644]