qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number
@ 2010-05-22  9:21 Michael Tokarev
  2010-05-22 16:13 ` [Qemu-devel] [Bug 584143] " Loïc Minier
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Michael Tokarev @ 2010-05-22  9:21 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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;

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: patch

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

Status in QEMU: New

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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
@ 2010-05-22 16:13 ` Loïc Minier
  2010-05-24 14:55 ` C de-Avillez
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Loïc Minier @ 2010-05-22 16:13 UTC (permalink / raw)
  To: qemu-devel

Patch still applies on top of qemu-kvm.git and qemu.git

** Bug watch added: Debian Bug tracker #573439
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573439

** Also affects: qemu-kvm (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573439
   Importance: Unknown
       Status: Unknown

** Also affects: qemu-kvm (Ubuntu)
   Importance: Undecided
       Status: New

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

Status in QEMU: New
Status in “qemu-kvm” package in Ubuntu: New
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  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
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: C de-Avillez @ 2010-05-24 14:55 UTC (permalink / raw)
  To: qemu-devel

Marking Triaged/Medium. Debian has accepted the patch, and a new
(patched) package is in Unstable. May be considered for SRU-ing into
10.04 LTS, so nominating.

** Changed in: qemu-kvm (Ubuntu)
   Importance: Undecided => Medium

** Changed in: qemu-kvm (Ubuntu)
       Status: New => Triaged

** Also affects: qemu-kvm (Ubuntu Lucid)
   Importance: Undecided
       Status: New

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

Status in QEMU: New
Status in “qemu-kvm” package in Ubuntu: Triaged
Status in “qemu-kvm” source package in Lucid: New
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  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
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Luiz Capitulino @ 2010-06-02 20:36 UTC (permalink / raw)
  To: qemu-devel

Bug exists in both current master and stable v0.12.4, but the suggested
fix doesn't leave room for the null terminating byte, will submit
upstream a better version.

** Changed in: qemu
       Status: New => In Progress

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

Status in QEMU: In Progress
Status in “qemu-kvm” package in Ubuntu: Triaged
Status in “qemu-kvm” source package in Lucid: New
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (2 preceding siblings ...)
  2010-06-02 20:36 ` Luiz Capitulino
@ 2010-06-16 20:03 ` Rob
  2010-06-29  7:31 ` Коренберг Марк
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Rob @ 2010-06-16 20:03 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu-kvm (Ubuntu Lucid)
       Status: New => Confirmed

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

Status in QEMU: In Progress
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (3 preceding siblings ...)
  2010-06-16 20:03 ` Rob
@ 2010-06-29  7:31 ` Коренберг Марк
  2011-01-01 14:34 ` Aurelien Jarno
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Коренберг Марк @ 2010-06-29  7:31 UTC (permalink / raw)
  To: qemu-devel

-drive file=/dev/mmwork/testl7,if=ide,index=0,boot=on,format=raw,serial
=WD-WMAM9TD73523,cache=writeback

Yeah, bug exists. only WD-W serial is seen inside VM.

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

Status in QEMU: In Progress
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (4 preceding siblings ...)
  2010-06-29  7:31 ` Коренберг Марк
@ 2011-01-01 14:34 ` Aurelien Jarno
  2011-02-20 17:13 ` Aurelien Jarno
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Aurelien Jarno @ 2011-01-01 14:34 UTC (permalink / raw)
  To: qemu-devel

** 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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (5 preceding siblings ...)
  2011-01-01 14:34 ` Aurelien Jarno
@ 2011-02-20 17:13 ` Aurelien Jarno
  2011-03-14 22:34 ` Serge Hallyn
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Aurelien Jarno @ 2011-02-20 17:13 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
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:
  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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (6 preceding siblings ...)
  2011-02-20 17:13 ` Aurelien Jarno
@ 2011-03-14 22:34 ` Serge Hallyn
  2011-03-15  2:48 ` Launchpad Bug Tracker
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Serge Hallyn @ 2011-03-14 22:34 UTC (permalink / raw)
  To: qemu-devel

