qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Memory ballooning: wrong size?
@ 2012-09-29 18:01 Tiziano Müller
  0 siblings, 0 replies; only message in thread
From: Tiziano Müller @ 2012-09-29 18:01 UTC (permalink / raw)
  To: qemu-devel

Hi everyone

A look through recent changes didn't reveal anything (or I missed it),
so please excuse me if this is already fixed, but with qemu-1.1.1 and
guest linux kernels 3.3.x and 3.5.0 the size of the memory qemu sets
via memory ballooning and what the guest sees do not match:

hmp: `balloon 1024` -> `grep MemTotal /proc/meminfo`: 904565 kB

where I would rather expect 1019768 (which is what one would get with
'-m 1024' only).

The factor is constant 1/1024 with "-m 4096" but seems to change
depending on the (maximum) memory set via "-m ...".

I first expected libvirt to be the culprit here, but manually modifying
the balloon via monitor passthrough revealed that something between qemu
and guest virtio must go wrong.

Any ideas? What do/did I miss?

Thanks in advance,
Tiziano

-- 
stepping stone GmbH
Neufeldstrasse 9
CH-3012 Bern
Telefon: +41 31 332 53 63
www.stepping-stone.ch
tiziano.mueller@stepping-stone.ch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-29 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-29 18:01 [Qemu-devel] Memory ballooning: wrong size? Tiziano Müller

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