Re: Test results (was: Re: Valid characters in domain names?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are also some obvious ones I missed before:

*** <name>-</name> ***

virsh define - OK
virsh list - OK
virsh start - OK
virt-viewer - OK
virt-df - OK
virsh destroy - OK
virt-list-filesystems - OK

Note to start it you need:

  sudo virsh -- start -

For virt-df you need:

  sudo virt-df -- -

and similarly for other virt tools.

The qemu command line is:

  /usr/bin/qemu-kvm -S -M fedora-13 -enable-kvm -m 256 -smp 1,sockets=1,cores=1,threads=1 -name - -uuid [...]

which I was a bit surprised by.  I guess qemu's command line parsing
is quite ad hoc.

*** <name>&nbsp;</name> ***

error: Failed to define domain from /tmp/chars.xml
error: at line 2: Entity 'nbsp' not defined

*** <name>&#xa0;</name> ***

Note that U+00A0 is Unicode non-breaking space.

virsh define - OK(!)
virsh list - OK(!)
virsh start - OK(!)
virt-viewer - OK(!)
virt-df - OK(!)
virsh destroy - OK(!)
virt-list-filesystems - OK(!)

This is very surprising, but it all does work.

  $ sudo virsh destroy ' '
  Domain   destroyed
  $ sudo virt-df ' '
  Filesystem                           1K-blocks       Used  Available  Use%
   :/dev/sda1                             31725        396      29691    2%

Let's go a step further down this whitespace road:

*** <name> </name> ***

virsh define - OK(!)
virsh list - OK(!)
virsh start - FAILED
virt-viewer - n/a
virt-df - OK(!)
virsh destroy - n/a
virt-list-filesystems - OK(!)

  $ sudo virsh start ' '
  error: command 'start' requires <domain> option
  $ sudo virt-df ' '
  Filesystem                           1K-blocks       Used  Available  Use%
   :/dev/sda1                              31725        396      29691    2%

*** <name>&#x7f;</name> ***

virsh define - OK
virsh list - OK
virsh start - OK
virt-viewer - OK
virt-df - OK
virsh destroy - OK
virt-list-filesystems - OK

This one is tricky to test.  You can't type or copy this character.
However if you create a file containing this character then you can
do:

  $ sudo virsh start $(cat /tmp/del)
  Domain started

etc and I was able to verify that all the commands above work fine.

I haven't filed any more bugs for these ones.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]