Bug 639983

Summary: libvirt allows you to create a domain with " (double quote) 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, 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:42 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:37:37 UTC
Description of problem:

libvirt allows you to create a domain with " (double quote)
in the name.  However the qemu driver will not let this
domain be started.  It says:

$ sudo virsh list --all
 Id Name                 State
----------------------------------
  - "                    shut off

$ sudo virsh start \"
error: missing "

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>&quot;</name> in the libvirt XML.
2. Define the domain (should succeed).
3. Start the domain (fails).

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

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