]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: avoid slash characters to the new domain name.
authorJulio Faracco <jcfaracco@gmail.com>
Tue, 1 May 2018 15:56:08 +0000 (12:56 -0300)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 3 May 2018 15:25:01 +0000 (11:25 -0400)
commit4e1a9702194eab22cb7b5fb34bd84fc47800223d
treebb977f39323011d7db2f2e54734f5af547c6711d
parentd2f5bb714f7a943da7609e877818626d8fd3113f
qemu: avoid slash characters to the new domain name.

The 'domrename' command needs to check if the new domain name contains
the slash character. This character is not accepted by libvirt XML
definition because it is an invalid char (see Cole's commit b1fc6a7b7).
This commit enhace the 'domrename' command adding this check.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1333232

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_driver.c