Bug 490032 - Support configuration of character devices (serial, parallel, pv console)
Summary: Support configuration of character devices (serial, parallel, pv console)
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-virtinst
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Cole Robinson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-12 21:38 UTC by Darryl L. Pierce
Modified: 2015-06-22 00:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-13 15:05:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Darryl L. Pierce 2009-03-12 21:38:48 UTC
Description of problem:

When creating a virtual machine, it would be nice to have an option that tells virt-install "create the vm, but don't turn it on at this time".

Comment 1 Daniel Berrangé 2009-03-13 10:26:30 UTC
That is not really practical, because as part of provisioning the guest we often have to create temporary files for kernel/initrd/isos that we download. The initial XML config points to these temporary files for install, and once installed the config is updated. These temporary files are immediately deleted. So if we created, but didn't start the VM, then you wouldn't be able to start it later, because the temporary files are gone.

Can you explain the general use case / scenario you are trying to deal with, rather than a specific solution.

Comment 2 Darryl L. Pierce 2009-03-16 11:57:52 UTC
We're creating virtual machines that are used for testing purposes, using virt-install which is easier for creating the VM from a script.

One limitation we've found to this process is that virt-install does not allow us to define serial ports for the VM. So what we've done in the short term is:

1. use virt-install to define the vm
2. immediately kill the vm
3. edit the XML to inject a serial port
4. restart the vm

Perhaps an option to virt-install to create a serial port would be more practical?

Comment 3 Daniel Berrangé 2009-03-16 12:24:25 UTC
Yes, if you need serial device configuration, we should definitely add that support natively instead of hacking around it.

Comment 4 Cole Robinson 2009-10-13 15:05:29 UTC
How important is this for RHEL5? This functionality is upstream, but it would be a pretty substancial backport, so I don't think it's the best idea for 5.5.

Since you currently have a working solution, I'm closing this WONTFIX. Please reopen if this is important for 5.5


Note You need to log in before you can comment on or make changes to this bug.