('/capabilities/host/migration_features/live');
}
-sub check_for_command($$) {
+sub _check_for_command($$) {
my ($self,$cmd) = @_;
my $ho = $self->{Host};
my $help = target_cmd_output_root($ho, "virsh help");
my ($self) = @_;
return
_check_capability($self, '/capabilities/host/migration_features') &&
- check_for_command($self, "save");
+ _check_for_command($self, "save");
}
sub migrate ($$$$) {
target_cmd_root($ho,"$self->{_Command} shutdown -w${acpi_fallback} $gn", $timeout);
}
-sub check_for_command($$) {
+sub _check_for_command($$) {
my ($self,$cmd) = @_;
my $ho = $self->{Host};
my $help = target_cmd_output_root($ho, $self->{_Command}." help");
sub migrate_check ($$) {
my ($self,$local) = @_;
- return check_for_command($self, "migrate");
+ return _check_for_command($self, "migrate");
}
sub saverestore_check ($) {
my ($self) = @_;
- return check_for_command($self, "save");
+ return _check_for_command($self, "save");
}
sub migrate ($$$$) {