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

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

On 08/01/2012 06:01 PM, Kyla Zhang wrote:
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
-    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",

Install in a VM with 512MB RAM freezes forever at "Trying to unpack rootfs image as initramfs"
       We encounter this problem on fedora17.
       The same problem happened before:
Most of testing machine should have more than 1 GB memory, so change the code. Kyla, you'd better give more infomation in git commite log next time, describe your problem and
       why we need to change it.


       Guannan Ren

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