| 265 | } |
| 266 | |
| 267 | void PrimaryDevice::ReserveUnit() |
| 268 | { |
| 269 | reserving_initiator = GetController()->GetInitiatorId(); |
| 270 | |
| 271 | if (reserving_initiator != -1) { |
| 272 | LogTrace("Reserved device for initiator ID " + to_string(reserving_initiator)); |
| 273 | } |
| 274 | else { |
| 275 | LogTrace("Reserved device for unknown initiator"); |
| 276 | } |
| 277 | |
| 278 | EnterStatusPhase(); |
| 279 | } |
| 280 | |
| 281 | void PrimaryDevice::ReleaseUnit() |
| 282 | { |
nothing calls this directly
no test coverage detected