d7a3c0d319
Allow device plugin to list attached and available devices. Enforce at API level every device being exposed by some domain. This commit only changes devices API, but not update existing users (pci) yet. QubesOS/qubes-issues#2257
46 lines
1.2 KiB
XML
46 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<qubes version="3.0">
|
|
<properties>
|
|
<property name="default_netvm" ref="domain-1" />
|
|
</properties>
|
|
|
|
<labels>
|
|
<label id="label-1" color="#cc0000">red</label>
|
|
</labels>
|
|
|
|
<domains>
|
|
<domain class="QubesVM" id="domain-1">
|
|
<properties>
|
|
<property name="qid">1</property>
|
|
<property name="name">netvm</property>
|
|
<property name="label" ref="label-1" />
|
|
</properties>
|
|
|
|
<features>
|
|
<feature name="meminfo-writer"></feature>
|
|
<feature name="qubes-firewall">1</feature>
|
|
</features>
|
|
|
|
<devices class="pci">
|
|
<device backend-domain="dom0" id="01:23.45"/>
|
|
</devices>
|
|
</domain>
|
|
|
|
<domain class="QubesVM" id="domain-2">
|
|
<properties>
|
|
<property name="qid">2</property>
|
|
<property name="name">appvm</property>
|
|
<property name="label" ref="label-1" />
|
|
</properties>
|
|
|
|
<tags>
|
|
<tag name="userdef">qwe123</tag>
|
|
</tags>
|
|
</domain>
|
|
</domains>
|
|
</qubes>
|
|
|
|
<!--
|
|
vim: ts=4 sw=4 et
|
|
-->
|