qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Serge Hallyn <584143@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
Date: Tue, 15 Mar 2011 13:29:41 -0000	[thread overview]
Message-ID: <20110315132941.27720.76022.malone@wampee.canonical.com> (raw)
In-Reply-To: 20100522092104.29268.17427.malonedeb@soybean.canonical.com

Please test the packages uploaded in comment #6 (or, if you're on
maverick, comment #7) and comment if they work for you.  Once verified
we can merge the linked bzr trees.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/584143

Title:
  qemu fails to set hdd serial number

Status in QEMU:
  Fix Released
Status in “qemu-kvm” package in Ubuntu:
  Fix Released
Status in “qemu-kvm” source package in Lucid:
  In Progress
Status in “qemu-kvm” source package in Maverick:
  In Progress
Status in “qemu-kvm” package in Debian:
  Unknown

Bug description:
  The -drive ...,serial=xyz option is broken, at least in 0.12.  See
  Debian bug#573439, http://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=573439 for details.

  The proposed fix from the original reporter:

  --- qemu-kvm-0.12.3+dfsg/vl.c	2010-02-26 11:34:00.000000000 +0900
  +++ qemu-kvm-0.12.3+dfsg.old/vl.c	2010-03-11 02:26:00.134217787 +0900
  @@ -2397,7 +2397,7 @@
       dinfo->on_write_error = on_write_error;
       dinfo->opts = opts;
       if (serial)
  -        strncpy(dinfo->serial, serial, sizeof(serial));
  +        strncpy(dinfo->serial, serial, sizeof(dinfo->serial));
       QTAILQ_INSERT_TAIL(&drives, dinfo, next);
       if (is_extboot) {
           extboot_drive = dinfo;

  parent reply	other threads:[~2011-03-15 13:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
2010-05-22 16:13 ` [Qemu-devel] [Bug 584143] " Loïc Minier
2010-05-24 14:55 ` C de-Avillez
2010-06-02 20:36 ` Luiz Capitulino
2010-06-16 20:03 ` Rob
2010-06-29  7:31 ` Коренберг Марк
2011-01-01 14:34 ` Aurelien Jarno
2011-02-20 17:13 ` Aurelien Jarno
2011-03-14 22:34 ` Serge Hallyn
2011-03-15  2:48 ` Launchpad Bug Tracker
2011-03-15  2:54 ` Launchpad Bug Tracker
2011-03-15  4:05 ` Serge Hallyn
2011-03-15  4:13 ` Serge Hallyn
2011-03-15  4:25 ` Serge Hallyn
2011-03-15 13:29 ` Serge Hallyn [this message]
2011-03-15 13:37 ` Serge Hallyn
2011-03-15 22:34 ` Serge Hallyn
2011-08-10 23:02 ` Bug Watch Updater
2013-07-06 11:34 ` Adolfo Jayme Barrientos

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=20110315132941.27720.76022.malone@wampee.canonical.com \
    --to=584143@bugs.launchpad.net \
    --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).