* Memory ballooning deactivated by the guest
@ 2010-01-04 9:20 Daniel Bareiro
2010-01-04 9:30 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Bareiro @ 2010-01-04 9:20 UTC (permalink / raw)
To: KVM General
[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]
Hi all!
I'm using Linux 2.6.32.2 with qemu-kvm-0.12.1.1 and, testing memory
ballooning, I obtained the following message:
root@ubuntu:~# telnet localhost 5001
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
QEMU 0.12.1 monitor - type 'help' for more information
(qemu)
(qemu)
(qemu)
(qemu) info balloon
The balloon device has not been activated by the guest
I have understood that to do balooning it is sufficient that kernel of
guest is compiled with virtio-balloon driver:
test:~# uname -a
Linux test 2.6.32-dgb #1 SMP Thu Dec 24 23:42:21 ART 2009 x86_64
GNU/Linux
test:~#
test:~#
test:~#
test:~# cat /boot/config-2.6.32-dgb | grep -i virtio
CONFIG_NET_9P_VIRTIO=m
CONFIG_VIRTIO_BLK=m
CONFIG_VIRTIO_NET=m
# CONFIG_VIRTIO_CONSOLE is not set
CONFIG_HW_RANDOM_VIRTIO=m
CONFIG_VIRTIO=m
CONFIG_VIRTIO_RING=m
CONFIG_VIRTIO_PCI=m
CONFIG_VIRTIO_BALLOON=m
Which can be the problem?
Thanks in advance.
Regards,
Daniel
--
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Memory ballooning deactivated by the guest
2010-01-04 9:20 Memory ballooning deactivated by the guest Daniel Bareiro
@ 2010-01-04 9:30 ` Avi Kivity
2010-01-04 10:08 ` Daniel Bareiro
0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2010-01-04 9:30 UTC (permalink / raw)
To: dbareiro, KVM General
On 01/04/2010 11:20 AM, Daniel Bareiro wrote:
> Hi all!
>
> I'm using Linux 2.6.32.2 with qemu-kvm-0.12.1.1 and, testing memory
> ballooning, I obtained the following message:
>
> root@ubuntu:~# telnet localhost 5001
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> QEMU 0.12.1 monitor - type 'help' for more information
> (qemu)
> (qemu)
> (qemu)
> (qemu) info balloon
> The balloon device has not been activated by the guest
>
You need to add '-balloon virtio' to the qemu command line (the error
message is incorrect).
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Memory ballooning deactivated by the guest
2010-01-04 9:30 ` Avi Kivity
@ 2010-01-04 10:08 ` Daniel Bareiro
2010-01-04 10:12 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Bareiro @ 2010-01-04 10:08 UTC (permalink / raw)
To: KVM General; +Cc: Avi Kivity
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
Hi, Avi.
On Monday, 04 January 2010 11:30:23 +0200,
Avi Kivity wrote:
>> I'm using Linux 2.6.32.2 with qemu-kvm-0.12.1.1 and, testing memory
>> ballooning, I obtained the following message:
>>
>> root@ubuntu:~# telnet localhost 5001
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>> QEMU 0.12.1 monitor - type 'help' for more information
>> (qemu)
>> (qemu)
>> (qemu)
>> (qemu) info balloon
>> The balloon device has not been activated by the guest
> You need to add '-balloon virtio' to the qemu command line (the error
> message is incorrect).
What do you mean whereupon the error message is incorrect?
Before I didn't need to use '-balloon virtio', although this was when I
used kvm-88. This is a necessary requirement when using recent versions
of qemu-kvm?
If now it is necessary, it could be useful to indicate it in the online
documentation [1].
Thanks for your speedy reply.
Regards,
Daniel
[1] http://www.linux-kvm.org/page/Virtio
--
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Memory ballooning deactivated by the guest
2010-01-04 10:08 ` Daniel Bareiro
@ 2010-01-04 10:12 ` Avi Kivity
0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2010-01-04 10:12 UTC (permalink / raw)
To: dbareiro, KVM General
On 01/04/2010 12:08 PM, Daniel Bareiro wrote:
>
>>> (qemu) info balloon
>>> The balloon device has not been activated by the guest
>>>
>> You need to add '-balloon virtio' to the qemu command line (the error
>> message is incorrect).
>>
> What do you mean whereupon the error message is incorrect?
>
It should say the balloon device is not activated by the host.
> Before I didn't need to use '-balloon virtio', although this was when I
> used kvm-88. This is a necessary requirement when using recent versions
> of qemu-kvm?
>
Yes.
> If now it is necessary, it could be useful to indicate it in the online
> documentation [1].
>
>
> [1] http://www.linux-kvm.org/page/Virtio
>
That page is more about I/O, ballooning deserves a page of its own.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-04 10:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-04 9:20 Memory ballooning deactivated by the guest Daniel Bareiro
2010-01-04 9:30 ` Avi Kivity
2010-01-04 10:08 ` Daniel Bareiro
2010-01-04 10:12 ` Avi Kivity
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).