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
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.
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.