mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
qemu: Allow spaces in disk serial
https://bugzilla.redhat.com/show_bug.cgi?id=1195660 There's been a bug report appearing on the qemu-devel list, that libvirt is unable to pass spaces in disk serial number [1]. Not only our RNG schema forbids that, the code is not prepared either. However, with a bit of escaping (if needed) we can allow spaces there. 1: https://lists.gnu.org/archive/html/qemu-devel/2015-02/msg04041.html Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
1 parent
41c5baeafb
commit
5aee81a0cb
5 files changed
+43
-3
No files matched your search
@@ -5089,7 +5089,7 @@
|
||||
</define>
|
||||
<define name="diskSerial">
|
||||
<data type="string">
|
||||
<param name="pattern">[A-Za-z0-9_\.\+\-]+</param>
|
||||
<param name="pattern">[A-Za-z0-9_\.\+\- ]+</param>
|
||||
</data>
|
||||
</define>
|
||||
<define name="bridgeMode">
|
||||
|
||||
Reference in new issue
Block a user