Patch with fix is at http://patchwork.ozlabs.org/patch/77142/mbox/.  It
is in 0.14.0 so marked natty bug as fix released.  I will propose merge
of the fix for maverick and lucid.

** Changed in: qemu-kvm (Ubuntu)
     Assignee: (unassigned) => Serge Hallyn (serge-hallyn)

** Also affects: qemu-kvm (Ubuntu Maverick)
   Importance: Undecided
       Status: New

** Changed in: qemu-kvm (Ubuntu)
       Status: Triaged => Fix Released

** Changed in: qemu-kvm (Ubuntu Lucid)
     Assignee: (unassigned) => Serge Hallyn (serge-hallyn)

** Changed in: qemu-kvm (Ubuntu Maverick)
     Assignee: (unassigned) => Serge Hallyn (serge-hallyn)

-- 
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:
  Confirmed
Status in “qemu-kvm” source package in Maverick:
  New
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (7 preceding siblings ...)
  2011-03-14 22:34 ` Serge Hallyn
@ 2011-03-15  2:48 ` Launchpad Bug Tracker
  2011-03-15  2:54 ` Launchpad Bug Tracker
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Launchpad Bug Tracker @ 2011-03-15  2:48 UTC (permalink / raw)
  To: qemu-devel

** Branch linked: lp:~serge-hallyn/ubuntu/lucid/qemu-kvm/hdd-serial

-- 
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:
  Confirmed
Status in “qemu-kvm” source package in Maverick:
  New
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (8 preceding siblings ...)
  2011-03-15  2:48 ` Launchpad Bug Tracker
@ 2011-03-15  2:54 ` Launchpad Bug Tracker
  2011-03-15  4:05 ` Serge Hallyn
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Launchpad Bug Tracker @ 2011-03-15  2:54 UTC (permalink / raw)
  To: qemu-devel

** Branch linked: lp:~serge-hallyn/ubuntu/maverick/qemu-kvm/hdd-serial

-- 
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:
  Confirmed
Status in “qemu-kvm” source package in Maverick:
  New
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (9 preceding siblings ...)
  2011-03-15  2:54 ` Launchpad Bug Tracker
@ 2011-03-15  4:05 ` Serge Hallyn
  2011-03-15  4:13 ` Serge Hallyn
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Serge Hallyn @ 2011-03-15  4:05 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "amd64 debs for lucid"
   https://bugs.launchpad.net/qemu/+bug/584143/+attachment/1909175/+files/hdd-lucid-debs.tgz

-- 
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:
  Confirmed
Status in “qemu-kvm” source package in Maverick:
  New
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (10 preceding siblings ...)
  2011-03-15  4:05 ` Serge Hallyn
@ 2011-03-15  4:13 ` Serge Hallyn
  2011-03-15  4:25 ` Serge Hallyn
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Serge Hallyn @ 2011-03-15  4:13 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "amd64 debs for maverick"
   https://bugs.launchpad.net/qemu/+bug/584143/+attachment/1909178/+files/hdd-mav-debs.tgz

-- 
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:
  Confirmed
Status in “qemu-kvm” source package in Maverick:
  New
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (11 preceding siblings ...)
  2011-03-15  4:13 ` Serge Hallyn
@ 2011-03-15  4:25 ` Serge Hallyn
  2011-03-15 13:29 ` Serge Hallyn
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Serge Hallyn @ 2011-03-15  4:25 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu-kvm (Ubuntu Maverick)
       Status: New => In Progress

** Changed in: qemu-kvm (Ubuntu Lucid)
       Status: Confirmed => In Progress

-- 
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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (12 preceding siblings ...)
  2011-03-15  4:25 ` Serge Hallyn
