Your message dated Wed, 01 Jun 2011 19:52:27 +0000
with message-id <[email protected]>
and subject line Bug#625571: fixed in qemu-kvm 0.12.5+dfsg-5+squeeze3
has caused the Debian Bug report #625571,
regarding qemu-kvm migration fails on 32bit userspace
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
625571: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625571
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: qemu-kvm
Version: 0.12.0+dfsg-5
Severity: important
Tags: patch squeeze upstream pending

When perfoming migration on a 32bit userspace,
qemu-kvm aborts after glibc detects memory corruption.
This is 100% reproducible on a 32bit host userspace
(with 32 or 64bit kernel).

It has been this way since long time already.

The problem has been addressed upstream, twice,
and is described in the upstream commit:
http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=51b0c6065aa6e47a47094d73e24be298a4a7f3a1

The above commit describes the problem with the kernel
interface and fixes the second half of the problem,
namely, failure to migrate when using 32bit userspace
on a 64bit kernel.

But earlier versions of qemu-kvm failed migration on
32bits all the time, because initially (including
the version in squeeze), that code performed no buffer
size alignment at all, while kernel performed usual
rounding and hence overwrote userspace memory.  The
problem didn't happen on 64bits because malloc there
performs some "better" alignment by its own.

This first, and more important, half of the issue
were fixed silently by upstream commit
8369e01ce418edb26a6e1f65406cac650563b3da , which
is titled "kvm: port qemu-kvm's bitmap scanning".
Especially this change in kvm-all.c:

-        size = ((mem->memory_size >> TARGET_PAGE_BITS) + 7) / 8;
+        size = ALIGN(((mem->memory_size) >> TARGET_PAGE_BITS), HOST_LONG_BITS) 
/ 8;


Severity is important since migration is important
even on 32bit platfoms, because it is used, in particular,
to save/restore running guest state (migrate to file).

/mjt



--- End Message ---
--- Begin Message ---
Source: qemu-kvm
Source-Version: 0.12.5+dfsg-5+squeeze3

We believe that the bug you reported is fixed in the latest version of
qemu-kvm, which is due to be installed in the Debian FTP archive:

kvm_0.12.5+dfsg-5+squeeze3_i386.deb
  to main/q/qemu-kvm/kvm_0.12.5+dfsg-5+squeeze3_i386.deb
qemu-kvm-dbg_0.12.5+dfsg-5+squeeze3_i386.deb
  to main/q/qemu-kvm/qemu-kvm-dbg_0.12.5+dfsg-5+squeeze3_i386.deb
qemu-kvm_0.12.5+dfsg-5+squeeze3.diff.gz
  to main/q/qemu-kvm/qemu-kvm_0.12.5+dfsg-5+squeeze3.diff.gz
qemu-kvm_0.12.5+dfsg-5+squeeze3.dsc
  to main/q/qemu-kvm/qemu-kvm_0.12.5+dfsg-5+squeeze3.dsc
qemu-kvm_0.12.5+dfsg-5+squeeze3_i386.deb
  to main/q/qemu-kvm/qemu-kvm_0.12.5+dfsg-5+squeeze3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev <[email protected]> (supplier of updated qemu-kvm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 28 May 2011 13:39:58 +0400
Source: qemu-kvm
Binary: qemu-kvm qemu-kvm-dbg kvm
Architecture: source i386
Version: 0.12.5+dfsg-5+squeeze3
Distribution: stable
Urgency: low
Maintainer: Jan Lübbe <[email protected]>
Changed-By: Michael Tokarev <[email protected]>
Description: 
 kvm        - dummy transitional package from kvm to qemu-kvm
 qemu-kvm   - Full virtualization on x86 hardware
 qemu-kvm-dbg - Debugging info for qemu-kvm
Closes: 616159 619452 625206 625571
Changes: 
 qemu-kvm (0.12.5+dfsg-5+squeeze3) stable; urgency=low
 .
   * cirrus_vga:fix-division-by-0-for-color-expansion-rop-92d675d1c1.diff
    (fix from upstream) - fixes division by zero with some guests
    like WinNT 4.0 and WinME.
   * fix-vnc-zlib-overflow.diff (backport from 0.14) (closes: #616159)
   * qdev-dont-hw_error-in-qdev_init_nofail-bd6c9a61.diff -
     don't abort but exit on user errors (closes: #619452)
   * fix transitional kvm package description (closes: #625206)
   * fix long-standing migration bug on 32bits (closes: #625571)
Checksums-Sha1: 
 82772e0b9eded8bcf5f43f8ebcc1a8b14264bb32 1688 
qemu-kvm_0.12.5+dfsg-5+squeeze3.dsc
 2ab0763c2da9024685ba7d1cca9e2ce12b8ae8c6 309388 
qemu-kvm_0.12.5+dfsg-5+squeeze3.diff.gz
 6238911bb9dd2b88431f60a5b14083946247163b 1503350 
qemu-kvm_0.12.5+dfsg-5+squeeze3_i386.deb
 f3c489df4a3387650908f003187f794a288c980f 2787478 
qemu-kvm-dbg_0.12.5+dfsg-5+squeeze3_i386.deb
 c85a12c32cb2ba56745b3560e53d78c6da91bd94 13174 
kvm_0.12.5+dfsg-5+squeeze3_i386.deb
Checksums-Sha256: 
 872f38bba07a072e5d3013da9672f6f8362626be1baeddbbb98291c6ae080dc3 1688 
qemu-kvm_0.12.5+dfsg-5+squeeze3.dsc
 42ee0f687574911b351d12764b71c2b405b431b0b09885ee0c9111caf7598b01 309388 
qemu-kvm_0.12.5+dfsg-5+squeeze3.diff.gz
 a095021e9526fa9985fc999345bca92a7bb378e3fd788a11800502b23e4b5ec6 1503350 
qemu-kvm_0.12.5+dfsg-5+squeeze3_i386.deb
 021bfd4daa477f2e378e0669474d9c451ccb15c416bb60991d5c87b022363147 2787478 
qemu-kvm-dbg_0.12.5+dfsg-5+squeeze3_i386.deb
 8ed3a974addc06d9ca54a93767363c3c689c6426af9b92039bec6526a6833d00 13174 
kvm_0.12.5+dfsg-5+squeeze3_i386.deb
Files: 
 ebd4dcecea091ef9866a62d0af0b7af1 1688 misc optional 
qemu-kvm_0.12.5+dfsg-5+squeeze3.dsc
 4d7fadd09ee6e75a535b5e76d4f30495 309388 misc optional 
qemu-kvm_0.12.5+dfsg-5+squeeze3.diff.gz
 1d1c13851dcc5756c591a7b3d147be8f 1503350 misc optional 
qemu-kvm_0.12.5+dfsg-5+squeeze3_i386.deb
 2e24fa1d5b1ba49b32a6f7507f15ced0 2787478 debug extra 
qemu-kvm-dbg_0.12.5+dfsg-5+squeeze3_i386.deb
 7a01916fa3c0acd0461822266e36fee3 13174 oldlibs extra 
kvm_0.12.5+dfsg-5+squeeze3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFN5U+hn88szT8+ZCYRAskxAJ9hf77vbmqOx+OmyBw2Ohv6153/XACbB+T/
vp3QTq1ZoMj6NodFjqfXN2k=
=sB+e
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to