Red Hat Bugzilla – Bug 444617
custom xm config changes wiped out by domain redefinition
Last modified: 2010-10-22 20:34:20 EDT
Description of problem:
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):
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.
The guest domain definition information is changed unexpectedly.
The guest domain definition information keeps.
usb support added into libvirt for 5.2 here
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
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.
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.