@ 2011-03-15 13:29 ` Serge Hallyn
  2011-03-15 13:37 ` Serge Hallyn
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Serge Hallyn @ 2011-03-15 13:29 UTC (permalink / raw)
  To: qemu-devel

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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (13 preceding siblings ...)
  2011-03-15 13:29 ` Serge Hallyn
@ 2011-03-15 13:37 ` Serge Hallyn
  2011-03-15 22:34 ` Serge Hallyn
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Serge Hallyn @ 2011-03-15 13:37 UTC (permalink / raw)
  To: qemu-devel

** Description changed:

+ =========================================
+ SRU Justification:
+ 1. Impact: 'qemu -drive ...,serial=xyz' does not work
+ 2. How addressed: a patch from upstream fixes bug that sizeof was called on the wrong thing.
+ 3. patch: is in the description
+ 4. to reproduce: use '-drive ...,serial=xyz' option to qemu
+ 5. regression potential:  this only changes one line which called sizeof on the wrong thing, so should not impact any other code.
+ =========================================
+ 
  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)
+      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;
+      QTAILQ_INSERT_TAIL(&drives, dinfo, next);
+      if (is_extboot) {
+          extboot_drive = dinfo;

-- 
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:
  =========================================
  SRU Justification:
  1. Impact: 'qemu -drive ...,serial=xyz' does not work
  2. How addressed: a patch from upstream fixes bug that sizeof was called on the wrong thing.
  3. patch: is in the description
  4. to reproduce: use '-drive ...,serial=xyz' option to qemu
  5. regression potential:  this only changes one line which called sizeof on the wrong thing, so should not impact any other code.
  =========================================

  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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (14 preceding siblings ...)
  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
  17 siblings, 0 replies; 19+ messages in thread
From: Serge Hallyn @ 2011-03-15 22:34 UTC (permalink / raw)
  To: qemu-devel

** Tags added: verification-needed

-- 
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:
  =========================================
  SRU Justification:
  1. Impact: 'qemu -drive ...,serial=xyz' does not work
  2. How addressed: a patch from upstream fixes bug that sizeof was called on the wrong thing.
  3. patch: is in the description
  4. to reproduce: use '-drive ...,serial=xyz' option to qemu
  5. regression potential:  this only changes one line which called sizeof on the wrong thing, so should not impact any other code.
  =========================================

  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;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (15 preceding siblings ...)
  2011-03-15 22:34 ` Serge Hallyn
@ 2011-08-10 23:02 ` Bug Watch Updater
  2013-07-06 11:34 ` Adolfo Jayme Barrientos
  17 siblings, 0 replies; 19+ messages in thread
From: Bug Watch Updater @ 2011-08-10 23:02 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu-kvm (Debian)
       Status: Unknown => Fix Released

-- 
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:
  Fix Released

Bug description:
  =========================================
  SRU Justification:
  1. Impact: 'qemu -drive ...,serial=xyz' does not work
  2. How addressed: a patch from upstream fixes bug that sizeof was called on the wrong thing.
  3. patch: is in the description
  4. to reproduce: use '-drive ...,serial=xyz' option to qemu
  5. regression potential:  this only changes one line which called sizeof on the wrong thing, so should not impact any other code.
  =========================================

  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;

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/584143/+subscriptions

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number
  2010-05-22  9:21 [Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number Michael Tokarev
                   ` (16 preceding siblings ...)
  2011-08-10 23:02 ` Bug Watch Updater
@ 2013-07-06 11:34 ` Adolfo Jayme Barrientos
  17 siblings, 0 replies; 19+ messages in thread
From: Adolfo Jayme Barrientos @ 2013-07-06 11:34 UTC (permalink / raw)
  To: qemu-devel

** No longer affects: qemu-kvm (Ubuntu Lucid)

** No longer affects: qemu-kvm (Ubuntu Maverick)

-- 
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” package in Debian:
  Fix Released

Bug description:
  =========================================
  SRU Justification:
  1. Impact: 'qemu -drive ...,serial=xyz' does not work
  2. How addressed: a patch from upstream fixes bug that sizeof was called on the wrong thing.
  3. patch: is in the description
  4. to reproduce: use '-drive ...,serial=xyz' option to qemu
  5. regression potential:  this only changes one line which called sizeof on the wrong thing, so should not impact any other code.
  =========================================

  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;

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/584143/+subscriptions

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-07-06 11:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).