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

[libvirt] [libvirt-glib] Use 1 GB of RAM in Python example (instead of 1 TB)



---
 examples/config-demo.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/config-demo.py b/examples/config-demo.py
index 6869ec3..508bbc5 100644
--- a/examples/config-demo.py
+++ b/examples/config-demo.py
@@ -4,7 +4,7 @@ from gi.repository import LibvirtGConfig;
 
 domain = LibvirtGConfig.Domain.new()
 domain.set_name("foo")
-domain.set_memory(1024*1024*1024)
+domain.set_memory(1024*1024) # 1 GB
 domain.set_vcpus(2)
 domain.set_lifecycle(LibvirtGConfig.DomainLifecycleEvent.ON_POWEROFF,
                      LibvirtGConfig.DomainLifecycleAction.DESTROY)
-- 
1.7.2.5


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