qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurel32@debian.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
Date: Sat, 01 Jan 2011 14:34:37 -0000	[thread overview]
Message-ID: <20110101143438.20128.68308.launchpad@soybean.canonical.com> (raw)
In-Reply-To: 20100522092104.29268.17427.malonedeb@soybean.canonical.com

** Changed in: qemu
       Status: In Progress => Fix Committed

-- 
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 Committed
Status in “qemu-kvm” package in Ubuntu:
  Triaged
Status in “qemu-kvm” source package in Lucid:
  Confirmed
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-01-01 14:41 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 [this message]
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
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=20110101143438.20128.68308.launchpad@soybean.canonical.com \
    --to=aurel32@debian.org \
    --cc=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).