kvm-71 release
Again, this took longer than I'd like, but the new release is finally out. It's composed mainly of incremental fixes, but important ones.
Changes from kvm-70:
- fix virtio isr clearing (Laurent Vivier)
- kvmtrace ppc userspace support (Jerone Young)
- avoid fragmenting virtio-blk transfers (Anthony Liguori, Mark McLoughlin)
- ia64 build fixes (Anthony Xu)
- remove unnecessary virtio-net printout (Marcelo Tosatti)
- remove configure warning about gcc 3 (Carlo Marcelo Arenas Belon)
- rhel 5.2/centos 5.2 host support
- merge qemu-svn
- adds pulseaudio driver
- nbd client/server
- disable cpu emulation by default on ia64 (Xiantao Zhang)
- place test support files in a library (Jerone Young)
- fix qemu monitor screendump
- fix lost interrupt when changing a device irq
- fixes devices going away when disabled and enabled several times
- fix oops on shutdown freeing coalesced mmio page (Akio Takebe)
- optimize segment register access in emulator
- allow run-time enabling of mmu debug
- fix host msr corruption when host preempt is enabled
- fix kvmclock (Gerd Hoffmann)
- rename badly named msrs (Sheng Yang)
- fix incorrect usage of vmcs_config when using ept (Sheng Yang)
- emulate performance counter msrs on Intel (Chris Lalancette)
- allows Linux 2.6.9 guests to boot
- optimize vapic locking when disabled (Marcelo Tosatti)
- don't allocate dirty bitmap for s390 (Catsten Otte)
- fix memory leak on guest exit (Carsten Otte)
- update s390 guest base and limit (Christian Borntraeger)
- optimize access to guest registers (Marcelo Tosatti)
- add memory clobber to hypercalls (Anthony Liguori)
- fixes booting guests compiled with gcc 4.3
- fix ioapic hang on heavy load (Mark McLoughlin)
- move kvmtrace definitions to common header (Hollis Blanchard)
- fix suspend/resume on AMD (Joerg Roedel)
- make some functions static (Adrian Bunk)
- fix shrinker locking (Marcelo Tosatti)
- fix ept tlb flush (Sheng Yang)
- fix signal handling on uninitialized vcpus
- fix hlt instruction in real mode (Mohammed Gamal)
- check pic irq range (Ben-Ami Yassour)
- add function to inject irqs into guests (Amit Shah)
Notes:
If you use the modules bundled with kvm-70, you can use any version
of Linux from 2.6.16 upwards. You may also use kvm-70 userspace with the kvm modules provided by Linux 2.6.22 or above. Some features may only be available in newer releases.
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 10 lines · Avi Kivity
Again, this took longer than I'd like, but the new release is finally out. It's composed mainly of incremental fixes, but important ones.
Changes from kvm-70:
- fix virtio isr clearing (Laurent Vivier)
- kvmtrace ppc userspace support (Jerone Young)
- avoid fragmenting virtio-blk transfers (Anthony Liguori, Mark McLoughlin)
- ia64 build fixes (Anthony Xu)
- remove unnecessary virtio-net printout (Marcelo Tosatti)
- remove configure warning about gcc 3 (Carlo Marcelo Arenas Belon)
- rhel 5.2/centos 5.2 host support
but this bug on 5.2 (which is similar that i already reported with 70) is still in and the previously applied patch is not working anymore:
-----------------------------------------
make KDIR=/usr/src/kernels/2.6.18-92.1.6.el5-x86_64
make -C /usr/src/kernels/2.6.18-92.1.6.el5-x86_64 M=`pwd` \ LINUXINCLUDE="-I`pwd`/include -Iinclude -I`pwd`/include-compat \ -include include/linux/autoconf.h \ -include `pwd`/external-module-compat.h"
make[1]: Entering directory `/usr/src/kernels/2.6.18-92.1.6.el5-x86_64'
LD /home/robot/rpm/BUILD/kvm-kmod-71/_kmod_build_/kernel/built-in.o
CC [M] /home/robot/rpm/BUILD/kvm-kmod-71/_kmod_build_/kernel/svm.o
In file included from <command line>:2:/home/robot/rpm/BUILD/kvm-kmod-71/_kmod_build_/kernel/external-module-compat.h:360: error: redefinition of typedef 'bool' include/linux/types.h:36: error: previous declaration of 'bool' was here
-----------------------------------------
Signature · 1 line
Levente "Si vis pacem para bellum!"
Oops sorry for the dupe error reporting.
Regards,
Erik Bussink
Re: [ANNOUNCE] kvm-71 release (typedef 'bool' on RHEL 5.2)
In reply to Avi KivityQuoted 6 lines · Avi Kivity
Again, this took longer than I'd like, but the new release is finally out. It's composed mainly of incremental fixes, but important ones.
Changes from kvm-70:
...
- rhel 5.2/centos 5.2 host support
Thanks for the new release Avi. I'm trying to get kvm-71 to compile on RHEL 5.2 (x86_64), but I'm running in a typedef 'bool' issue. Here is my output... I've run thru the 1st make, so this make only shows the problem.
[root@eowyn kvm-71]# uname -a
Linux eowyn.bussink.local 2.6.18-92.1.6.el5 #1 SMP Fri Jun 20 02:36:06
EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@eowyn kvm-71]# make
make -C libkvm
make[1]: Entering directory /root/src/kvm-71/libkvm' make[1]: Nothing to be done for all'. make[1]: Leaving directory `/root/src/kvm-71/libkvm' make -C extboot
make[1]: Entering directory /root/src/kvm-71/extboot' make[1]: Nothing to be done for all'. make[1]: Leaving directory `/root/src/kvm-71/extboot'
if ! [ -f qemu/pc-bios/extboot.bin ] \
|| ! cmp -s qemu/pc-bios/extboot.bin extboot/extboot.bin;
then \
cp extboot/extboot.bin qemu/pc-bios/extboot.bin; \
fimake -C qemu
make[1]: Entering directory `/root/src/kvm-71/qemu' make -C x86_64-softmmu all
make[2]: Entering directory /root/src/kvm-71/qemu/x86_64-softmmu' make[2]: Nothing to be done for all'.
make[2]: Leaving directory /root/src/kvm-71/qemu/x86_64-softmmu' make[1]: Leaving directory /root/src/kvm-71/qemu'
make -C kernel
make[1]: Entering directory /root/src/kvm-71/kernel' make -C /lib/modules/2.6.18-92.1.6.el5/build M=pwd` \
LINUXINCLUDE="-Ipwd/include -Iinclude
-I`pwd`/include-compat \
-include include/linux/autoconf.h \
-include `pwd`/external-module-compat.h"make[2]: Entering directory `/usr/src/kernels/2.6.18-92.1.6.el5-x86_64'
CC [M] /root/src/kvm-71/kernel/svm.o
In file included from <command line>:2:/root/src/kvm-71/kernel/external-module-compat.h:360: error:
redefinition of typedef ‘bool’include/linux/types.h:36: error: previous declaration of ‘bool’ was here make[3]: *** [/root/src/kvm-71/kernel/svm.o] Error 1 make[2]: *** [_module_/root/src/kvm-71/kernel] Error 2 make[2]: Leaving directory `/usr/src/kernels/2.6.18-92.1.6.el5-x86_64' make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/src/kvm-71/kernel'
make: *** [kernel] Error 2
[root@eowyn kvm-71]#
Thanks for the good work.
Erik
Quoted 2 lines · On Mon, 14 Jul 2008 18:00:37 +0300 Avi Kivity <[email protected]> wrote:
Again, this took longer than I'd like, but the new release is finally out. It's composed mainly of incremental fixes, but important ones.
[...]
I needed to trivially modify configure to be able to build ALSA audio
(via ./configure --audio-drv-list=alsa)
Fix attached.
Signature · 1 line
Jindrich Makovicka
configure renamed from configure.orig +3 -2
@@ -38,7 +38,8 @@ } while [[ "$1" = -* ]]; do - opt="$1"; shift + optorig="$1"; shift + opt=$opt arg= if [[ "$opt" = *=* ]]; then arg="${opt#*=}"
@@ -70,7 +71,7 @@ usage ;; *) - qemu_opts="$qemu_opts $opt" + qemu_opts="$qemu_opts $optorig" ;; esac done
Quoted 11 lines · Jindrich Makovicka
Quoted 2 lines · On Mon, 14 Jul 2008 18:00:37 +0300 Avi Kivity <[email protected]> wrote:
Again, this took longer than I'd like, but the new release is finally out. It's composed mainly of incremental fixes, but important ones.
[...]
I needed to trivially modify configure to be able to build ALSA audio
(via ./configure --audio-drv-list=alsa)
this will disable the default driver of "oss" and only enable alsa, where most likely what you want is :
./configure --audio-drv-list="alsa oss"
Quoted 1 line
Fix attached.
the fix proposed wouldn't allow for a list of drivers passed and is incorrectly assigning opt to itself and should do instead :
opt="$optorig"
sadly, the only solution I could come with, violates the current layering by handling the two list options in kvm instead, at least as a passthrough that would preserve the parameter count and formatting.
Carlo