qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Alan Latteri
Subject: Re: [Qemu-devel] unable to set SATA serial with a spaces
Date: Thu, 19 Feb 2015 14:14:55 -0800

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 <address@hidden> wrote:
> 
> 
> 
> 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.
>> 
>> 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
>> 
> 
> Are you sure you need to input the spaces? the standard inquiry reply that 
> outputs the serial uses spaces as padding, so even if you use serial 
> "ABCD1234" the inquiry command is going to tell you
> "            ABCD1234".
> 
> Do you have software that relies on the serial number and can tell the 
> difference between spaces present and no spaces present?
> 
> --js




reply via email to

[Prev in Thread] Current Thread [Next in Thread]