]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Mark missing optional USB devices in domain XML
authorJiri Denemark <jdenemar@redhat.com>
Thu, 11 Oct 2012 20:33:46 +0000 (22:33 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 12 Oct 2012 08:55:32 +0000 (10:55 +0200)
commitf95560b3fe5e239ed85ec01885ed5eb872439e98
tree7af1af82edcf1767e5270fb2f53f815243718e52
parentc0fab8710679886bb5cabac6a622a13e9e142669
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.
docs/schemas/domaincommon.rng
src/conf/domain_conf.c