[libvirt] [PATCH] examples: test: Kill unsupported maxMemory element

Peter Krempa pkrempa at redhat.com
Wed Aug 20 13:14:55 UTC 2014


The "maxMemory" element was never supported by libvirt. Remove it from
the test XMLs. (Found while actually trying to add support for a
identically named element).
---
 examples/xml/test/testdomfv0.xml     | 1 -
 examples/xml/test/testnodeinline.xml | 1 -
 2 files changed, 2 deletions(-)

diff --git a/examples/xml/test/testdomfv0.xml b/examples/xml/test/testdomfv0.xml
index 157c8ec..fc209cc 100644
--- a/examples/xml/test/testdomfv0.xml
+++ b/examples/xml/test/testdomfv0.xml
@@ -7,7 +7,6 @@
     <boot dev='hd'/>
   </os>
   <memory>524288</memory>
-  <maxMemory>1524288</maxMemory>
   <vcpu>4</vcpu>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
diff --git a/examples/xml/test/testnodeinline.xml b/examples/xml/test/testnodeinline.xml
index b353f39..0ec0f1a 100644
--- a/examples/xml/test/testnodeinline.xml
+++ b/examples/xml/test/testnodeinline.xml
@@ -17,7 +17,6 @@
       <boot dev="hd"/>
     </os>
     <memory>524288</memory>
-    <maxMemory>1524288</maxMemory>
     <vcpu>4</vcpu>
     <on_poweroff>destroy</on_poweroff>
     <on_reboot>restart</on_reboot>
-- 
2.0.2




More information about the libvir-list mailing list