Re: Doubt on KVM-88 vulnerabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: Digital signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux