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

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



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


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