Bug 1745868
Summary: | Remove the support for 'virtio-input-host-pci-{non-}transitional model | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Fangge Jin <fjin> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
libvirt sub component: | General | QA Contact: | Lili Zhu <lizhu> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | jdenemar, jsuchane, lizhu, lmen, meili, pkrempa, virt-maint, xuzhang, yafu |
Version: | 9.0 | Keywords: | Triaged |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-8.1.0-1.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-15 10:03:03 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: | 8.1.0 |
Embargoed: |
Description
Fangge Jin
2019-08-27 06:15:03 UTC
commit ae8add363a54e30ebf1c71e8644fe626a5029c33 Author: Ján Tomko <jtomko> CommitDate: 2022-01-18 19:13:40 +0100 qemu: remove support for transitional virtio-input-host virtio-input is virtio-1.0 only and these models have been only present in one upstream QEMU release, then removed by: commit d923e30578a65392e50e530e3a29b2edf5c51c5b virtio-input-host-pci: cleanup types https://bugzilla.redhat.com/show_bug.cgi?id=1745868 Signed-off-by: Ján Tomko <jtomko> Reviewed-by: Andrea Bolognani <abologna> git describe: v8.0.0-88-gae8add363a Tested with: libvirt-8.2.0-1.fc35.x86_64 1.try to edit the guest xml with <input type='passthrough' bus='virtio' model='virtio-transitional'> <source evdev='/dev/input/event1234/> </input> # virsh edit avocado-vt-vm1 error: unsupported configuration: virtio (non-)transitional models are not supported for input type=passthrough Failed. Try again? [y,n,i,f,?]: 2. try to edit the guest xml with <input type='passthrough' bus='virtio' model='virtio-non-transitional'> <source evdev='/dev/input/event1234/> </input> # virsh edit avocado-vt-vm1 error: unsupported configuration: virtio (non-)transitional models are not supported for input type=passthrough Failed. Try again? [y,n,i,f,?]: Verified this bug with: libvirt-8.2.0-1.el9.x86_64 Scenario 1: 1.try to edit the guest xml with <input type='passthrough' bus='virtio' model='virtio-transitional'> <source evdev='/dev/input/event1234/> </input> # virsh edit avocado-vt-vm1 error: unsupported configuration: virtio (non-)transitional models are not supported for input type=passthrough Failed. Try again? [y,n,i,f,?]: 2. try to edit the guest xml with <input type='passthrough' bus='virtio' model='virtio-non-transitional'> <source evdev='/dev/input/event1234/> </input> # virsh edit avocado-vt-vm1 error: unsupported configuration: virtio (non-)transitional models are not supported for input type=passthrough Failed. Try again? [y,n,i,f,?]: Scenario 2: 3. prepare a guest with the following xml: </input> <input type='passthrough' bus='virtio' model='virtio-non-transitional'> <source evdev='/dev/input/event1234'/> </input> 4. define the guest # virsh define avocado-vt-vm1.xml error: Failed to define domain from avocado-vt-vm1.xml error: unsupported configuration: virtio (non-)transitional models are not supported for input type=passthrough 5. prepare a guest with the following xml: </input> <input type='passthrough' bus='virtio' model='virtio-transitional'> <source evdev='/dev/input/event1234'/> </input> 6. define the guest # virsh define avocado-vt-vm1.xml error: Failed to define domain from avocado-vt-vm1.xml error: unsupported configuration: virtio (non-)transitional models are not supported for input type=passthrough Scenario 3: 7. prepare a xml file: # cat pass.xml </input> <input type='passthrough' bus='virtio' model='virtio-transitional'> <source evdev='/dev/input/event1234'/> </input> 8. attach the xml to guest # virsh attach-device avocado-vt-vm1 pass.xml error: Failed to attach device from pass.xml error: unsupported configuration: virtio (non-)transitional models are not supported for input type=passthrough 9. prepare a xml file: # cat pass.xml </input> <input type='passthrough' bus='virtio' model='virtio-non-transitional'> <source evdev='/dev/input/event1234'/> </input> 10. attach the xml to guest # virsh attach-device avocado-vt-vm1 pass.xml error: Failed to attach device from pass.xml error: unsupported configuration: virtio (non-)transitional models are not supported for input type=passthrough As the test results match with the expected result, mark the bug as verified. 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 (Low: libvirt security, bug fix, and enhancement update), 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/RHSA-2022:8003 |