Bug 1808390
| Summary: | [RHEL-AV-8.2 libvirt] Unable to start a VM with a Tape Library passed through from the hypervisor | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Andrea Bolognani <abologna> |
| Component: | libvirt | Assignee: | Andrea Bolognani <abologna> |
| Status: | CLOSED ERRATA | QA Contact: | gaojianan <jgao> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.2 | CC: | hhan, jdenemar, jsuchane, lmen, mtessun, virt-maint, xuzhang |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | 8.2 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-6.0.0-9.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-05 09:57:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1808400 | ||
|
Description
Andrea Bolognani
2020-02-28 11:46:27 UTC
Verified on
libvirt-6.0.0-9.virtcov.el8.x86_64
Step:
1.Prepare a tape class scsi device
# lshw -c tape -businfo
Bus info Device Class Description
========================================================
scsi@8:0.0.0 /dev/nst0 tape scsi_debug
2.Edit guest xml and start the guest with the following xml:
<hostdev mode='subsystem' type='scsi' managed='no'>
<source>
<adapter name='scsi_host8'/>
<address bus='0' target='0' unit='0'/>
</source>
</hostdev>
# virsh start test1
Domain test1 started
3.Log in to the guest to check the device:
# lsscsi
[0:0:0:0] tape Linux scsi_debug 0188 /dev/st0
Work as expected
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2017 |