Red Hat Bugzilla – Bug 476956
RFE: ability to add serial device
Last modified: 2009-08-11 12:14:10 EDT
I have created a new virtual machine from the "Virtual Machine Manager" application. I seletect the Guest OS type "Generic" and configured the partitions, CPU and all other details. I am using the QEMU backend on a x86_64 machine running Fedora 10.
When I go to the Hardware tab of the virtual machine, I see that there is a "Serial 0" device described as:
Serial Device (Primary Console)
Device Type: pty
Target Port: 0
Source Path: /dev/pts/1
I deleted this device from the virtual machine configuration but now want to readd it. However, this is not possible from the interface. The "Add hardware" dialog does not provide any option to add a new serial device. But it should, at least to be able to restore the original one!
This is a virt-manager issue, so reassigning to that.
You're correct, we haven't implemented a wizard for adding character devices. You can work around this in the interim:
- Make sure the VM is shutoff.
- virsh edit vmname
- Add <serial type='pty'/> somewhere in the <devices><devices/> block
- Save and exit.
The VM should now see a serial device on next start.
virt-manager now has a wizard for adding serial and parallel devices. Moving to POST.
I think it makes sense to close this as fixed in rawhide, we're probably not going to get this in Fedora 10.