]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: align disk serial check to schema
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Tue, 28 Mar 2017 08:10:53 +0000 (11:10 +0300)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 2 Aug 2017 23:19:55 +0000 (19:19 -0400)
commitcc6d43bb49815feada35a99f07f8ae6160847f3e
tree168f887e8e9a3a9b10d8bada7852d3402f910e2c
parentdc4c2f75ab233561f47c8804667ed129dad05d69
qemu: command: align disk serial check to schema

Disk serial schema has extra '.+' allowed characters in comparison
with check in code. Looks like there is no reason for that as qemu
allows any character AFAIK for serial. This discrepancy is originated
in commit id '85d15b51' where the ability to add serial was added.

Alter the disk-serial test to add a disk with all the possible
characters listed as the serial value.
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-disk-serial.args
tests/qemuxml2argvdata/qemuxml2argv-disk-serial.xml