Re: [libvirt] [PATCH v4 03/13] Adds xml entries for memory tunables

2010-10-12 Thread Daniel Veillard
On Fri, Oct 08, 2010 at 05:45:12PM +0530, Nikunj A. Dadhania wrote:
 From: Nikunj A. Dadhania nik...@linux.vnet.ibm.com
 
 The patch adds xml entries to the domain.rng file.
 

  Except for spurious tabs, looks fine, ACK,

Daniel

-- 
Daniel Veillard  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
dan...@veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

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


[libvirt] [PATCH v4 03/13] Adds xml entries for memory tunables

2010-10-08 Thread Nikunj A. Dadhania
From: Nikunj A. Dadhania nik...@linux.vnet.ibm.com

The patch adds xml entries to the domain.rng file.

v2:
+ Fix typo min_guarantee

Acked-by: Daniel P. Berrange berra...@redhat.com
Signed-off-by: Nikunj A. Dadhania nik...@linux.vnet.ibm.com
---
 docs/schemas/domain.rng |   31 +++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng
index 2e0457b..6cbace0 100644
--- a/docs/schemas/domain.rng
+++ b/docs/schemas/domain.rng
@@ -299,6 +299,37 @@
   /optional
 /element
   /optional
+
+  !-- All the memory/swap related tunables would go in the memtune --
+  optional
+   element name=memtune
+ !-- Maximum memory the VM can use --
+ optional
+   element name=hard_limit
+ ref name=memoryKB/
+   /element
+ /optional
+ !-- Minimum memory ascertained for the VM during contention --
+ optional
+   element name=soft_limit
+ ref name=memoryKB/
+   /element
+ /optional
+ !-- Minimum amount of memory required to start the VM --
+ optional
+   element name=min_guarantee
+ ref name=memoryKB/
+   /element
+ /optional
+ !-- Maximum swap area the VM can use --
+ optional
+   element name=swap_hard_limit
+ ref name=memoryKB/
+   /element
+ /optional
+   /element
+  /optional
+
   optional
 element name=vcpu
   optional

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