Bug 444617 - custom xm config changes wiped out by domain redefinition
Summary: custom xm config changes wiped out by domain redefinition
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 391501 409971
TreeView+ depends on / blocked
 
Reported: 2008-04-29 15:23 UTC by Adam Stokes
Modified: 2018-10-19 20:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-25 22:33:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Adam Stokes 2008-04-29 15:23:29 UTC
Description of problem:
---------------------------
# (comment)
cpu_weight = 256
usb = 1
usbdevice = "tablet"
---------------------------

After the guest started, if an iso file is connected to (or unconnected from)
the cdrom device on the guest, the configuration file in /etc/xen is changed
automatically and the above manual setting is removed. The above manual setting
should not be removed.

         * Observed behavior

The above manual setting is removed.

         * Desired behavior

The above manual setting is not removed.

Version-Release number of selected component (if applicable):
0.5.x

How reproducible:
100%

Steps to Reproduce:
 1. Start virt-manager.
2. Select guest domain.
3. Click [Details] button.
4. Select [Hardware]tab and Disk hdc.
5. Click [Connect] button at the Source Path.
   (Click [Disconnect] button at the Source Path)
6. Select [ISO image Location] or [CD-ROM or DVD].
7. Click [OK] button.
  
Actual Results:
The guest domain definition information is changed unexpectedly.

Expected Results:
The guest domain definition information keeps.


Additional info:
usb support added into libvirt for 5.2 here
http://git.et.redhat.com/?p=libvirt.git;a=commitdiff;h=6c4770deab361d2342490111ee7db7e0020ab97d

Comment 1 RHEL Program Management 2008-06-02 20:03:01 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Cole Robinson 2008-06-25 21:17:21 UTC
This does not seem to be specific to cd connect/eject: any domain redefinition
will wipe out any custom additions to the xm config, running or not. Anyways,
this is a libvirt issue. Updating the bug description and reassigning there.

Comment 3 Daniel Berrangé 2008-06-25 22:33:37 UTC
This is expected behaviour. Any parameters in the config file not supported by
libvirt will be removed. Please file BZ feature requests for /each/ individual
parameter you require representation for, so their addition to the libvirt XML
format can be tracked.


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