line |
stmt |
code |
1
|
|
# Copyright 2018 SUSE LLC |
2
|
|
# SPDX-License-Identifier: GPL-2.0-or-later |
3
|
|
|
4
|
|
=head2 OpenQA::Qemu::DrivePath |
5
|
|
|
6
|
|
One drive device can be connected via multiple paths (e.g. connected to |
7
|
|
multiple SCSI controllers). This represents a single connection from a drive |
8
|
|
to a controller. |
9
|
|
|
10
|
|
=cut |
11
|
|
|
12
|
|
use Mojo::Base -base, -signatures; |
13
|
16
|
|
|
16
|
|
|
16
|
|
14
|
|
has 'id'; |
15
|
|
has 'controller'; |
16
|
|
|
17
|
|
|
18
|
8
|
$self->id($map->{id}) |
|
8
|
|
|
8
|
|
|
8
|
|
19
|
|
->controller($cont_conf->get_controller($map->{controller})); |
20
|
8
|
} |
|
8
|
|
|
8
|
|
|
8
|
|
|
8
|
|
21
|
|
|
22
|
8
|
|
23
|
|
1; |