From: Daniel Bareiro <daniel-listas@gmx.net>
To: KVM General <kvm@vger.kernel.org>
Subject: Re: Doubt on KVM-88 vulnerabilities
Date: Mon, 14 Dec 2009 22:56:29 -0300 [thread overview]
Message-ID: <20091215015629.GD7639@defiant.freesoftware> (raw)
In-Reply-To: <20091214210757.GB7639@defiant.freesoftware>
[-- Attachment #1: Type: text/plain, Size: 1946 bytes --]
Hi, Avi and Chris.
On Monday, 14 December 2009 18:07:57 -0300,
Daniel Bareiro wrote:
> >> According to I found looking for in Internet, qemu-kvm does not
> >> include the kernel modules but only the userspace and it is
> >> considered to be stable. I've downloaded qemu-kvm-0.11.0 and I
> >> build it with 'make' and 'make install' like did with kvm-nn but it
> >> seems that KSM is not working:
> > The qemu-kvm-0.11 series does not support ksm. Try the 0.12 series.
> Ah! I see you upload it today :-)
>
> After a ./configure, I'm obtaining the following error when doing make:
>
>
> root@ubuntu:~/qemu-kvm-0.12.0-rc2# make
> GEN config-host.h
> CC qemu-nbd.o
> CC qemu-tool.o
> CC cutils.o
> CC cache-utils.o
> CC qemu-malloc.o
> CC qemu-option.o
> CC module.o
> CC nbd.o
> CC block.o
> CC aio.o
> CC aes.o
> CC osdep.o
> CC posix-aio-compat.o
> CC compatfd.o
> compatfd.c: In function ‘qemu_eventfd’:
> compatfd.c:137: error: ‘ret’ undeclared (first use in this function)
> compatfd.c:137: error: (Each undeclared identifier is reported only once
> compatfd.c:137: error: for each function it appears in.)
> make: *** [compatfd.o] Error 1
I confirm that applying the patch sent by Chris Wright, no longer I have
this problem. Thanks, Chris! Even so, KSM seems not to be working:
root@ubuntu:~# cat /sys/kernel/mm/ksm/max_kernel_pages
253738
root@ubuntu:~# cat /sys/kernel/mm/ksm/run
1
root@ubuntu:~# cat /sys/kernel/mm/ksm/pages_sharing
0
root@ubuntu:~# cat /sys/kernel/mm/ksm/pages_shared
0
Is it possible that, as I've mentioned in another message of this
thread, the version of glibc of Ubuntu Hardy Heron doesn't have support
for KSM?
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 --]
next prev parent reply other threads:[~2009-12-15 1:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-08 18:42 Doubt on KVM-88 vulnerabilities Daniel Bareiro
2009-11-10 10:04 ` Avi Kivity
2009-11-10 11:10 ` Asdo
2009-11-10 12:03 ` Michael Tokarev
2009-11-10 14:19 ` Asdo
2009-11-10 14:42 ` Michael Tokarev
2009-11-10 15:05 ` Asdo
2009-11-10 16:25 ` Jan Kiszka
2009-12-14 11:08 ` Daniel Bareiro
2009-12-14 17:36 ` Daniel Bareiro
2009-12-14 18:39 ` Avi Kivity
2009-12-14 21:07 ` Daniel Bareiro
2009-12-15 1:56 ` Daniel Bareiro [this message]
2009-12-15 10:03 ` Avi Kivity
2009-12-14 18:38 ` Avi Kivity
2009-12-14 23:27 ` Daniel Bareiro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091215015629.GD7639@defiant.freesoftware \
--to=daniel-listas@gmx.net \
--cc=dbareiro@gmx.net \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox