Unable to set scsi drive serial if it contains spaces.
Public bug reported:
I am virtualzing a physical server for which I need to set the SCSI/SATA drive serial. It is comprised of 12 " " spaces then 8 letter/digits. If I exclude the spaces, the drive serial is not accurate. If I include the spaces I get the following error.
error: Failed to start domain test1
error: internal error: driver serial ' ABCD1234' contains unsafe characters
virsh edit
Centos 7.0
3.19.0-1.el7.elrepo.x86_64
QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7.centos.7), Copyright (c) 2003-2008 Fabrice Bellard
** Affects: qemu
Importance: Undecided
Status: New
** Affects: qemu-kvm
Importance: Undecided
Status: New
** Also affects: qemu-kvm
Importance: Undecided
Status: New
Signature · 28 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1423668 Title: Unable to set scsi drive serial if it contains spaces. Status in QEMU: New Status in qemu-kvm: New Bug description: I am virtualzing a physical server for which I need to set the SCSI/SATA drive serial. It is comprised of 12 " " spaces then 8 letter/digits. If I exclude the spaces, the drive serial is not accurate. If I include the spaces I get the following error. error: Failed to start domain test1 error: internal error: driver serial ' ABCD1234' contains unsafe characters virsh edit Centos 7.0 3.19.0-1.el7.elrepo.x86_64 QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7.centos.7), Copyright (c) 2003-2008 Fabrice Bellard To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1423668/+subscriptions
Quoted 9 lines · Alan Latteri
Public bug reported:
I am virtualzing a physical server for which I need to set the SCSI/SATA drive serial. It is comprised of 12 " " spaces then 8 letter/digits. If I exclude the spaces, the drive serial is not accurate. If I include the spaces I get the following error.
error: Failed to start domain test1
error: internal error: driver serial ' ABCD1234' contains unsafe characters
Message comes from libvirt, not QEMU. Recommend to take the bug there.
This error message comes from libvirt, not from QEMU, so please report the error there if it still persists: https://libvirt.org/bugs.html
** Changed in: qemu
Status: New => Invalid
Signature · 28 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1423668 Title: Unable to set scsi drive serial if it contains spaces. Status in QEMU: Invalid Status in qemu-kvm: New Bug description: I am virtualzing a physical server for which I need to set the SCSI/SATA drive serial. It is comprised of 12 " " spaces then 8 letter/digits. If I exclude the spaces, the drive serial is not accurate. If I include the spaces I get the following error. error: Failed to start domain test1 error: internal error: driver serial ' ABCD1234' contains unsafe characters virsh edit Centos 7.0 3.19.0-1.el7.elrepo.x86_64 QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7.centos.7), Copyright (c) 2003-2008 Fabrice Bellard To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1423668/+subscriptions