From: John Snow <jsnow@redhat.com>
To: Alan Latteri <alan@instinctual.tv>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] unable to set SATA serial with a spaces
Date: Thu, 19 Feb 2015 17:12:43 -0500 [thread overview]
Message-ID: <54E65FDB.4050708@redhat.com> (raw)
In-Reply-To: <CA3A858C-164A-4196-80D0-9E02569704A2@instinctual.tv>
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
next prev parent reply other threads:[~2015-02-19 22:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 19:48 [Qemu-devel] unable to set SATA serial with a spaces Alan Latteri
2015-02-19 22:12 ` John Snow [this message]
2015-02-19 22:14 ` Alan Latteri
2015-02-20 7:42 ` Markus Armbruster
2015-02-20 8:04 ` Alan Latteri
2015-02-20 9:28 ` Markus Armbruster
2015-02-21 3:40 ` Alan Latteri
2015-02-23 10:18 ` Markus Armbruster
2015-02-23 11:41 ` Michal Privoznik
2015-02-24 9:47 ` Alan Latteri
2015-02-20 9:18 ` Alan Latteri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54E65FDB.4050708@redhat.com \
--to=jsnow@redhat.com \
--cc=alan@instinctual.tv \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).