From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgOc3-0005Xi-06 for qemu-devel@nongnu.org; Mon, 11 Jul 2011 18:06:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgOby-00045t-Jd for qemu-devel@nongnu.org; Mon, 11 Jul 2011 18:05:57 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:51718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgOby-00045Z-2I for qemu-devel@nongnu.org; Mon, 11 Jul 2011 18:05:54 -0400 Message-ID: <4E1B73B8.9030002@web.de> Date: Tue, 12 Jul 2011 00:05:44 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4E1767E8.40803@feikar.sk> In-Reply-To: <4E1767E8.40803@feikar.sk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBF49BC632C5EBD61FC9B6354" Sender: jan.kiszka@web.de Subject: Re: [Qemu-devel] Fixed bug [Bug 38672] - bugzilla.kernel.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan BOSAK Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBF49BC632C5EBD61FC9B6354 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2011-07-08 22:26, Stefan BOSAK wrote: > Hello. >=20 > Bug is in (xen-mapcache.c): >=20 > Reported-by: Steve > Signed-off-by: Steve >=20 > diff --git a/xen-mapcache.c b/xen-mapcache.c > index 57fe24d..1c3b5bf 100644 > --- a/xen-mapcache.c > +++ b/xen-mapcache.c > @@ -107,7 +107,7 @@ void qemu_map_cache_init(void) > size =3D mapcache->nr_buckets * sizeof (MapCacheEntry); > size =3D (size + XC_PAGE_SIZE - 1) & ~(XC_PAGE_SIZE - 1); > DPRINTF("qemu_map_cache_init, nr_buckets =3D %lx size %lu\n", > mapcache->nr_buckets, size); > - mapcache->entry =3D qemu_mallocz(size); > + mapcache->entry =3D qemu_mallocz(size*sizeof(MapCacheEntry)); This is obviously (see a few lines above) already correct and can't be related to your problems - the Xen bits aren't even executed in KVM mode.= The bug you stumbled over finally cost my nerves today as well. The regression comes from commit 38bee5dc94. I'll poke the author. Jan --------------enigBF49BC632C5EBD61FC9B6354 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4bc7wACgkQitSsb3rl5xSHagCglPcFFVHTXfEvuOKccmdviFS7 m/4AnjnId4QK9zUaKThnsI9Yf24aaaY0 =CD2Y -----END PGP SIGNATURE----- --------------enigBF49BC632C5EBD61FC9B6354--