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

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

 



---
 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

--
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]