Bug 639987

Summary: libvirt allows you to create a domain with ; (semicolon) in the name
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: crobinso, feniksa, jyang, xen-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: 2012-04-08 13:21:28 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:

Description Richard W.M. Jones 2010-10-04 13:44:15 UTC
Description of problem:

The error message is different again from the other characters:

  $ sudo virsh start \;                                                         
  error: command 'start' requires <domain> option                               

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

libvirt-0.8.3-2.fc14.x86_64
qemu-0.13.0-0.7.rc1.fc14.x86_64

How reproducible:

Always.

Steps to Reproduce:
1. Put <name>;</name> in the libvirt XML.
2. Define the domain (succeeds).
3. Start the domain (fails).

Comment 1 Maxim Sditanov 2012-04-02 11:46:44 UTC
I think, this bug fixed in virsh 0.9.10

Comment 2 Cole Robinson 2012-04-08 13:21:28 UTC
Closing as UPSTREAM as mentioned here:

https://www.redhat.com/archives/libvir-list/2012-April/msg00035.html