Bug 476956

Summary: RFE: ability to add serial device
Product: [Fedora] Fedora Reporter: Julio Merino <julio>
Component: virt-managerAssignee: Daniel Berrangé <berrange>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 10CC: berrange, clalance, crobinso, hbrock, j.golderer, markmc, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: virt-manager-0.8.0-1.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-11 16:14:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Julio Merino 2008-12-18 09:59:48 UTC
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!

Comment 1 Cole Robinson 2008-12-18 15:13:53 UTC
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.

Comment 2 Cole Robinson 2009-07-14 23:59:27 UTC
virt-manager now has a wizard for adding serial and parallel devices. Moving to POST.

Comment 3 Mark McLoughlin 2009-08-11 16:14:10 UTC
I think it makes sense to close this as fixed in rawhide, we're probably not going to get this in Fedora 10.