Hide Forgot
Description of problem: virt-manager domain name is not correct in domain list ,if domain name has special character . if you double click domain name you will get the correct name on the top of the new window. Version-Release number of selected component (if applicable): libvirt-0.9.4-2.el6.x86_64 virt-manager-0.9.0-5.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. create a domain xml name should be like following: ... <name>ESX4.1-<x86>;1#1-2</name> ... save xml as test.xml 2. #virsh create test.xml 3. virsh list Id Name State ---------------------------------- 50 ESX4.1-<x86>;1#1-2 running 4. virt-manager correct name is "ESX4.1-<x86>;1#1-2" Actual results: when mouse pass the domain name ,it will change . Expected results: show correct name in domain list Additional info: domain's operation windows of virt-manager can show the correct name of domain , so domain list also should show the correct domain name
Fixed upstream: http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=8a513361522780fcc126ec2ded48839ecc24ef6e
Fixed in virt-manager-0.9.0-6.el6
Verified PASS with below environment: # uname -r 2.6.32-191.el6.x86_64 qemu-kvm-0.12.1.2-2.184.el6.x86_64 libvirt-0.9.4-6.el6.x86_64 virt-manager-0.9.0-6.el6.x86_64 python-virtinst-0.600.0-3.el6.noarch Steps: 1. Prepare a guest xml # cat guest.xml ... <name>ESX4.1-<x86>;1#1-2</name> ... 2. # virsh create guest.xml 3. # virsh list Id Name State ---------------------------------- 50 ESX4.1-<x86>;1#1-2 running 4. Launch virt-manager, this guest name can be displayed correctly in VMM window, Basic details and guest window title. ----------- I can reproduce this bug with virt-manager-0.9.0-5.el6.x86_64.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: virt-manager was not properly escaping reserved XML characters in domain names when showing them in the main vm list. Consequence: vm's with reserved XML characters in their name would not be shown correctly in the main vm list. Fix: Properly escape vm names Result: VM name's shown correctly in the main vm list
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1642.html