qemu fails to set hdd serial number
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned | ||
qemu-kvm (Debian) |
Fix Released
|
Unknown
|
|||
qemu-kvm (Ubuntu) |
Fix Released
|
Medium
|
Serge Hallyn |
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://
The proposed fix from the original reporter:
--- qemu-kvm-
+++ qemu-kvm-
@@ -2397,7 +2397,7 @@
dinfo-
dinfo->opts = opts;
if (serial)
- strncpy(
+ strncpy(
QTAILQ_
if (is_extboot) {
Changed in qemu-kvm (Ubuntu Lucid): | |
status: | New → Confirmed |
Changed in qemu: | |
status: | In Progress → Fix Committed |
Changed in qemu: | |
status: | Fix Committed → Fix Released |
Changed in qemu-kvm (Ubuntu Maverick): | |
status: | New → In Progress |
Changed in qemu-kvm (Ubuntu Lucid): | |
status: | Confirmed → In Progress |
description: | updated |
tags: | added: verification-needed |
Changed in qemu-kvm (Debian): | |
status: | Unknown → Fix Released |
no longer affects: | qemu-kvm (Ubuntu Lucid) |
no longer affects: | qemu-kvm (Ubuntu Maverick) |
Patch still applies on top of qemu-kvm.git and qemu.git