[PATCH 3/3] caps: add tests and documentation for hv_user and hv_group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx>
---
 docs/schemas/capability.rng               | 10 ++++++++++
 tests/capabilityschemadata/caps-test2.xml |  4 ++++
 2 files changed, 14 insertions(+)

diff --git a/docs/schemas/capability.rng b/docs/schemas/capability.rng
index 65c7c72..1a65142 100644
--- a/docs/schemas/capability.rng
+++ b/docs/schemas/capability.rng
@@ -225,6 +225,16 @@
       <optional>
         <ref name='features'/>
       </optional>
+      <optional>
+        <element name='hv_user'>
+          <ref name='genericName'/>
+        </element>
+      </optional>
+      <optional>
+        <element name='hv_group'>
+          <ref name='genericName'/>
+        </element>
+      </optional>
     </element>
   </define>
 
diff --git a/tests/capabilityschemadata/caps-test2.xml b/tests/capabilityschemadata/caps-test2.xml
index a99c1b8..4a57e44 100644
--- a/tests/capabilityschemadata/caps-test2.xml
+++ b/tests/capabilityschemadata/caps-test2.xml
@@ -76,6 +76,8 @@
       <acpi default='on' toggle='yes'/>
       <apic default='on' toggle='no'/>
     </features>
+    <hv_user>foo</hv_user>
+    <hv_group>bar</hv_group>
   </guest>
 
   <guest>
@@ -117,6 +119,8 @@
       <acpi default='on' toggle='yes'/>
       <apic default='on' toggle='no'/>
     </features>
+    <hv_user>ba-r</hv_user>
+    <hv_group>baz_</hv_group>
   </guest>
 
 </capabilities>
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]