Re: [Qemu-devel] unable to set SATA serial with a spaces

2015-02-24 Thread Alan Latteri
Bug 1195660 https://bugzilla.redhat.com/show_bug.cgi?id=1195660 has been added to the database On Feb 23, 2015, at 3:41 AM, Michal Privoznik mpriv...@redhat.com wrote: On 23.02.2015 11:18, Markus Armbruster wrote: Alan Latteri a...@instinctual.tv writes: The left padding is important and

Re: [Qemu-devel] unable to set SATA serial with a spaces

2015-02-23 Thread Michal Privoznik
On 23.02.2015 11:18, Markus Armbruster wrote: Alan Latteri a...@instinctual.tv writes: The left padding is important and necessary to keep for my particular application. This is broken in libvirt, but works fine with direct Qemu invocation. Thank you for the help. Please file a bug

Re: [Qemu-devel] unable to set SATA serial with a spaces

2015-02-23 Thread Markus Armbruster
Alan Latteri a...@instinctual.tv writes: The left padding is important and necessary to keep for my particular application. This is broken in libvirt, but works fine with direct Qemu invocation. Thank you for the help. Please file a bug against libvirt, so this gets fixed.

Re: [Qemu-devel] unable to set SATA serial with a spaces

2015-02-20 Thread Alan Latteri
From what I can tell in the code, padstr() is only coded in the IDE section, not SCSI/SATA? On Feb 19, 2015, at 11:42 PM, Markus Armbruster arm...@redhat.com wrote: John Snow js...@redhat.com mailto:js...@redhat.com writes: On 02/19/2015 02:48 PM, Alan Latteri wrote: I am virtualzing a

Re: [Qemu-devel] unable to set SATA serial with a spaces

2015-02-20 Thread Alan Latteri
Yes, left pad. This is a strace of the authorization program via VirtualBox data[96]=[\0\200\0\24ABCD1234\0\0\0\0\0\0\0\0…] then the same thing using the serial setting no spaces in QEMU. data[96]=[\0\200\0\024ABCD1234\0\0\0\0\0\0\0\0…] The spaces matter here. I tried

Re: [Qemu-devel] unable to set SATA serial with a spaces

2015-02-20 Thread Markus Armbruster
Alan Latteri a...@instinctual.tv writes: Yes, left pad. This is a strace of the authorization program via VirtualBox data[96]=[\0\200\0\24ABCD1234\0\0\0\0\0\0\0\0…] then the same thing using the serial setting no spaces in QEMU. data[96]=[\0\200\0\024ABCD1234

Re: [Qemu-devel] unable to set SATA serial with a spaces

2015-02-20 Thread Alan Latteri
The left padding is important and necessary to keep for my particular application. This is broken in libvirt, but works fine with direct Qemu invocation. Thank you for the help. Alan On Feb 20, 2015, at 1:28 AM, Markus Armbruster arm...@redhat.com wrote: Alan Latteri

Re: [Qemu-devel] unable to set SATA serial with a spaces

2015-02-19 Thread John Snow
On 02/19/2015 02:48 PM, Alan Latteri wrote: 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.

Re: [Qemu-devel] unable to set SATA serial with a spaces

2015-02-19 Thread Alan Latteri
I have a software that I was able to virtualize on VirtualBox by setting the HD serial using the spaces easily. Using the same parameters minus the spaces with QEMU, the software will not license. Only different I can see is this. On Feb 19, 2015, at 2:12 PM, John Snow js...@redhat.com

Re: [Qemu-devel] unable to set SATA serial with a spaces

2015-02-19 Thread Markus Armbruster
John Snow js...@redhat.com writes: On 02/19/2015 02:48 PM, Alan Latteri wrote: 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