Bug 506737

Summary: virt-manager should allow VM names with spaces in them
Product: [Fedora] Fedora Reporter: Dan Winship <danw>
Component: virt-managerAssignee: Daniel Berrangé <berrange>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: berrange, crobinso, hbrock, markmc, quintela, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-23 06:50:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 498969    

Description Dan Winship 2009-06-18 14:31:41 UTC
I want to be able to have VM names like

    Fedora 10
    Windows XP
    FreeBSD 7.2

but virt-manager won't let me. Is there any good reason for that?

Even if there's something in the system that can't deal with filenames with spaces, it could still allow spaces in the UI...

Comment 1 Mark McLoughlin 2009-06-22 16:17:43 UTC
Doesn't seem to be a reason - libvirt allows it

Comment 2 Cole Robinson 2009-06-22 17:03:00 UTC
I think the original motivation is that xen denies it: that is at least the case for xen in RHEL5 it seems. We could make this hypervisor dependent behind the scenes, but it sucks to have to make such a distinction when validating a name.

Comment 3 Daniel Berrangé 2009-06-22 17:34:08 UTC
IMHO not allowing special characters in the name is a feature. If we want to have human readable names, we should introduce a new field in the XML for storing this.

Comment 4 Mark McLoughlin 2009-06-23 06:50:40 UTC
Okay, that sounds like a WONTFIX