The runvar <gn>_cmdline is used for the rumpuserxen guest command
line. Previously "3" (a binary flags word meaningful to the test/demo
program included in rumpuser-xen.git) was hardcoded.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
$xenarch $dom0arch \
guests_rumpuserxenbuildjob=build-$rumparch-rumpuserxen \
rump_builtimage=rumpuserxen:/usr/local/lib/xen/rump-kernel/rump-kernel \
+ rump_cmdline=3 \
all_hostflags=$most_hostflags
}
$rkdist = target_extract_jobdistpath_subdir
($ho, "rumpuserxen-$gn", $builtimage_part, $buildjob);
my $imagefile = $rkdist.$builtimage_subpath;
+ my $cmdline = guest_var($gho, 'cmdline', undef);
my @images;
s# = .* # " = '$gn'" #xe if $in eq 'name';
s# = .* # " = '$imagefile'" #xe if $in eq 'kernel';
s#\b mac=[0-9a-f:]+ # "mac=$gho->{Ether}" #xe if $in eq 'vif';
- s#\b 4 \b# 3 #xe if $in eq 'extra';
+ s# = .* # " = '$cmdline'" #xe if $in eq 'extra';
if ($in eq 'disk') {
s{\b img/(\w+.ffs) \b}{