// GetBaseVM requests a paused VM and convert it to gRPC protocol.
GetBaseVM requests a paused VM and convert it to gRPC protocol.
// GetBaseVM requests a paused VM and convert it to gRPC protocol .
func (s *cacheServer) GetBaseVM(ctx context.Context, empty *types.Empty) (*pb.GrpcVM, error) {
	config := s.factory.Config()
	vm, err := s.factory.GetBaseVM(ctx, config)
	if err != nil {
		return nil, errors.Wrapf(err, "failed to GetBaseVM")
	}
	return vm.ToGrpc(config)
}
func ( s * cacheServer ) GetBaseVM ( ctx context . Context , empty * types . Empty ) ( * pb . GrpcVM , error ) { config := s . factory . Config ( ) vm , err := s . factory . GetBaseVM ( ctx , config ) if err != nil { return nil , errors . Wrapf ( err , " " ) } return vm . ToGrpc ( config ) }
GetBaseVM requests a paused VM and convert it to gRPC protocol.
GetBaseVM requests a paused VM and convert it to gRPC protocol .