[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST RFC 4/5] ts-debian-fixup: remove dead code
Per c7910040 ("Osstest.pm, toolstack()->; always use "cfg", not separate xl configs"), we only pick the config file with .cfg suffix. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- ts-debian-fixup | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/ts-debian-fixup b/ts-debian-fixup index d8b51b7..f001418 100755 --- a/ts-debian-fixup +++ b/ts-debian-fixup @@ -163,23 +163,6 @@ sub writecfg () { target_putfile_root($ho,10, $cfgstash, $cfgfile); } -sub xlcfg () { - my $cfg_xend= target_var($gho,'cfgpath'); - my $cfg_xl= "/etc/xen/$gho->{Name}.xl"; - store_runvar("$gho->{Guest}_xlpath", $cfg_xl); - target_editfile_root($ho, $cfg_xend, undef, $cfg_xl, sub { - local ($/)= undef; - $_= <EI>; - s/^ [ \t]* memory [ \t]* \= [ \t]* ['"] (.+) ['"] [ \t]* - $/memory=$1/mx; - s/([[,])\s*\n/$1/g; - s/,\s*\]/\]/g; - s/([^#\n].*)\n/$1;\n/mg; - s/\n\n+/\n/g; - print EO or die $!; - }); -} - savecfg(); ether(); target_kernkind_check($gho); @@ -188,5 +171,4 @@ console(); filesystems(); otherfixupcfg(); writecfg(); -xlcfg(); unmount(); -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |