Bug 639983 - libvirt allows you to create a domain with " (double quote) in the name
Summary: libvirt allows you to create a domain with " (double quote) in the name
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-04 13:37 UTC by Richard W.M. Jones
Modified: 2012-04-08 13:21 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-04-08 13:21:42 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.