This allows us to abolish CfgPathVar which was inconsistently used,
appears redundant with $gho->{CfgPath} and in any case never set to
anything other than 'cfgpath'.
This was intended to deal with toolstacks with a different cfg format
(such as very early versions of xl) but is no longer relevant.
I think if this need arises again in a future toolstack this
functionality could be reintroduced pretty trivially via the toolstack
abstraction which is added by this series.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Host => $ho,
NewDaemons => [qw(libvirtd)],
Dom0MemFixed => 1,
- CfgPathVar => 'cfgpath',
ExtraPackages => [qw(libnl1 libavahi-client3)],
}, $class;
}
NewDaemons => [qw(xend)],
OldDaemonInitd => 'xend',
_Command => 'xm',
- CfgPathVar => 'cfgpath',
Dom0MemFixed => 1,
}, $class;
}
NewDaemons => [],
Dom0MemFixed => 1,
_Command => 'xl',
- CfgPathVar => 'cfgpath',
RestoreNeedsConfig => 1,
}, $class;
}
sub start () {
guest_umount_lv($ho, $gho);
- toolstack($ho)->create($r{ $gho->{Guest}.'_'. toolstack($ho)->{CfgPathVar} });
+ guest_create($gho);
}
sub checkstart () {