[PATCH v2][TCK 1/2] Extend image and memory size for installing guest

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

 



In fedora 17 with less than 512M memory will cause installation hang,
also the previous image size is too small, so improve them.
---
 lib/Sys/Virt/TCK/NetworkHelpers.pm |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Sys/Virt/TCK/NetworkHelpers.pm b/lib/Sys/Virt/TCK/NetworkHelpers.pm
index 6ff9eaa..f7f6d70 100644
--- a/lib/Sys/Virt/TCK/NetworkHelpers.pm
+++ b/lib/Sys/Virt/TCK/NetworkHelpers.pm
@@ -66,7 +66,7 @@ sub build_domain{
 
     # We want a bigger disk than normal
     $guest->rmdisk();
-    my $diskpath = $tck->create_sparse_disk("nwfilter", "main.img", 2048);
+    my $diskpath = $tck->create_sparse_disk("nwfilter", "main.img", 5120);
     $guest->disk(src => $diskpath,
 		 dst => "vda",
 		 type=> "file");
@@ -107,8 +107,8 @@ sub build_domain{
     }
 
     # common configuration
-    $guest->maxmem("524288");
-    $guest->memory("524288");
+    $guest->maxmem("1048576");
+    $guest->memory("1048576");
     $guest->graphics(type => "vnc",
 		     port => "-1",
 		     autoport => "yes",
-- 
1.7.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]