On Wed, Dec 10, 2014 at 07:11:52PM +0100, Dario Faggioli wrote:
[...]
> +
> +  logm("Will run the benchmark on host with: $bcpus vcpus and $bmem MB RAM");
> +
> +  my $kernver= get_runvar('kernel_ver',$r{'kernbuildjob'});
> +  my $kopt= "maxcpus=$bcpus mem=$bmem" . "M";
> +
> +  if ($ho->{Flags}{'need-uboot-bootscr'}) {
> +      $bl= setupboot_uboot($ho,$kernver,undef,$kopt);
> +  } elsif ($ho->{Suite} =~ m/lenny/) {
> +      $bl= setupboot_grub1($ho,$kernver,undef,$kopt);
> +  } else {
> +      $bl= setupboot_grub2($ho,$kernver,undef,$kopt);
> +  }
> +
> +  $bootkern= $bl->{PreFinalUpdate}();
> +  $bl->{UpdateConfig}($ho);
> +
> +  $bootkern= $bl->{GetBootKern}();
> +  logm("$ho->{Name} will reboot on kernel $bootkern with '$kopt' as 
> options");

Can you refactor debian_setup_boot to achieve your goal?

> +}
> +
> +fixup();
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to