-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.0
-
No
-
Low
-
rhel-sst-virtualization
-
ssg_virtualization
-
1
-
Dev ack
-
False
-
-
None
-
None
-
None
-
None
-
-
aarch64
-
10.10.0
-
None
What were you trying to do that didn't work?
Unclear error info reported when detaching serial device
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
libvirt-10.9.0-1.el10.aarch64
How reproducible is this bug?:
100%
Steps to reproduce
- Prepare a running guest with serial device:
# virsh dumpxml vm2 --xpath //serial <serial type="file"> <source path="/var/lib/libvirt/serial_file_g75F-1.log"/> <target type="system-serial" port="2"> <model name="pl011"/> </target> <alias name="ua-serial1"/> </serial>
2.Prepare a serial device xml just the same with dumpxml:
#cat serial.xml <serial type="file"> <source path="/var/lib/libvirt/serial_file_g75F-1.log"/> <target type="system-serial" port="2"> <model name="pl011"/> </target> <alias name="ua-serial1"/> </serial>
3.Detach the serial device from guest:
# virsh detach-device vm2 serial.xml error: Failed to detach device from serial.xml error: An error occurred, but the cause is unknown
4.Coldunplg the serial device from guest, it completed successfully:
# virsh detach-device vm2 serial.xml --config Device detached successfully
5.The same issue with pty type serial device:
<serial type="pty"> <source path="/dev/pts/1"/> <target type="system-serial" port="0"> <model name="pl011"/> </target> <alias name="serial1"/> </serial>
Expected results
If hotunplug is supported with serial device, it should be completed successfuly.
If hotunplug is unsupported with serial device, it should be report clear error info.
Actual results
Unclear error info reported when detaching serial device
- is blocked by
-
RHEL-50577 Rebase libvirt in RHEL-10.0
- In Progress
- links to