diff options
author | Jiri Denemark <jdenemar@redhat.com> | 2012-10-11 22:33:46 +0200 |
---|---|---|
committer | Jiri Denemark <jdenemar@redhat.com> | 2012-10-12 10:55:32 +0200 |
commit | f95560b3fe5e239ed85ec01885ed5eb872439e98 (patch) | |
tree | 7af1af82edcf1767e5270fb2f53f815243718e52 /docs | |
parent | c0fab8710679886bb5cabac6a622a13e9e142669 (diff) | |
download | libvirt-f95560b3fe5e239ed85ec01885ed5eb872439e98.tar.gz |
conf: Mark missing optional USB devices in domain XML
When startupPolicy set for a USB devices allows such device to be
missing, there was no way this could be detected from domain XML. With
this patch, libvirt emits a new missing='yes' attribute for such devices
when active domain XML is generated.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/schemas/domaincommon.rng | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index b142716adc..70bc0e207d 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -1654,6 +1654,14 @@ </optional> <interleave> <element name="source"> + <optional> + <attribute name="missing"> + <choice> + <value>yes</value> + <value>no</value> + </choice> + </attribute> + </optional> <choice> <group> <ref name="usbproduct"/> |