--- kvm-85+dfsg.orig/.gbp.conf
+++ kvm-85+dfsg/.gbp.conf
@@ -0,0 +1,20 @@
+# Configuration file for git-buildpackage and friends
+
+# upstream is following the upstream tarballs
+
+# master contains the debian packaging
+
+[DEFAULT]
+# ignore .git and .gbp.conf when building source package
+builder = debuild -i\.git\|\.gbp\.conf -I.git -I.gbp.conf
+# the branch for upstream sources after cleaning
+upstream-branch = upstream
+# the long-lived integration branch where we build the source packages
+debian-branch = master
+# the default tag formats used for git-buildpackage
+upstream-tag = v%(version)s
+debian-tag = v%(version)s
+
+[git-import-orig]
+filter = .gitignore
+
--- kvm-85+dfsg.orig/.gitignore
+++ kvm-85+dfsg/.gitignore
@@ -15,6 +15,19 @@
 qemu/qemu-nbd
 *.ko
 *.mod.c
+kernel/kvm_main.c
+kernel/kvm.h
+kernel/kvm_svm.h
+kernel/vmx.[ch]
+kernel/svm.[ch]
+kernel/mmu.c
+kernel/paging_tmpl.h
+kernel/segment_descriptor.h
+kernel/x86_emulate.[ch]
+kernel/include/linux/kvm*.h
+kernel/Module.symvers
+kernel/Modules.symvers
+kernel/.tmp_versions
 bios/*.bin
 bios/*.sym
 bios/*.txt
@@ -24,43 +37,27 @@
 extboot/extboot.bin
 extboot/extboot.img
 extboot/signrom
-kernel/config.kbuild
-kernel/modules.order
-kernel/Module.symvers
-kernel/Modules.symvers
 kernel/Module.markers
-kernel/.tmp_versions
+kernel/i825[49].[ch]
 kernel/include-compat/asm
 kernel/include-compat/asm-x86/asm-x86
 kernel/include
-kernel/x86/modules.order
-kernel/x86/i825[49].[ch]
-kernel/x86/kvm_main.c
-kernel/x86/kvm_svm.h
-kernel/x86/vmx.[ch]
-kernel/x86/svm.[ch]
-kernel/x86/mmu.[ch]
-kernel/x86/paging_tmpl.h
-kernel/x86/x86_emulate.[ch]
-kernel/x86/ioapic.[ch]
-kernel/x86/iodev.h
-kernel/x86/irq.[ch]
-kernel/x86/kvm_trace.c
-kernel/x86/lapic.[ch]
-kernel/x86/tss.h
-kernel/x86/x86.[ch]
-kernel/x86/coalesced_mmio.[ch]
-kernel/x86/kvm_cache_regs.h
-kernel/x86/vtd.c
-kernel/x86/irq_comm.c
-kernel/x86/timer.c
-kernel/x86/kvm_timer.h
-kernel/x86/iommu.c
+kernel/ioapic.[ch]
+kernel/iodev.h
+kernel/irq.[ch]
+kernel/kvm_trace.c
+kernel/lapic.[ch]
+kernel/mmu.h
+kernel/modules.order
+kernel/tss.h
+kernel/x86.[ch]
+kernel/coalesced_mmio.c
+kernel/coalesced_mmio.h
+kernel/kvm_cache_regs.h
 qemu/pc-bios/extboot.bin
 qemu/qemu-doc.html
 qemu/*.[18]
 qemu/*.pod
 qemu/qemu-tech.html
-qemu/qemu-options.texi
 user/kvmtrace
 user/test/x86/bootstrap
--- kvm-85+dfsg.orig/Makefile
+++ kvm-85+dfsg/Makefile
@@ -1,5 +1,5 @@
 
-include config.mak
+-include config.mak
 
 DESTDIR=
 
--- kvm-85+dfsg.orig/libfdt/Makefile
+++ kvm-85+dfsg/libfdt/Makefile
@@ -1,5 +1,5 @@
-include ../config.mak
-include ../user/config.mak
+-include ../config.mak
+-include ../user/config.mak
 
 LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c
 LIBFDT_INCLUDES = fdt.h libfdt.h
--- kvm-85+dfsg.orig/scripts/qemu-ifup
+++ kvm-85+dfsg/scripts/qemu-ifup
@@ -1,5 +1,6 @@
 #!/bin/sh
 
-switch=$(/sbin/ip route list | awk '/^default / { print $NF }')
+switch=$(ip route ls | awk '/^default / { for(i=0;i<NF;i++) { if ($(i) == "dev") print $(i+1) }}')
 /sbin/ifconfig $1 0.0.0.0 up
 /usr/sbin/brctl addif ${switch} $1
+exit 0
--- kvm-85+dfsg.orig/debian/watch
+++ kvm-85+dfsg/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\+dfsg.*$// \
+  http://qa.debian.org/watch/sf.php/kvm/ kvm-(\d*).tar.gz
--- kvm-85+dfsg.orig/debian/README.source
+++ kvm-85+dfsg/debian/README.source
@@ -0,0 +1,8 @@
+This package uses the quilt patch system as documented in the Debian quilt
+package (/usr/share/doc/quilt/README.source).
+
+To update this package to a new upstream version, some binary files must be
+removed from the upstream tarball.
+The get-orig-source target in debian/rules will download and clean the tarball
+for the current version (according to debian/changelog). To get a newer
+version, first update the changelog and then run get-orig-source.
--- kvm-85+dfsg.orig/debian/reportbug-hook.sh
+++ kvm-85+dfsg/debian/reportbug-hook.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+#
+# kvm reportbug script
+#
+
+echo >&3
+echo >&3
+
+if which lshal > /dev/null 2>&1; then
+    echo 'selected information from lshal(1):' >&3
+    echo >&3
+    lshal | egrep '^  (system\.(vendor|product)|smbios)' >&3
+    echo >&3
+    echo >&3
+fi
+
+if [ -r /proc/cpuinfo ]; then
+    echo /proc/cpuinfo: >&3
+    echo >&3
+    cat /proc/cpuinfo >&3
+    echo >&3
+    echo >&3
+fi
--- kvm-85+dfsg.orig/debian/kvm-source.install
+++ kvm-85+dfsg/debian/kvm-source.install
@@ -0,0 +1,2 @@
+usr/share/bug/kvm-source
+usr/src/kvm.tar.bz2
--- kvm-85+dfsg.orig/debian/compat
+++ kvm-85+dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- kvm-85+dfsg.orig/debian/changelog
+++ kvm-85+dfsg/debian/changelog
@@ -0,0 +1,669 @@
+kvm (85+dfsg-4~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Alexander Wirt <formorer@debian.org>  Mon, 29 Jun 2009 16:09:26 +0000
+
+kvm (85+dfsg-4) unstable; urgency=low
+
+  * upload to unstanble
+  * Remove security/CVE-2008-0928-fedora.patch - fixed upstream.
+
+ -- Guido Günther <agx@sigxcpu.org>  Fri, 12 Jun 2009 15:16:20 +0200
+
+kvm (85+dfsg-3) experimental; urgency=low
+
+  * Pick patch from qemu-kvm to readd -drive boot= parameter help text,
+    thanks to Paul Collins (closes: #529410)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Tue, 19 May 2009 12:59:11 +0200
+
+kvm (85+dfsg-2) experimental; urgency=low
+
+  * Depend on libpci-dev for PCI device assignment
+  * Setup kernel include links before configuring (closes: #528765)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Mon, 18 May 2009 16:08:23 +0200
+
+kvm (85+dfsg-1) experimental; urgency=low
+
+  * New upstream release (closes: #525466)
+    - Update upstream changelog
+  * Strip mpc8544ds.dtb from upstream tarball
+  * Drop 02_fix_kernel_Makefile.patch (does not apply)
+  * Drop security/CVE-2007-5730.patch (applied upstream)
+  * Drop fr-be-duplicate-chars.patch (applied upstream)
+  * Drop altgr-dead-keys-vnc.diff (applied upstream)
+  * Drop kvm wrapper script, thanks to Roland Dreier (closes: #452395)
+    - Clean up preinst, 28-2 was before lenny
+  * Update sections for kvm-source and kvm-dbg
+  * Update homepage
+  * Update to policy 3.8.1.0 (no changes)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Fri, 15 May 2009 10:42:43 +0200
+
+kvm (84+dfsg-2) experimental; urgency=low
+
+  * Enable es1370 and sb16 sound devices (closes: #516066)
+  * Enable pulseaudio audio driver
+  * Add libpulse-dev and libbluetooth-dev to Build-Depends
+
+ -- Jan Lübbe <jluebbe@debian.org>  Thu, 19 Feb 2009 11:06:18 +0100
+
+kvm (84+dfsg-1) experimental; urgency=low
+
+  [ Jan Lübbe ]
+  * New upstream release (closes: #515674)
+
+  [ Guido Günther ]
+  * Remove duplicate characters from fr-be keymap (Closes: #513845)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Wed, 18 Feb 2009 17:42:31 +0100
+
+kvm (83+dfsg-1) experimental; urgency=low
+
+  * New upstream release (closes: #512420)
+  * Disable security/CVE-2008-0928-fedora.patch, it causes corruption in
+    qcow2 images (closes: #511914, #512654)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Fri, 23 Jan 2009 12:17:13 +0100
+
+kvm (82+dfsg-1) experimental; urgency=low
+
+  [ Jan Lübbe ]
+  * New upstream release
+
+  [ Guido Günther ]
+  * CVE-2008-0928-fedora.patch: update patch from fedora for kvm 82
+  * 01_use_bios_files_in_usr_share_kvm.patch, 03_bios_no_ssp.patch,
+    07_change_qemu_docdir.patch, from-debian-qemu/22_net_tuntap_stall.patch:
+    refresh for kvm 82
+  * 04_use_etc_kvm_kvm-ifup.patch: adjust for kvm 82
+  * CVE-2007-1322.patch: drop - applied upstream
+  * CVE-2007-5729.patch: drop - applied upstream
+  * core-2008-1210.patch: drop - applied upstream
+  * enable audio drivers in debian/rules instead of patching
+    ./configure. Prefer alsa over oss. (Closes: #508018)
+
+ -- Guido Günther <agx@sigxcpu.org>  Sun, 11 Jan 2009 17:14:08 +0100
+
+kvm (79+dfsg-3) experimental; urgency=low
+
+  [ Roland Dreier ]
+  * add a kvm-dbg package with debugging symbols (Closes: #507421)
+
+  [ Guido Günther ]
+  * fixup dbg package build
+  * pick current fix for CVE-2008-0928 from fedora:
+            security/CVE-2008-0928.patch
+  * split up SECURITY_CVE-2007-1321+1322+1366+2893.patch:
+      * drop hw/sb16.c hunk, fixed upstream:
+            http://lists.gnu.org/archive/html/qemu-devel/2008-01/msg00709.html
+      * NE2000 "mtu" heap overflow is
+            security/CVE-2007-5729.patch
+      * QEMU "net socket" heap overflow is
+            security/CVE-2007-5730.patch
+      * Unprivileged "icebp" instruction will halt emulation is
+            security/CVE-2007-1322.patch
+      * drop qemu/block.c hunk, handled in CVE-2008-0928-fedrora.patch
+      * merge the rest in security/leftover.patch
+  * make patches apply without -p0 (Closes: #485254)
+  * move doc parts from the description to README.Debian (Closes: #470037)
+
+ -- Guido Günther <agx@sigxcpu.org>  Sat, 29 Nov 2008 16:40:42 +0100
+
+kvm (79+dfsg-2) experimental; urgency=low
+
+  * New upstream version also fixes:
+      * booting from virtio (Closes: #497214)
+      * hang on reboot with virtio (Closes: #506972)
+      * booting from cdrom via -drive (Closes: #494592)
+      * e1000 PXE booting (Closes: #487224)
+  * 22_net_tuntap_stall.patch: adjust for new qemu
+  * 04_use_etc_kvm_kvm-ifup.patch: adjust default networks scripts in
+    net.c too, otherwise we end up pickung up the qemu ones
+  * drop qemu_vnc_ext_key_event.diff, applied upstream
+  * CVE-2008-0928.patch and SECURITY_CVE-2007-1321+1322+1366+2893.patch still
+    disabled!
+  * refresh the other patches for kvm 79 to apply cleanly
+  * enable brlapi support (Closes: #504066)
+  * KVM ships no README so don't mention it in README.Debian
+    (Closes: #467266)
+  * don't try to load modules if /dev/kvm exists (Closes: #490884)
+  * fix Alt-Gr and deadkeys with vnc (Closes: #504821) -
+    thanks to Arne Bernin
+  * qemu-ifup: always pick the first interface with a default route
+    set (Closes: #506913)
+  * add myself to uploaders
+
+ -- Guido Günther <agx@sigxcpu.org>  Fri, 28 Nov 2008 10:36:07 +0100
+
+kvm (79+dfsg-1) experimental; urgency=low
+
+  * New upstream release (closes: #502612, #505298)
+  * Disabled some patches, they will be rebased and activated before uploading
+    to unstable
+  * Depend on libvdeplug2-dev to support VDE (Virtual Distributed Ethernet)
+    (closes: #494871)
+  * Apply patch to fix broken QEMU documentation link, thanks to Matt Kraii
+    (closes: #498155)
+  * The -name option can be used to set the window caption (closes: #502528)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Thu, 20 Nov 2008 17:17:58 +0100
+
+kvm (72+dfsg-4) unstable; urgency=high
+
+  * debian/patches/core-2008-1210.patch: fix remote DoS via VNC
+    (CORE-2008-1210/CVE-2008-2382).
+
+ -- Jan Lübbe <jluebbe@debian.org>  Wed, 24 Dec 2008 12:23:06 +0100
+
+kvm (72+dfsg-3) unstable; urgency=medium
+
+  * Apply patch from qemu (62_fix-ptyblocking.patch) which fixes a lockup
+    when using a pty as serial console, which caused problems for libvirt
+    users. Thanks to Peter Palfrader and Riku Voipio (closes: #494831)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Thu, 20 Nov 2008 16:41:26 +0100
+
+kvm (72+dfsg-2) unstable; urgency=medium
+
+  * Merge changes from NMU, thanks to Thomas Viehmann
+  * Use a sane method for creating the kvm group, thanks to Josh Tripplet
+    (closes: #502299)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Thu, 16 Oct 2008 18:22:41 +0200
+
+kvm (72+dfsg-1.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Change path of diverted kvm modules when kernel >= 2.6.26
+    (closes: #494873)
+
+ -- Thomas Viehmann <tv@beamnet.de>  Fri, 12 Sep 2008 11:48:31 +0200
+
+kvm (72+dfsg-1) unstable; urgency=low
+
+  * New upstream release (closes: #493536)
+  * Cherry-pick a commit from qemu which fixes migration
+  * Cherry-pick a commit from kvm which fixes the external module with 2.6.26
+  * Reenable audio drivers and cards (closes: #491676)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Mon, 11 Aug 2008 19:51:51 +0200
+
+kvm (71+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Jan Lübbe <jluebbe@debian.org>  Sat, 19 Jul 2008 15:52:45 +0200
+
+kvm (70+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Merge changes from Ubuntu in debian/control
+    - Only Build-Depend on device-tree-compiler on PowerPC
+    - Change linux-{image,headers,source}-2.6 to just
+      linux-{image,headers,source}
+    - Don't suggest sudo
+  * Reenable CPU emulation
+  * Update to policy 3.8.0.0
+    - Add debian/README.source
+
+ -- Jan Lübbe <jluebbe@debian.org>  Tue, 17 Jun 2008 18:55:51 +0200
+
+kvm (69+dfsg-1) unstable; urgency=low
+
+  [ Jan Lübbe ]
+  * New upstream releases (closes: #481989)
+    - Fixes CVE-2007-1320 (Cirrus LGD-54XX "bitblt" heap overflow)
+    - Fixes CVE-2008-2004 (format guessing vulnerability, drop the patch)
+    - Update debian patches
+  * Update upstream changelog
+  * Update Vcs-* headers to git.debian.org
+  * Drop kvm-data again, build and ship only those files relevant to the
+    target arch
+
+  [ Soren Hansen ]
+  * 03_bios_no_ssp.patch:
+    - Pass -fno-stack-protector to gcc when building the bios image.
+  * qemu_vnc_ext_key_event.diff:
+    - Implement the Extended KeyEvent extension in kvm's embedded VNC server.
+  * Add kvm init script that loads the appropriate kernel modules.
+  * Update package description
+    - We no longer support cpu emulation, so hardware support is required.
+    - The standard kernel images provide the kernel modules, so compiling
+      them yourself from kvm-source is now optional.
+    - qemu is no longer needed for creating disk images, since we have kvm-img
+      now.
+  * Move kvm-source from "Recommends:" of kvm to "Suggests:", since the
+    modules are in the standard kernel images.
+  * Update CVE-2008-0928.patch to allow any bdrv request if vm is not
+    running. This fixes the savevm monitor command.
+    - This also fixes booting with qcow2 images (closes: #470664)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Mon, 26 May 2008 16:55:21 +0200
+
+kvm (66+dfsg-1.1) unstable; urgency=high
+
+  * Non-maintainer upload by the security team
+  * Merge the fixes for the security issues in the embedded qemu
+    version (Closes: #480011) Thanks to Jamie Strandboge
+   - Add CVE-2007-1320+1321+1322+1366+2893.patch from from qemu 0.9.1-1
+     to address the following issues:
+    - Note: CVE-2007-2893 is the same as CVE-2007-1323 referenced in DSA-1284-1.
+    - Note: CVE-2007-5729 and CVE-2007-5730 are the same as CVE-2007-1321
+      referenced in DSA-1284-1.
+    - Cirrus LGD-54XX "bitblt" heap overflow.
+    - NE2000 "mtu" heap overflow.
+    - QEMU "net socket" heap overflow.
+    - QEMU NE2000 "receive" integer signedness error.
+    - Infinite loop in the emulated SB16 device.
+    - Unprivileged "aam" instruction does not correctly handle the
+      undocumented divisor operand.
+    - Unprivileged "icebp" instruction will halt emulation.
+  * Include patch which defaults to existing behaviour (probing based on file
+    contents), so it still requires the mgmt app (e.g. libvirt xml) to
+    pass a new "format=raw" parameter for raw disk images
+    - Fixes possible privilege escalation, which could allow guest users
+      to read arbitrary files on the host by modifying the header to identify
+      a different format (Closes: #481204) Fixes: CVE-2008-2004
+
+ -- Steffen Joeris <white@debian.org>  Tue, 20 May 2008 13:28:14 +0000
+
+kvm (66+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Update upstream changelog
+  * Ship the userspace utilities
+    - Depend on python for the scripts
+
+ -- Jan Lübbe <jluebbe@debian.org>  Thu, 17 Apr 2008 22:23:14 +0200
+
+kvm (65+dfsg-2) unstable; urgency=low
+
+  * Install PXE boot ROMs only if they exists and Build-Depend on
+    etherboot only on i386
+    - This allows building on amd64 (closes: #469125)
+  * Disable qemu CPU emulation and drop Build-Depend on gcc-3.4
+    (closes: #440430)
+  * Don't Recommend qemu (we ship qemu-img as kvm-img)
+  * Move vde2 from Recommends to Suggests
+  * Suggest samba for the -smb option (closes: #474209)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Thu, 10 Apr 2008 22:52:26 +0200
+
+kvm (65+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Update upstream changelog
+  * Put the link to ../packages/default.sh into /usr/share/modass/overrides/
+    as suggested by m-a's HOWTO-DEVEL
+    - This also avoides a Conflicts/Replaces against older kvm packages
+      (closes: #473910)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Tue, 08 Apr 2008 18:49:34 +0200
+
+kvm (64+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Update upstream changelog
+  * Build-Depend on device-tree-compiler and build bamboo.dtb from source
+  * Clean up debian/rules
+  * Drop patch included upstream (02_snapshot_use_tmpdir.patch)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Tue, 01 Apr 2008 17:21:14 +0200
+
+kvm (63+dfsg-2) unstable; urgency=low
+
+  * Depend on libncurses5-dev to allow the curses interface in addition
+    to SDL (closes: #471292)
+  * Use 02_snapshot_use_tmpdir from debian qemu svn r298 (closes: #470757)
+  * Correct my name in debian/control
+
+ -- Jan Lübbe <jluebbe@debian.org>  Wed, 26 Mar 2008 22:18:43 +0100
+
+kvm (63+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Update upstream changelog (from mailing list)
+  * Fix CVE-2008-0928 using the patch in the bugreport (closes: #469666)
+
+ -- Jan Lübbe <jluebbe@debian.org>  Tue, 11 Mar 2008 10:48:29 +0100
+
+kvm (62+dfsg-3) unstable; urgency=low
+
+  * Build a kvm-data package for the files loaded into the VM
+    (closes: #469125)
+
+ -- Jan Luebbe <jluebbe@debian.org>  Fri, 07 Mar 2008 00:15:56 +0100
+
+kvm (62+dfsg-2) unstable; urgency=low
+
+  * Use PXE boot ROMs from the Etherboot package
+
+ -- Jan Luebbe <jluebbe@debian.org>  Sat, 01 Mar 2008 17:33:00 +0100
+
+kvm (62+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+    - even more resolutions for -std-vga (closes: #463629)
+  * Update upstream changelog
+
+ -- Jan Luebbe <jluebbe@debian.org>  Fri, 29 Feb 2008 21:51:02 +0100
+
+kvm (61+dfsg-1) unstable; urgency=low
+
+  * The "Live from FOSDEM" release
+  * New upstream release
+  * Update upstream changelog
+  * Drop dependency on vgabios
+  * Switch to git for packaging, update Vcs-* in debian/control
+
+ -- Jan Luebbe <jluebbe@debian.org>  Sat, 23 Feb 2008 17:22:29 +0100
+
+kvm (60+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Update upstream changelog
+  * Drop restore-IO_MEM_ROM-mark.patch (included upstream)
+  * Build and use the vgabios shipped with kvm (closes: #462434)
+  * Use install_linux_boot.patch from Ubuntu to fix the -kernel option
+    (closes: #412022)
+
+ -- Jan Luebbe <jluebbe@debian.org>  Fri, 25 Jan 2008 16:12:41 +0100
+
+kvm (58+dfsg-2) unstable; urgency=low
+
+  * Use patch from kvm-devel list to fix booting with some linux kernels
+    (closes: #458481)
+
+ -- Jan Luebbe <jluebbe@debian.org>  Mon, 21 Jan 2008 11:20:17 +0100
+
+kvm (58+dfsg-1) unstable; urgency=low
+
+  * The "Live from 24c3 in Berlin" release
+  * New upstream release (closes: #452392)
+  * Update upstream changelog
+  * Update to policy version 3.7.3 (no changes needed)
+
+ -- Jan Luebbe <jluebbe@debian.org>  Sat, 29 Dec 2007 00:00:44 +0100
+
+kvm (57+dfsg-2) unstable; urgency=low
+
+  * Build with alsa support (closes: #457536)
+
+ -- Jan Luebbe <jluebbe@debian.org>  Sun, 23 Dec 2007 20:15:30 +0100
+
+kvm (57+dfsg-1) unstable; urgency=low
+
+  * New upstream release (closes: #457061)
+    - qemu has been updated to the current cvs version
+  * Update upstream changelog
+
+ -- Jan Luebbe <jluebbe@debian.org>  Thu, 20 Dec 2007 17:14:05 +0100
+
+kvm (56+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Update upstream changelog
+
+ -- Jan Luebbe <jluebbe@debian.org>  Wed, 19 Dec 2007 20:27:19 +0100
+
+kvm (55+dfsg-2) unstable; urgency=low
+
+  * Depend on libgnutls for VNC TLS support
+  * Build BIOS from kvm sources (kvm and qemu patchs are different, thanks to
+    Carlo Marcelo Arenas Belon for spotting this)
+  * Fix debian/rules clean
+
+ -- Jan Luebbe <jluebbe@debian.org>  Sat, 08 Dec 2007 19:45:45 +0100
+
+kvm (55+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Include cpu information also for bugs against kvm-source
+  * Update upstream changelog
+  * Remove bios.bin from upstream tarball (closes: #452963) and depend on the
+    current version of bochsbios
+
+ -- Jan Luebbe <jluebbe@debian.org>  Fri, 07 Dec 2007 19:22:57 +0100
+
+kvm (54+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Revive get-orig-source to remove other BIOS files (see #452963).
+    Thanks Soren Hansen.
+  * Include upstream changelog from the wiki.
+  * Update README.Debian and mention the kvm modules distributed with
+    the Linux kernel (closes: #440790)
+
+ -- Jan Luebbe <jluebbe@debian.org>  Thu, 29 Nov 2007 14:40:23 +0000
+
+kvm (53-1) unstable; urgency=low
+
+  * New upstream release
+  * Upstream has removed the elpin BIOS files, stop repacking the tarball.
+
+ -- Jan Luebbe <jluebbe@debian.org>  Wed, 21 Nov 2007 16:53:51 +0100
+
+kvm (52+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Switch to Vcs-Svn and Vcs-Browser in debian/control
+
+ -- Jan Luebbe <jluebbe@debian.org>  Thu, 15 Nov 2007 18:47:41 +0100
+
+kvm (48+dfsg-1) unstable; urgency=low
+
+  * Adopt package with Baruch Even's permission
+  * New upstream release
+
+ -- Jan Luebbe <jluebbe@debian.org>  Thu, 25 Oct 2007 11:15:54 +0200
+
+kvm (46+dfsg-0.1) unstable; urgency=low
+
+  * Non-maintainer upload (low threshold nmu)
+  * New upstream release
+  * Adapt sf-get-orig-source from gnome-pkg-tools
+  * Repackage tarball to remove elpin VGA bios (closes: #440472)
+  * Add debian/watch file
+
+ -- Jan Luebbe <jluebbe@debian.org>  Sun, 14 Oct 2007 12:02:54 +0200
+
+kvm (36-0.1) unstable; urgency=low
+
+  * Non-maintainer upload (with permission)
+  * New upstream release (closes: #438412)
+  * Update patches
+  * Install documentation from qemu to /usr/share/doc/kvm to avoid conflicts
+    and refer to it from kvm(1) (closes: #434729)
+  * Rename conflicting manpages
+  * Add texi2html as a Build-Dependency
+  * Make module-assistant a Dependency of kvm-source because it is needed by
+    it's debian/rules
+  * debian/conffiles is not necessary for /etc
+
+ -- Jan Luebbe <jluebbe@debian.org>  Mon, 27 Aug 2007 18:45:36 +0200
+
+kvm (28-4) unstable; urgency=low
+
+  * Divert kernel modules when installing the kvm-source modules
+    (Closes: #429851)
+  * kvm-ifup, even if bridge command failed continue to work, this will allow
+    users who have no bridge setup and intend to setup some other method to
+    get it to work without messing with the package files. (Closes: #407459)
+
+ -- Baruch Even <baruch@debian.org>  Thu, 21 Jun 2007 12:37:54 +0100
+
+kvm (28-3) unstable; urgency=low
+
+  * Fix infinite loop in kvm-ifup script
+
+ -- Baruch Even <baruch@debian.org>  Mon, 18 Jun 2007 20:51:50 +0100
+
+kvm (28-2) unstable; urgency=low
+
+  * We moved a file from kvm-source to kvm, to be able to properly upgrade we
+    specify a conflict against older versions (Closes: #417652)
+  * Fix kvm-ifup script to work in more conditions (Closes: #417151)
+  * Remove old /etc/udev/kvm.rules since it's not needed (Closes: #414331)
+
+ -- Baruch Even <baruch@debian.org>  Sun, 17 Jun 2007 21:13:07 +0100
+
+kvm (28-1) unstable; urgency=low
+
+  * New upstream release (Closes: #422197)
+    - Should fix oops (Closes: #418928)
+  * kqemu is no longer in non-free (Closes: #419152)
+
+ -- Baruch Even <baruch@debian.org>  Sun, 17 Jun 2007 10:32:40 +0100
+
+kvm (18-1) unstable; urgency=low
+
+  * New upstream release (Closes: #416926)
+  * Move the module-assistant script to the kvm package from kvm-source so all
+    users will benefit from the integration (Closes: #416122)
+  * Remove patch to add qemu-ifup and kvm initscript, they are now part of kvm directly.
+
+ -- Baruch Even <baruch@debian.org>  Sat, 31 Mar 2007 21:00:34 +0300
+
+kvm (14-1) unstable; urgency=medium
+
+  [ Leonard Norrgård ]
+  * New upstream version.  KVM is now based on qemu-0.9.0.
+  * Suggest etherboot and actually suggest hal (was only mentioning it).
+  * Update copyright info.
+  * Add a couple of patches from Debian qemu: 22_net_tuntap_stall.patch,
+    04_do_not_print_rtc_freq_if_ok.patch, 62_linux_boot_nasm.patch (62_*
+    currently only to avoid a buildd FTBS problem).
+  * Reorder the first two paragraphs in the description for kvm so the
+    general description is first, the more technical second.
+  * Moved adduser to Pre-Depends, as we rely on it for installation.
+  * For a detailed changelog, please see:
+    svn log -v -r 2227:2383 svn://svn.debian.org/svn/collab-maint/ext-maint/kvm/trunk
+
+  [ Baruch Even ]
+  * Update the uploader name of Leonard so that lintian won't think it's an
+    NMU.
+  * Add XS-Vcs-Browser field
+
+ -- Baruch Even <baruch@debian.org>  Sat, 24 Feb 2007 17:43:42 +0200
+
+kvm (13-1) UNRELEASED; urgency=low
+
+  * New upstream version.
+
+ -- Leonard Norrgård <vinsci@refactor.fi>  Sat, 10 Feb 2007 07:40:59 +0200
+
+kvm (12-1) unstable; urgency=high
+
+  * New upstream version. Most important upstream changes:
+    - Attempting to reboot Linux guest no longer reboots host on AMD,
+      actual guest reboot still not possible.
+    - The option -no-acpi is no longer required to install Windows
+      (the option is still recommended as the Windows ACPI HAL will
+      eat a lot of cpu time).
+
+ -- Leonard Norrgard <vinsci@refactor.fi>  Sun, 23 Jan 2007 18:54:17 +0200
+
+kvm (11-2) unstable; urgency=low
+
+  [ Baruch Even ]
+  * Make the quilt include part conditional so we don't have to have it when
+    building the kernel module. (Closes: #407447, #407482)
+  * Do not recommend linux-image-2.6 in kvm-source, and move linux-headers-2.6
+    from depends to suggests where it belongs. The package can build from
+    vanilla kernels as well as Debian kernels. (Closes: #407729)
+
+  [ Leonard Norrgard ]
+  * Enhance manual page a bit.
+
+ -- Baruch Even <baruch@debian.org>  Sun, 21 Jan 2007 09:05:38 +0200
+
+kvm (11-1) unstable; urgency=high
+
+  * New upstream version. Closes #406800, #406275, #404075.
+  * This version fixes many stability issues in earlier versions of KVM.
+  * Automatically create group kvm on installation of package kvm
+  * Added udev support to automatically set group kvm on /dev/kvm
+  * Added reportbug script (/usr/share/bug/kvm) so some info that
+    might be relevant gets included automatically.
+  * Tell module-assistant about the kvm-source package, so it shows up
+    in the module selection menu.
+  * Add information on building the modules using module-assistant.
+  * Add /etc/kvm/kvm-ifup script (conffile) to bring up the network for
+    the VM in a simpler way, see the manual page for kvm for description.
+    This used to be /etc/qemu-ifup, as installed by the qemu package.
+  * Depend on iproute, bridge-utils, used by kvm-ifup and the upcoming
+    /etc/init.d script.
+  * Remove non-x86 bios images - KVM is only meaningful for x86 guests.
+  * Keep KVM bios files in /usr/share/kvm, rather than sharing them with
+    other packages as the KVM bios is different (also avoids unexpected
+    bios updates).
+  * Don't depend on qemu, as we now keep our own bios.
+  * Recommend kvm-source, qemu (mostly for qemu-img), vde2 and linux-image-2.6.
+  * Suggest sudo and debootstrap.
+  * For kvm-source, depend on linux-headers-2.6 | linux-source-2.6,
+    recommend linux-image-2.6 and suggest module-assistant and
+    kernel-package.
+  * Use quilt to handle patches.
+  * More detailed package description for kvm, added Homepage:.
+
+ -- Leonard Norrgard <vinsci@refactor.fi>  Sun, 14 Jan 2007 07:11:03 +0200
+
+kvm (7-1) unstable; urgency=low
+
+  * New upstream version
+  * Install the Intel and AMD modules (Closes: 402820)
+
+ -- Baruch Even <baruch@debian.org>  Wed, 13 Dec 2006 09:19:44 +0200
+
+kvm (5-2) unstable; urgency=low
+
+  * Yet another attempt to fix building on amd64.
+
+ -- Baruch Even <baruch@debian.org>  Wed,  6 Dec 2006 08:35:04 +0200
+
+kvm (5-1) unstable; urgency=low
+
+  * New upstream version
+  * Really fix building on amd64 (Closes: #400549)
+
+ -- Baruch Even <baruch@debian.org>  Wed,  6 Dec 2006 07:12:30 +0200
+
+kvm (4-2) unstable; urgency=low
+
+  * Allow build on amd64 arch, it really should mean Intel x86 64bit arches,
+    kvm still doesn't support AMD SVM instructions and requires the Intel
+    CPUs. (Closes: #400549)
+
+ -- Baruch Even <baruch@debian.org>  Tue, 28 Nov 2006 22:16:08 +0200
+
+kvm (4-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Baruch Even <baruch@debian.org>  Tue, 21 Nov 2006 22:23:26 +0200
+
+kvm (3-2) unstable; urgency=low
+
+  * Use KERNEL_DIR variable when building the module to enable building a
+    module for a kernel that is not being run right now. (Closes: #399603)
+  * Add manpage that refers the user to qemu(1) where he can find all the
+    information he needs. 
+
+ -- Baruch Even <baruch@debian.org>  Tue, 21 Nov 2006 09:22:57 +0200
+
+kvm (3-1) unstable; urgency=low
+
+  * New upstream version. 
+  * Use upstream versioning of natural numbers.
+  * First upload to Debian (Closes: #398458)
+
+ -- Baruch Even <baruch@debian.org>  Wed, 15 Nov 2006 23:58:12 +0200
+
+kvm (0.0.2-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Baruch Even <baruch@debian.org>  Tue, 14 Nov 2006 20:49:57 +0200
--- kvm-85+dfsg.orig/debian/control.modules.in
+++ kvm-85+dfsg/debian/control.modules.in
@@ -0,0 +1,20 @@
+Source: kvm
+Section: misc
+Priority: optional
+Maintainer: Baruch Even <baruch@debian.org>
+Build-Depends: debhelper (>> 4.0.0)
+Standards-Version: 3.7.2
+
+Package: kvm-modules-_KVERS_
+Architecture: any
+Provides: kvm-modules
+Description: kvm modules for Linux (kernel _KVERS_).
+ This package contains the set of loadable kernel modules for the
+ KVM module that provides Kernel Virtual Machine services.
+ .
+ This package contains the compiled kernel modules for _KVERS_
+ .
+ If you have compiled your own kernel, you will most likely need to build
+ your own kvm-modules. The kvm-source package has been
+ provided for use with the Debian's module-assistant or kernel-package
+ utilities to produce a version of kvm-module for your kernel.
--- kvm-85+dfsg.orig/debian/rules
+++ kvm-85+dfsg/debian/rules
@@ -0,0 +1,381 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper. 
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# This version is for a hypothetical package that can build a kernel modules
+# architecture-dependant package via make-kpkg, as well as an
+# architecture-independent module source package, and other packages
+# either dep/indep for things like common files or userspace components
+# needed for the kernel modules.
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_ARCH     ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifeq (i386,$(DEB_BUILD_ARCH))
+	KERNEL_ARCH = i386
+	KINCLUDE_ARCH = x86
+	BUILD_CPU = i386
+	QEMU_EXE = qemu-system-x86_64
+	pcbios_targets = linux_boot.bin
+	qemu_targets = bios vgabios
+	needed_bios_files = bios.bin vgabios.bin vgabios-cirrus.bin linux_boot.bin \
+		pxe-e1000.bin pxe-ne2k_pci.bin pxe-pcnet.bin pxe-rtl8139.bin \
+		extboot.bin
+endif
+ifeq (amd64,$(DEB_BUILD_ARCH))
+	KERNEL_ARCH = x86_64
+	KINCLUDE_ARCH = x86
+	BUILD_CPU = x86_64
+	QEMU_EXE = qemu-system-x86_64
+	pcbios_targets = linux_boot.bin
+	qemu_targets = bios vgabios
+	needed_bios_files = bios.bin vgabios.bin vgabios-cirrus.bin linux_boot.bin \
+		pxe-e1000.bin pxe-ne2k_pci.bin pxe-pcnet.bin pxe-rtl8139.bin \
+		extboot.bin
+endif
+ifeq (powerpc,$(DEB_BUILD_ARCH))
+	KERNEL_ARCH = powerpc
+	KINCLUDE_ARCH = powerpc
+	BUILD_CPU = ppcemb
+	QEMU_EXE = qemu-system-ppcemb
+	pcbios_targets = bamboo.dtd
+	qemu_targets =
+	needed_bios_files = bamboo.dtd
+endif
+
+# Removing binary blobs
+unwanted_bios_files = ppc_rom.bin openbios-sparc32 video.x openbios-sparc \
+	openbios-sparc64 bios.bin vgabios.bin vgabios-cirrus.bin bamboo.dtb \
+	pxe-e1000.bin pxe-ne2k_pci.bin pxe-pcnet.bin pxe-rtl8139.bin \
+	linux_boot.bin openbios-ppc mpc8544ds.dtb
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+# some default definitions, important!
+# 
+# Name of the source package
+psource:=kvm-source
+
+# The short upstream name, used for the module source directory
+sname:=kvm
+
+### KERNEL SETUP
+### Setup the stuff needed for making kernel module packages
+### taken from /usr/share/kernel-package/sample.module.rules
+
+# prefix of the target package name
+PACKAGE = kvm-modules
+# modifieable for experiments or debugging m-a
+MA_DIR ?= /usr/share/modass
+# load generic variable handling
+-include $(MA_DIR)/include/generic.make
+# load default rules, including kdist, kdist_image, ...
+-include $(MA_DIR)/include/common-rules.make
+
+# module assistant calculates all needed things for us and sets
+# following variables:
+# KSRC (kernel source directory), KVERS (kernel version string), KDREV
+# (revision of the Debian kernel-image package), CC (the correct
+# compiler), VERSION (the final package version string), PKGNAME (full
+# package name with KVERS included), DEB_DESTDIR (path to store DEBs)
+
+# module assistant does not supply ARCH, so set it in that case
+ARCH ?= $(KERNEL_ARCH)
+export ARCH
+ARCH_DIR := $(if $(filter $(KERNEL_ARCH),x86_64 i386),x86,$(KERNEL_ARCH))
+
+# The kdist_configure target is called by make-kpkg modules_config and
+# by kdist* rules by dependency. It should configure the module so it is
+# ready for compilation (mostly useful for calling configure).
+# prep-deb-files from module-assistant creates the neccessary debian/ files 
+kdist_config kdist_configure: prep-deb-files
+	./configure --kerneldir=$(KSRC)
+
+# the kdist_clean target is called by make-kpkg modules_clean and from
+# kdist* rules. It is responsible for cleaning up any changes that have
+# been made by the other kdist_commands (except for the .deb files created)
+kdist_clean:
+	# we need to configure first to get the kernel buildsys
+	./configure --kerneldir=$(KSRC)
+	$(MAKE) KERNELDIR=$(KSRC) KVERREL=$(KVERS) clean
+	rm -f config.kbuild config.mak modules.order $(ARCH_DIR)/modules.order
+
+### end  KERNEL SETUP
+
+# the binary-modules rule is invoked by module-assistant while processing the
+# kdist* targets. It is called by module-assistant or make-kpkg and *not*
+# during a normal build
+binary-modules:
+	dh_testroot
+	dh_clean -k
+	dh_installdirs lib/modules/$(KVERS)/misc
+
+	# Build the modules
+	$(MAKE) KERNELDIR=$(KSRC) KVERREL=$(KVERS)
+
+	# Install the modules
+	cp $(ARCH_DIR)/kvm.ko $(ARCH_DIR)/kvm-intel.ko $(ARCH_DIR)/kvm-amd.ko debian/$(PKGNAME)/lib/modules/$(KVERS)/misc
+
+	dh_installdocs
+	dh_installchangelogs
+	dh_installmodules
+	sed -e "s/@KERNEL@/$(KVERS)/g" debian/preinst.modules.in > debian/preinst
+	sed -e "s/@KERNEL@/$(KVERS)/g" debian/postrm.modules.in > debian/postrm
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol -- -v$(VERSION)
+	dh_md5sums
+	dh_builddeb --destdir=$(DEB_DESTDIR)
+	dh_clean -k
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	ln -sf asm-$(KINCLUDE_ARCH) kernel/include/asm
+	ln -sf asm-$(KINCLUDE_ARCH) kernel/include-compat/asm
+	./configure --prefix=/usr \
+                    --audio-drv-list="alsa oss sdl pa" \
+                    --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus"
+
+
+build-arch: patch config.status build-arch-stamp
+build-arch-stamp:
+	dh_testdir
+
+	# Add here command to compile/build the package.
+	$(MAKE) qemu user ${qemu_targets}
+	for i in $(pcbios_targets); do \
+		$(MAKE) -C qemu/pc-bios $$i; \
+	done
+
+	touch $@
+
+build-indep: patch config.status build-indep-stamp
+build-indep-stamp:
+	dh_testdir
+
+	# Add here command to compile/build the arch indep package.
+	# It's ok not to do anything here, if you don't need to build
+	#  anything for this package.
+	#docbook-to-man debian/kvm.sgml > kvm.1
+
+	touch $@
+
+build:
+
+clean: unpatch
+	dh_testdir
+	#dh_testroot
+	rm -f kernel/include/asm kernel/include-compat/asm
+	rm -f build-arch-stamp build-indep-stamp
+	rm -rf qemu/$(BUILD_CPU)-softmmu
+	rm -f config.sub config.guess
+
+	# Add here commands to clean up after the build process.
+	$(MAKE) -C qemu distclean
+	$(MAKE) -C bios clean bios-clean
+	$(MAKE) -C qemu/pc-bios clean
+	$(MAKE) clean
+
+	dh_clean
+
+ifneq "$(wildcard /usr/share/quilt/quilt.make)" ""
+include /usr/share/quilt/quilt.make
+endif
+
+install: build-arch
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Build & install normally
+	$(MAKE) -C libkvm DESTDIR=$(CURDIR)/debian/tmp install
+	$(MAKE) -C qemu DESTDIR=$(CURDIR)/debian/tmp install
+
+	# e1000-82540em 0x8086,0x100e   Intel EtherExpressPro1000 82540EM
+	if [ -e /usr/share/etherboot/e1000-82540em.zrom.gz ]; then \
+		zcat /usr/share/etherboot/e1000-82540em.zrom.gz > \
+		qemu/pc-bios/pxe-e1000.bin; \
+	fi
+	# rtl8029       0x10ec,0x8029   Realtek 8029
+	if [ -e /usr/share/etherboot/rtl8029.zrom.gz ]; then \
+		zcat /usr/share/etherboot/rtl8029.zrom.gz > \
+		qemu/pc-bios/pxe-ne2k_pci.bin; \
+	fi
+	# pcnet32       0x1022,0x2000   AMD PCnet/PCI
+	if [ -e /usr/share/etherboot/pcnet32.zrom.gz ]; then \
+		zcat /usr/share/etherboot/pcnet32.zrom.gz > \
+		qemu/pc-bios/pxe-pcnet.bin; \
+	fi
+	# rtl8139       0x10ec,0x8139   Realtek 8139
+	if [ -e /usr/share/etherboot/rtl8139.zrom.gz ]; then \
+		zcat /usr/share/etherboot/rtl8139.zrom.gz > \
+		qemu/pc-bios/pxe-rtl8139.bin; \
+	fi
+
+	# Install relevant files manually
+	for i in $(needed_bios_files); do \
+		install -D -m 0644 qemu/pc-bios/$$i $(CURDIR)/debian/tmp/usr/share/kvm/$$i; \
+	done
+
+	# Collisions with the qemu package
+	mv $(CURDIR)/debian/tmp/usr/bin/$(QEMU_EXE) $(CURDIR)/debian/tmp/usr/bin/kvm
+	mv $(CURDIR)/debian/tmp/usr/bin/qemu-img $(CURDIR)/debian/tmp/usr/bin/kvm-img
+	mv $(CURDIR)/debian/tmp/usr/bin/qemu-nbd $(CURDIR)/debian/tmp/usr/bin/kvm-nbd
+	mv $(CURDIR)/debian/tmp/usr/share/man/man1/qemu-img.1 $(CURDIR)/debian/tmp/usr/share/man/man1/kvm-img.1
+	mv $(CURDIR)/debian/tmp/usr/share/man/man8/qemu-nbd.8 $(CURDIR)/debian/tmp/usr/share/man/man8/kvm-nbd.8
+	mv $(CURDIR)/debian/tmp/usr/share/man/man1/qemu.1 $(CURDIR)/debian/tmp/usr/share/man/man1/kvm-qemu.1
+
+	install -D -m 0755 scripts/qemu-ifup $(CURDIR)/debian/tmp/etc/kvm/kvm-ifup
+	install -D -m 0755 debian/reportbug-hook.sh $(CURDIR)/debian/tmp/usr/share/bug/kvm
+
+	# Install the userspace utilities
+	install -m 0755 kvm_stat user/kvmctl user/kvmtrace user/kvmtrace_format \
+		$(CURDIR)/debian/tmp/usr/bin/
+
+	# kvm-source
+	install -D -m 0755 debian/reportbug-hook.sh $(CURDIR)/debian/tmp/usr/share/bug/kvm-source
+	# Copy only the driver source to the proper location
+	mkdir -p debian/tmp/usr/src/modules/kvm/debian
+	cp -r kernel/*  debian/tmp/usr/src/modules/kvm
+	# Copy the needed debian/ pieces to the proper location
+	cp debian/*modules.in* \
+		debian/tmp/usr/src/modules/kvm/debian
+	cp debian/rules debian/changelog debian/copyright \
+		debian/compat debian/tmp/usr/src/modules/kvm/debian/
+	cd debian/tmp/usr/src && tar c modules | bzip2 -9 > kvm.tar.bz2 && rm -rf modules
+
+	dh_install --sourcedir=debian/tmp --list-missing
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: build-indep install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i debian/changelog.upstream
+	dh_installdocs -i
+#	dh_installexamples -i
+#	dh_install -i
+#	dh_installmenu -i
+#	dh_installdebconf -i
+#	dh_installlogrotate -i
+#	dh_installemacsen -i
+#	dh_installpam -i
+#	dh_installmime -i
+#	dh_installinit -i
+#	dh_installcron -i
+#	dh_installinfo -i
+	dh_installman -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+#	dh_perl -i
+#	dh_python -i
+#	dh_makeshlibs -i
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install
+	dh_testdir -s
+	dh_testroot -s
+#	dh_installdebconf -s
+	dh_installdocs -s
+#	dh_installexamples -s
+#	dh_installmenu -s
+#	dh_installlogrotate -s
+#	dh_installemacsen -s
+#	dh_installpam -s
+#	dh_installmime -s
+	dh_installinit -s --no-restart-on-upgrade --error-handler=true
+#	dh_installcron -s
+	dh_installman -s debian/kvm.1
+#	dh_installinfo -s
+	dh_installchangelogs -s debian/changelog.upstream
+	dh_strip -s --dbg-package=kvm-dbg
+	dh_link -s
+	dh_compress -s
+	dh_fixperms -s
+#	dh_makeshlibs -s
+	dh_installdeb -s
+#	dh_perl -s
+	dh_shlibdeps -s
+	dh_gencontrol -s
+	dh_md5sums -s
+	dh_builddeb -s
+
+binary: binary-indep binary-arch
+
+# get-orig-source adapted from /usr/share/gnome-pkg-tools/1/rules/sf-get-source.mk from the gnome-pkg-tools package
+# copied from CDBS' buildvars
+DEB_SOURCE_PACKAGE ?= $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':'))
+DEB_VERSION ?= $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
+DEB_NOEPOCH_VERSION ?= $(shell echo $(DEB_VERSION) | cut -d: -f2-)
+DEB_UPSTREAM_VERSION ?= $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/+[^-]*-[^-]*$$//')
+
+# where to store the resulting .orig tarball
+DEB_TARBALL_DOWNLOAD_DIR ?= ../tarballs
+TARBALL_EXT ?= tar.gz
+
+SF_PROJECT ?= $(DEB_SOURCE_PACKAGE)
+SF_MODULE ?= $(DEB_SOURCE_PACKAGE)
+SF_TARBALL ?= $(SF_MODULE)-$(DEB_UPSTREAM_VERSION).$(TARBALL_EXT)
+SF_DOWNLOAD_URL ?= http://$$sf_mirror.dl.sourceforge.net/$(SF_PROJECT)/$(SF_TARBALL)
+SF_MIRRORS ?= belnet easynews heanet internap jaist kent mesh nchc optusnet ovh puzzle superb-east superb-west surfnet switch ufpr umn
+SF_DOWNLOAD_COMMAND ?= for sf_mirror in $(SF_MIRRORS); do wget -nv -T10 -t1 -O $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) $(SF_DOWNLOAD_URL) && break; done
+
+get-orig-source:
+	dh_testdir
+	@@echo 'Source package:                      $(DEB_SOURCE_PACKAGE)'
+	@@echo 'Source package:                      $(DEB_VERSION)'
+	@@echo 'Source version without epoch:        $(DEB_NOEPOCH_VERSION)'
+	@@echo 'Upstream version (for orig tarball): $(DEB_UPSTREAM_VERSION)'
+	mkdir -p $(DEB_TARBALL_DOWNLOAD_DIR)
+	$(SF_DOWNLOAD_COMMAND)
+	case "$(TARBALL_EXT)" in \
+	tar.bz2|tbz) \
+	  bzcat $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) | \
+	  gzip -9 >$(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz ; \
+	  rm -f $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) \
+	  ;;\
+	esac
+	cd $(DEB_TARBALL_DOWNLOAD_DIR) && \
+	  tar xzf $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz
+	cd $(DEB_TARBALL_DOWNLOAD_DIR) && \
+#	  rm -f $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)/qemu/pc-bios/openbios* && \
+#	  rm -f $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)/qemu/pc-bios/*.bin && \
+	  rm -f $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)/bios/VGABIOS* && \
+	  rm -f $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)/bios/*.bin
+	cd $(DEB_TARBALL_DOWNLOAD_DIR) && \
+	  for i in $(unwanted_bios_files); do \
+	    rm -f $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)/qemu/pc-bios/$$i; \
+	  done 
+	cd $(DEB_TARBALL_DOWNLOAD_DIR) && \
+	  tar c $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION) | \
+	  gzip -9 >$(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION)+dfsg.orig.tar.gz
+
+
+.PHONY: build clean binary-indep binary-arch binary install binary-modules kdist kdist_configure kdist_config kdist_image kdist_clean
+
--- kvm-85+dfsg.orig/debian/postrm.modules.in
+++ kvm-85+dfsg/debian/postrm.modules.in
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+set -e
+
+drivers="kvm kvm-intel kvm-amd"
+if dpkg --compare-versions "@KERNEL@" lt 2.6.26 ; then
+  dir=/lib/modules/@KERNEL@/kernel/drivers/kvm
+else
+  dir=/lib/modules/@KERNEL@/kernel/arch/x86/kvm
+fi
+
+case "${1}" in
+	remove)
+		for driver in $drivers; do
+			if [ -e "$dir/$driver.ko.linux" ]; then
+				dpkg-divert --package kvm-modules-@KERNEL@ --remove --rename \
+					--divert $dir/$driver.ko.linux                       \
+						 $dir/$driver.ko
+			fi
+		done
+		;;
+
+	purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+		;;
+
+	*)
+		echo "postrm called with unknown argument \`$1'" >&2
+		exit 1
+		;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- kvm-85+dfsg.orig/debian/kvm.init
+++ kvm-85+dfsg/debian/kvm.init
@@ -0,0 +1,74 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          kvm
+# Required-Start:    
+# Required-Stop:     
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: KVM init script
+# Description:       This script loads the kernel modules needed by kvm
+### END INIT INFO
+
+. /lib/lsb/init-functions
+
+# Figure out which module we need.
+if grep -q ^flags.*\\\<vmx\\\> /proc/cpuinfo
+then
+	module=kvm_intel
+elif grep -q ^flags.*\\\<svm\\\> /proc/cpuinfo
+then
+	module=kvm_amd
+else
+	module=
+fi
+
+case "$1" in
+  start)
+	if [ -z "$module" ]
+	then
+		log_failure_msg "Your system does not have the CPU extensions required to use KVM. Not doing anything."
+		exit 0
+	fi
+	if [ -c /dev/kvm -a /dev/.udev ]
+	then
+		log_success_msg "/dev/kvm already exists. Not doing anything."
+		exit 0
+	fi
+	if modprobe "$module" 
+	then
+		log_success_msg "Loading kvm module $module"
+	else
+		log_failure_msg "Module $module failed to load"
+		exit 1
+	fi
+	;;
+  stop)
+	if [ -z "$module" ]
+	then
+		exit 0
+	fi
+	if lsmod | grep -q "$module"
+	then
+		if rmmod "$module" 
+		then
+			log_success_msg "Succesfully unloaded kvm module $module"
+			rmmod kvm
+		else
+			log_failure_msg "Failed to remove $module"
+			exit 1
+		fi
+	else
+		log_failure_msg "Module $module not loaded"
+	fi
+	;;
+  force-reload|restart)
+	$0 stop
+	$0 start
+	;;
+  *)
+	echo "Usage: $0 {start|stop|restart|force-reload}" >&2
+	exit 3
+	;;
+esac
+
+:
--- kvm-85+dfsg.orig/debian/kvm.udev
+++ kvm-85+dfsg/debian/kvm.udev
@@ -0,0 +1 @@
+KERNEL=="kvm", NAME="%k", GROUP="kvm", MODE="0660"
--- kvm-85+dfsg.orig/debian/postinst
+++ kvm-85+dfsg/debian/postinst
@@ -0,0 +1,44 @@
+#!/bin/sh
+# postinst script for kvm
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+        # Add the kvm group unless it's already there
+        if ! getent group kvm >/dev/null; then
+            addgroup --quiet --system kvm || true
+        fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
--- kvm-85+dfsg.orig/debian/kvm.1
+++ kvm-85+dfsg/debian/kvm.1
@@ -0,0 +1,78 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.TH KVM 1 "2008-03-31"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+
+.SH NAME
+kvm \- x86 emulator with CPU VT support
+
+.SH SYNOPSIS
+.B kvm
+.RI [ options ] [ disk_image ]
+.SH OPTIONS
+.TP
+.B \-h
+Print a summary of all options.
+.TP
+.B -no-kvm
+Disable KVM hardware virtualization.
+.TP
+All other options
+The other options are similar to those of qemu.
+
+.SH DESCRIPTION
+.B kvm
+is based on qemu and its parameters are the same with the above
+additions, please see the kvm-qemu(1) manpage for instructions on how to
+run the program.
+
+.SH SETTING UP THE NETWORK
+In Debian, kvm uses the configuration script
+.I /etc/kvm/kvm-ifup
+to initialize the network for the virtual machine on the host side
+when starting a virtual machine.  The default script sets up a virtual
+switch, so the guest appears to be on the same subnet as the host,
+which greatly simplifies setting up networking in the guest operating
+system. For example, if the IP adress of the host is 192.168.1.1, the
+guest could use 192.168.1.2, with a netmask of 255.255.255.0.
+
+To learn more about setting up the network, please refer to the
+following documents:
+.TP
+.BR "QEMU Documentation" " at"
+.I http://bellard.org/qemu/qemu-doc.html
+.TP
+.BR "Linux Networking-concepts" " at"
+.I http://www.netfilter.org/documentation/HOWTO/networking-concepts-HOWTO.html
+.TP
+.BR "Linux Networking HOWTO" " at"
+.I http://tldp.org/HOWTO/NET3-4-HOWTO.html
+.TP
+.BR "Linux Advanced Routing & Traffic Control HOWTO" " at"
+.I http://tldp.org/HOWTO/Adv-Routing-HOWTO/index.html
+
+.SH FILES
+.na
+.nf
+.BR "/etc/kvm/kvm-ifup" ", called at startup to configure the host-side network"
+.BR "/usr/share/kvm/" ", BIOS files are by default loaded from this directory"
+.BR "/usr/share/kvm/keymaps" ", keymap files"
+
+.SH SEE ALSO
+.BR "kvm-qemu" "(1), " "kvm-img" "(1)."
+.SH AUTHOR
+KVM was written by Avi Kivity from Qumranet.
+.PP
+This manual page was written by Baruch Even <baruch@debian.org> and
+Leonard Norrgard <vinsci@refactor.fi> for the Debian project (but may
+be used by others).
--- kvm-85+dfsg.orig/debian/preinst
+++ kvm-85+dfsg/debian/preinst
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+# Remove a no-longer used conffile
+# (from http://wiki.debian.org/DpkgConffileHandling)
+rm_conffile() {
+    local PKGNAME="$1"
+    local CONFFILE="$2"
+
+    [ -e "$CONFFILE" ] || return 0
+
+    local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')"
+    local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \
+            sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")"
+    if [ "$md5sum" != "$old_md5sum" ]; then
+        echo "Obsolete conffile $CONFFILE has been modified by you."
+        echo "Saving as $CONFFILE.dpkg-bak ..."
+        mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
+    else
+        echo "Removing obsolete conffile $CONFFILE ..."
+        rm -f "$CONFFILE"
+    fi
+}
+
+case "$1" in
+install|upgrade)
+    if dpkg --compare-versions "$2" le "84+dfsg-2"; then
+        rm_conffile kvm "/etc/kvm/utils/kvm"
+    fi
+esac
+
+#DEBHELPER#
+
+exit 0
--- kvm-85+dfsg.orig/debian/README.Debian
+++ kvm-85+dfsg/debian/README.Debian
@@ -0,0 +1,64 @@
+KVM for Debian
+--------------
+
+To find out if your processor has the necessary hardware support for kvm, do as
+follows:
+
+ - Make sure you run Linux 2.6.16 or newer for AMD processors, or
+   Linux 2.6.15 for Intel processors.  Older Linux versions do not report the
+   virtualization capabilities.
+
+ - Run this command in a shell: egrep '^flags.*(vmx|svm)' /proc/cpuinfo
+
+If it prints anything, the processor provides hardware virtualization support
+and is suitable for use with KVM.
+
+Without hardware support, you can use qemu instead, possibly with the kqemu
+package for better performance.
+
+The recommended qemu package contains the script
+/usr/sbin/qemu-make-debian-root, which uses debootstrap to build a Debian disk
+image. See the man page for qemu-make-debian-root. The suggested hal package is
+only used for automatically reporting the system bios version and computer
+model when reporting bugs.
+
+The Debian kvm source package provides two packages,
+
+ 1) kvm, which the provides the userspace daemon
+ 2) kvm-source, which provides the source for the kernel modules
+
+Linux 2.6.22 and later include kvm modules which are compatible with this kvm
+package.
+
+If you want to use the current features you need to install the kvm-source
+package, build the kernel modules as described below and then install the
+newly built modules package.
+
+Without the kernel modules KVM will be very slow.  When KVM is operating at
+full speed, the virtual machine window title will say "QEMU/KVM". If
+the KVM modules are not installed or the user has no write access to
+/dev/kvm, the window title will just say "QEMU" and the virtual PC
+will be very slow.
+
+The kvm-source package can be used in several ways, once it has been
+installed:
+
+ - If the module-assistant package is installed, the KVM kernel
+   modules can be automatically built, packaged and installed
+   with a single command. Simply become root and run the command:
+
+   # module-assistant auto-install --force kvm
+
+   or just:
+
+   # m-a a-i --force kvm
+
+ - Using the make-kpkg(1) command provided by the kernel-package Debian
+   package. This will produce a corresponding kvm-modules package for
+   the Debian kernel-image package that you are using. This is "the Debian
+   way". See the "modules_image" section of the make-kpkg(1) man page.
+
+ - Changing to the /usr/src/modules/kvm/ directory and building as
+   the README file instructs using "make; make install". This will build
+   and install a module specific to the system you are building on and is
+   not under control of the packaging system.
--- kvm-85+dfsg.orig/debian/control
+++ kvm-85+dfsg/debian/control
@@ -0,0 +1,59 @@
+Source: kvm
+Section: misc
+Priority: optional
+Maintainer: Jan Lübbe <jluebbe@debian.org>
+Uploaders: Guido Günther <agx@sigxcpu.org>
+Build-Depends: debhelper (>= 5), pkg-config, quilt (>= 0.40), autotools-dev,
+ bzip2, uuid-dev, zlib1g-dev, libsdl1.2-dev, libasound2-dev, libgnutls-dev,
+ libncurses5-dev, libvdeplug2-dev, libpulse-dev, libbluetooth-dev, nasm,
+ texi2html, bcc, iasl, device-tree-compiler [powerpc],
+ etherboot [i386 amd64], libbrlapi-dev, libpci-dev
+Standards-Version: 3.8.1.0
+Homepage: http://www.linux-kvm.org/
+Vcs-Browser: http://git.debian.org/?p=collab-maint/kvm.git;a=summary
+Vcs-Git: git://git.debian.org/git/collab-maint/kvm.git
+
+Package: kvm
+Architecture: i386 amd64
+Pre-Depends: adduser
+Depends: ${shlibs:Depends}, ${misc:Depends}, iproute, bridge-utils, python
+Recommends: linux-image
+Suggests: debootstrap, hal, vde2, samba, kvm-source
+Conflicts: kvm-source (<= 18-1), kvm-data (<= 66+dfsg-1.1)
+Replaces: kvm-data (<= 66+dfsg-1.1)
+Description: Full virtualization on x86 hardware
+ Using KVM, one can run multiple virtual PC:s, each running unmodified Linux or
+ Windows images. Each virtual machine has private virtualized hardware: a
+ network card, disk, graphics adapter, etc. 
+ .
+ KVM (for Kernel-based Virtual Machine) is a full virtualization solution for
+ Linux hosts on x86 hardware with x86 guests. KVM is intended for systems where
+ the processor has hardware support for virtualization, see below for details.
+ All combinations of 32-bit and 64-bit host and guest systems are supported,
+ except 64-bit guests on 32-bit hosts.
+ .
+ KVM requires your system to support hardware virtualization, provided by AMD's
+ SVM capability or Intel's VT. See /usr/share/doc/kvm/README.Debian for more
+ information.
+
+
+Package: kvm-source
+Architecture: all
+Section: kernel
+Depends: debhelper (>= 5), make, bzip2, module-assistant
+Suggests: kernel-package, linux-headers | linux-source
+Enhances: kvm
+Description: Source for the KVM driver
+ This package provides the source code for the KVM kernel modules.
+ The kvm package is also required in order to make use of these
+ modules. Kernel source or headers are required to compile these modules.
+
+
+Package: kvm-dbg
+Architecture: any
+Section: debug
+Depends: kvm (= ${binary:Version})
+Priority: extra
+Description: Debugging info for kvm
+ This package contains the debugging symbols for kvm.
+
--- kvm-85+dfsg.orig/debian/kvm-source.links
+++ kvm-85+dfsg/debian/kvm-source.links
@@ -0,0 +1 @@
+usr/share/modass/packages/default.sh usr/share/modass/overrides/kvm-source
--- kvm-85+dfsg.orig/debian/changelog.upstream
+++ kvm-85+dfsg/debian/changelog.upstream
@@ -0,0 +1,1716 @@
+= kvm-85 [21 apr 2009] =
+ *  merge qemu-svn
+  * microsoft serial mouse emulation
+  * cpuid fixes
+  * multiple simultaneous vnc client support
+  * allow additions of acpi tables from command line
+  * fix SDL with X.org evdev driver
+  * vnc sasl authentication
+  * fix one qcow2 corruptor
+  * fix qcow2 > 2TB images
+  * use preadv/pwritev when available for zero-copy block devices
+ * make pci mmio page aligned (Weidong Han)
+ * testsuite: MSR_KERNEL_GS_BASE handling
+ * fix extboot with cache=off (Nolan Leake)
+ * add release script
+ * add split qemu and kvm-kmod releases
+ * remove kvm script
+ * don't hardcode tsc_khz on older kernels (Marcelo Tosatti)
+ * count extboot as a disk in bios (Gleb Natapov)
+  * fixes Vista boot from virtio
+ * start/stop vcpus before/after devices (Yaniv Kamay)
+ * ia64 build fixes (Jes Sorensen)
+ * testsuite: test EFER.NXE
+ * ./configure fixes (Mark McLoughlin)
+ * don't use dirty log on ia64 (Yang Zhang)
+ * improve pci address parsing (Weidong Han)
+ * backward compatibility for PAGE_KERNEL_UC on ia64 (Yang Zhang)
+ * backward compatibility for msidef.h on ia64 (Yang Zhang)
+ * fix 4GB+ guest RAM with large pages (Marcelo Tosatti)
+ * clear tap features on initialization
+ * testsuite: jmp/jcc instructions (Gleb Natapov)
+ * fix handling of large pages in assigned devices (Joerg Roedel)
+ * mmu cleanups (Joerg Roedel)
+ * report irq injections to userspace (Gleb Natapov)
+ * set accessed bit on segment selectos on AMD (Andre Przywara)
+  * fixes cross-vendor migrations
+ * fix large page memory leak (Joerg Roedel)
+ * ppc e500 mmucsr0 register emulation (Liu Yu)
+ * support device deassignment (Weidong Han)
+ * fix ia64 msi build errors (Xiantao Zhang)
+ * update msr state when entering long mode (Amit Shah)
+ * fix test for long mode (Amit Shah)
+  * fixes some Solaris x64 variants
+ * fix sparse annotations (Hannes Eder)
+ * don't use highmem pages for vmx msr and pio bitmaps
+ * don't intercept MSR_KERNEL_GS_BASE on Intel
+  * speeds up Windows 2008 x64 somewhat
+ * unify ioapic and msi interrupt delivery (Sheng Yang, Gleb Natapov)
+ * msi-x support (Sheng Yang)
+ * fix kvmclock memory leak (Joerg Roedel)
+ * fix preempt warning in kvmclock (Matt T. Yourst)
+ * guest: skip pit-through-ioapic boot test (Marcelo Tosatti)
+ * stop ioapic code leaking into archs which don't have an ioapic (Christian Borntraeger)
+ * pit cleanups (Marcelo Tosatti)
+ * fix ia64 build (Zhang Yang)
+ * reduce unnecessary shadow update when a guest pte becomes dirty (Joerg Roedel)
+ * Altix SN2 real time clock support (Jes Sorensen)
+ * advertise irq routing table size (Sheng Yang)
+ * rework device assignment code (Sheng Yang, Marcelo Tosatti)
+ * fix missing flush on invlpg emulation (Andrea Arcangeli)
+ * fix ppc e500 mas0 wrong update (Liu Yu)
+ * fix smp instability on ppc e500 (Liu Yu)
+ * fix free_mmu_pages() doing things out of lock (Gleb Natapov)
+ * ignore reads to performance counter EVNTSEL msts (Amit Shah)
+  * fixes Kapersky antivirus failure
+ * clean up AMD interrupt injection (Gleb Natapov)
+ * make vmx module parameters readable, and reflect current setting
+ * simplify module parameter names
+ * fix compatibility mode guests ability to trash EFER
+ * don't unconditionally unhalt vcpu on timer event (Gleb Natapov)
+ * only unhalt vcpu on interrupt if interrupt window is open (Gleb Natapov)
+  * prevents 100% cpu on boot failure
+ * fix incorrect vmcs field sizes on some fields (Eddie Dong)
+ * fix misleading comment (Eddie Dong)
+ * enable external interrupts while in ia64 vmm (Yang Zhang)
+ * fix off-by-one calculating large page count
+ * emulate page fault caused by reserved bits set in guest pte (Eddie Dong, Sheng Yang)
+ * use different shadows when EFER.NXE changes
+ * clean up lapic freeing (Wei Yongjun)
+ * clean up flexpriority related code (Sheng Yang)
+ * fix vmx feature testing (Sheng Yang)
+ * fix PDPTE reserved bit testing (Eddie Dong)
+ * fix handling of a fault during NMI unblocked due to IRET (Gleb Natapov)
+ * clean up vmx interrupt completion (Gleb Natapov)
+ * fix task switch back link pointer (Gleb Natapov)
+ * fix near call emulation (Gleb Natapov)
+ * fix extboot failure after reset (Ryan Harper)
+ * ia64 vga fixes (Xiantao Zhang)
+ * ia64 instruction/data cache synchronization fixes (Xiantao Zhang)
+ * disable global page optimization (Marcelo Tosatti)
+  * fixes FreeBSD failures
+ * fix locking order when entering ia64 guest (Jes Sorensen)
+ * fix PIT mode 0 handling (Marcelo Tosatti)
+
+= kvm-84 [15 fev 2009] =
+
+ * merge qemu-svn
+  * redirect slirp traffic to qemu-char device
+  * slirp fixes
+  * qcow2 fixes
+  * nic link status control
+  * enable ac97 audio by default
+  * add virtio-console device
+  * fix rtc time drift on Windows (-rtc-td-hack option)
+  * add -vga none option for running headless guests
+  * better block device error propagation
+  * fix guests halting when switching desktop workspace
+  * improved display interfaces
+  * better logging support
+  * don't corrupt qcow2 images when out disk space on host
+  * dma api
+  * add pci device vendor ID
+  * vnc improvements
+  * improve Virtual PC disk format support
+  * scsi fixes
+  * multicast filtering for e1000 and virtio-net
+ * add libkvm wrapper for KVM_SET_CPUID2 interface (Amit Shah)
+ * fix cpuid for leaves 4, 11, 13 (Amit Shah)
+ * save ia64 nvam (Yang Zhang)
+ * compile fixes (Mark !McLaughlin, Jan Kiszka)
+ * generic irq routing
+ * build fixes against RHEL 5 hosts (Andrea Arcangeli)
+ * fix build when pc-bios directory is empty (Eduardo Habkost)
+ * improve host version check (Mark !McLaughlin)
+ * drop obsolete eflags conversion to/from qemu emulator (Jan Kiszka)
+ * preallocate memory with -mem-path (John Cooper)
+ * don't register unassigned PCI BARs (Gleb Natapov)
+ * more hrtimer API compatibility
+ * fix build on uniprocessor hosts (Jan Kiszka)
+ * fix build on pre-msi hosts (Jan Kiszka)
+ * allow stopping vm from vcpu thread (Gleb Natapov)
+ * fix cpu and pci hotplug (Gleb Natapov)
+ * ppc updates (Liu Yu)
+ * fix ia64 fp trap handler (Yang Zhang)
+ * fix ia64 vtlb handling (Xiantao Zhang)
+  * enables Windows 2008 on ia64
+ * support translating ia64 PAL arguments (Xiantao Zhang)
+ * implement ia64 PAL calls needed by Windows 2008 (Xiantao Zhang)
+ * map assigned device mmio as uncachable (Sheng Yang)
+ * fix lapic pending count calculation (Marcelo Tosatti)
+ * fix s390 printk (Christian Borntraeger)
+ * fix s390 problem state check (Christian Borntraeger)
+ * fix s390 SIGP set prefix ioctl (Christian Borntraeger)
+ * dynamic ia64 cpu count (Jes Sorensen)
+ * fix lapic build on i386 (Clemens Noss)
+ * make irq ack notifications use routing table (Marcelo Tosatti)
+ * FFXSR support (Alexander Graf)
+ * fix assigned device circular locking dependency (Mark !McLaughlin)
+ * drop unused code from string pio handlers (Jan Kiszka)
+ * fix kvmclock on hosts with unstable tsc (Gerd Hoffman)
+  * reenables Fedora 10 guests on those hosts
+ * enable msi from userspace (Sheng Yang)
+ * remove duplicated code in EPT handler (Sheng Yang)
+ * flush volatile msrs on Intel before emulating rdmsr
+  * fixes cygwin on Windows x64
+
+= kvm-83 [13 jan 2009] =
+
+ * amd iommu support (with Linux 2.6.29+ hosts) (Joerg Roedel)
+ * merge qemu-svn
+  * qcow2 correctness fixes
+  * '-drive serial=...' option
+  * virtio-net migration fixes
+ * fix '--with-patched-kernel' build on Ubuntu (Nolan Leake)
+ * improved tsc handling (Marcelo Tosatti)
+  * should reduce timing errors on older Linux guests
+ * remove cpuid code duplication due to upstream qemu work (Amit Shah)
+ * guest S3 sleep (Gleb Natapov)
+ * load assigned devices option rom (Kechao Liu)
+ * '-no-kvm-pit-reinjection' option to improve timing on RHEL 3 era guests (Marcelo Tosatti)
+ * remove duplicate firmware config interface probe in bios (Sebastian Herbszt)
+ * backward compatibility for marker_synchronize_register() (Eduardo Habkost)
+ * fix compile warning in tpr patching (Mark !McLoughlin)
+ * don't install kvm headers to /usr/local
+ * fix smbios memory size in certain cases (Bill Rieske)
+ * simplify mmu shadow walking function
+ * stop using vmap() on guest pages (annoys ksm) (Izik Eidus)
+ * fix warning on MSR_VM_HSAVE_PA in dmesg
+ * fix i8254 timer count read (Marcelo Tosatti)
+ * ppc e500 core support (Hollis Blanchard)
+ * fix vmx real mode guest state validity checks
+ * make pop instruction emulation a little more generic
+ * implement 'ret far' instruction emulation
+ * properly lock i8354 timer
+ * remove ppc debug support (Hollis Blanchard)
+ * fix race freeing assigned device interrupt (Sheng Yang)
+ * fix pci interrupt in freeing in device assignment (Sheng Yang)
+ * allow disabling msi for assigned devices (Sheng Yang)
+ * emulate amd microcode level msr (Alexander Graf)
+  * helps esx boot on kvm
+ * make page unshadowing a little faster
+ * clear pending pit interrupts when unmasking the timer irq
+  * fixes xen-on-kvm
+ * mmu notifiers release method (Marcelo Tosatti)
+  * fixes large pages support
+ * expose ia64 registers to userspace (Jes Sorensen)
+ * fix type in has_svm() (Joe Perches)
+ * drop unnecessary memory clearing when allocating shadow page (Marcelo Tosatti)
+ * rename "metaphysical" page attribute to "direct"
+ * fix irq routing with -no-kernel-irqchip
+
+= kvm-82 [25 dec 2008] =
+
+ * merge qemu-svn
+   * uuid support
+   * fix CVE-2007-5729 (slirp vulnerability)
+   * fix CVE-2008-2382 (vnc denial of service)
+   * better scsi support
+   * pci subsystem id for pci devices
+     * this will cause Windows guest to rediscover hardware
+   * improved I/O parallelism
+   * ppc kvm support
+   * hpet support
+     * not fully integrated yet
+   * monitor 'info status' command
+ * merge bochs-bios-cvs
+   * uuid support
+   * prepare for S3 sleep
+ * merge vgabios-cvs
+ * much improved guest debugging (Jan Kiszka)
+   * both debugger in guest and debugger in host
+ * fix kvm makefile for separate object dir (Andi Kleen)
+ * nested svm (Alexander Graf)
+   * run kvm in kvm in kvm...
+ * fix ia64 register and stack access from userspace (Jes Sorensen)
+ * don't treat a global pte as global if cr4.pge is clear
+   * fixes Vista x86 smp failure on boot
+ * properly lock virtual i8259 interrupt controller
+ * fix large host pages invlpg/resync
+   * fixes oops when using host hugetlbfs
+ * fix vmload instruction misemulated as lidt
+
+= kvm-81 [16 dec 2008] =
+
+ * merge qemu-svn
+  * fix performance regression with qcow2 files
+  * improve qcow2 data integrity with cache=writethrough
+  * fix display corruption with gnome panel auto-appear
+  * scsi improvements
+ * shld/shrd instruction emulation and unit test (Guillaume Thouvenin)
+ * ppc updates (Hollis Blanchard, Deepa Srinivasan, Christian Ehrhardt)
+ * prepare virtio for upstream merging (Anthony Liguori)
+ * fix uninitialized variable in virtio-net (Anthony Liguori)
+ * fix compile failure on Debian (Amit Shah)
+ * fix display loss in opensuse 11 installer
+ * fix vmmcall emulation on intel (Amit Shah)
+  * fixes amd->intel migration
+ * allow userspace to work with modules from kvm-79 and earlier
+ * fix undefined behaviour copying cpuid signature (Guillaume Thouvenin)
+ * fix build with --kerneldir (Maik Hentsche)
+ * really exit if device assignment fails (Mark !McLoughlin)
+ * fix vga on ia64 (Xiantao Zhang)
+ * simplify nmi injection from userspace (Jan Kiszka)
+ * enable virtio zero-copy (Mark !McLoughlin)
+  * also fixes crash in rare cases
+ * fix display loss on 32-bit hosts
+ * reduce tlb flushing when resyncing pages (Marcelo Tosatti)
+ * don't resync global pages on context switch (Marcelo Tosatti)
+  * improves HIGHMEM performance
+ * prepopulate shadow on invlpg (Marcelo Tosatti)
+ * fix kvmclock when HZ != 1000 (Eduardo Habkost)
+ * fix module unload race oops (Christian Borntraeger)
+ * reduce stack footprint on large hosts (Rusty Russell)
+ * reduce capability reporting code duplication
+ * check for missing pae pdptr on invlpg emulation (Marcelo Tosatti)
+  * fixes solaris 10 oops
+ * fix handlig of ack from irq shared between assigned and emulated devices (Mark !McLoughlin)
+ * fix nmi-vs-irq race for -no-kvm-irqchip (Jan Kiszka)
+
+= kvm-80 [7 dec 2008] =
+
+ * merge qemu-svn
+  * automatic port allocation for vnc and similar
+  * improved cdrom media change handling
+  * improved debugging support
+  * more scsi improvements
+  * e1000 vlan offload
+ * up to 256 vcpus for ia64 (Jes Sorensen)
+ * only request io port permission if device assignment is enabled (Jes Sorensen)
+ * fix in-kernel ioapic reset (Jan Kiszka)
+  * fixes guest reboot failures
+ * fix balloon for systems with page size different from 4K (Hollis Blanchard)
+ * fix bios memory reporting with >32G guests (Bill Rieske)
+ * drop inclusion of compiler.h in external modules (Xiantao Zhang)
+ * use vcpu pointers instead of vcpu numbers (Jes Sorensen)
+ * goodbye bool (Jes Sorensen)
+ * stop using separate structure for cpu state; use qemu's instead (Jes Sorensen)
+ * apic testsuite
+ * fix -no-kvm apic with smp (Jan Kiszka)
+ * clean up userspace nmi injection (Jan Kiszka)
+ * adjust external module for 2.6.28 hosts (Mark !McLoughlin)
+ * much improved large mtu/gso support for virtio-net (Mark !McLoughlin)
+ * simplify x86 emulator stack pop operations
+ * clean up device assignment code (Mark !McLoughlin)
+ * fix extboot returning error incorrectly (Glauber Costa)
+ * constrain device assignment mmio to page alignment (Han Weidong)
+ * ppc speedups (Hollis Blanchard)
+ * fix s390 problem state handling (Christian Borntraeger)
+ * fix interrupt loss when injecting an nmi
+  * fixes Linux guests with nmi watchdog hanging
+ * fix ia64 build (Xiantao Zhang)
+ * fix emergency reboot and kdump on host while running VMs (Eduardo Habkost)
+ * fix syncing of self-referencing ptes (Marcelo Tosatti)
+ * add printk() for ia64 vmm (Xiantao Zhang)
+ * add crashed vm handler for ia64 (Xiantao Zhang)
+ * use correct calling convention into ia64 PAL code (Xiantao Zhang)
+ * request interrupt window after injecting an interrupt if another is pending
+ * plug ppc memory leak when destroying a vm
+ * sign kvmclock as a paravirt operation (Glauber Costa)
+ * MSI support for device assigment (Sheng Yang)
+ * fix shadow pagetables leak (Marcelo Tosatti)
+  * fixes an oops
+ * optimize setting new pte while syncing a page (Marcelo Tosatti)
+ * reduce code duplication in x86 emulator
+ * fix s390 refcounting; allow module unload (Christian Borntraeger)
+ * fix s390 memory leak (Christian Borntraeger)
+ * prevent tracing calls into unloaded module (Wu Fengguang)
+ * fix sparse warnings (Hannes Eder)
+ * clean up irq ack notifiers (Mark !McLoughlin)
+ * powerpc large page support (Hollis Blanchard)
+ * faster powerpc shadow tlb handling (Hollis Blanchard)
+ * reduce powerpc guest tlb miss rate on context switches (Hollis Blanchard)
+ * powerpc exit timing stats (Hollis Blanchard)
+ * fix -no-kvm-irqchip not working with smp (Jan Kiszka)
+ * fix rendering regressions introduced by upstream qemu rendering support
+
+= kvm-79 [12 nov 2008] =
+
+ * merge qemu-svn
+  * fix qcow2 problems with scsi
+  * 'info chardev' monitor command
+ * device assignment userspace (Amit Shah, Muli Ben Yehudah, Ben-Ami Yassour, Weidong Han, Or Sagi, Nir Peleg, Glauber Costa, Xiantao Zhang)
+ * multiple processor infrastructure for ppc (Hollis Blanchard)
+ * fix error handling in eventfd() emulation (Mark !McLoughlin)
+ * handle large mtu with virtio-net (Mark !McLoughlin)
+ * move x86 specific device assignment code to x86 files (Christian Ehrhardt)
+ * fix 'pci_add' command descriptor (Weidong Han)
+ * enable pci function level reset for device assignment (Sheng Yang)
+ * fix incorrect handling of aliases gfns (Izik Eidus)
+ * ppc optimizations (Hollis Blanchard, Christian Ehrhardt)
+ * disallow guests from setting memory type when using EPT (Sheng Yang)
+ * fix cpuid leaf 11 loop termination (Nitin A Kamble)
+ * fix cpuid multiple leaf iteration (Nitin A Kamble)
+ * fix ia64 uniprocessor build (Xiantao Zhang)
+ * fix ppc Kbuild constraints (Hollis Blanchard)
+ * fix pit initialization memory leak
+
+= kvm-78 [2 nov 2008] =
+
+ * fix paravirt kernels due to missing oos flush (Marcelo Tosatti)
+ * code cleanups (Sheng Yang)
+ * fix guest shared interrupts for device assignment (Sheng Yang)
+ * avoid stale asm-offsets.h on ia64 (Xiantao Zhang)
+ * fix ia64 halt emulation (Xiantao Zhang)
+ * extend slot bitmap on i386 (Sheng Yang)
+ * move private memory slots to avoid conflict with device assignment (Sheng Yang)
+ * future-proof device assignment ABI
+ * add emulation and unit tests for add acc, imm instruction (Guillaume Thouvenin)
+ * fix nmi watchdog emulation (Jan Kiszka)
+ * optimize nmi watchdog delivery (Jan Kiszka)
+ * require irq ack notifier to be used with in-kernel irqchip (Sheng Yang)
+ * don't halt non-boot cpu if using in-kernel irqchip (Gleb Natapov)
+ * add cscope definitions (Sheng Yang)
+ * merge qemu-svn
+  * new live migration implementation
+  * usb improvements
+  * migration fixes
+ * read UUID from qemu (Gleb Natapov)
+ * increase max cpu count to 255 for ia64 (Xiantao Zhang)
+ * handle INIT before SIPI (Gleb Natapov)
+ * update ppc for nmi changes (Christian Ehrhardt)
+ * fix external module generation unifdef problem (Sheng Yang)
+ * set 'g' bit of segment descriptor on AMD when necessary (Amit Shah)
+ * set 'busy' bit of task descriptor on AMD when necessary (Amit Shah)
+  * fixes some AMD->Intel live migration failures
+ * use emulator to adjust rip of pio string instructions (Guillaume Thouvenin)
+ * increase rmap preallocation (Marcelo Tosatti)
+  * fixes oops on mmu intensive smp workloads
+ * handle mmio in big real mode (Guillaume Thouvenin)
+ * reorganize ia64 guest data area (Xiantao Zhang)
+ * fix ia64 guest signal mask (Xiantao Zhang)
+ * reduce locking when vcpu is halted (Xiantao Zhang)
+ * update e820 table for ept real mode identity map page (Sheng Yang)
+ * fix external module build with kvmtrace
+ * fix ppc xer access (Christian Ehrhardt)
+ * fix ppc threading (Hollis Blanchard)
+ * implement libcflat for ppc 44x (Hollis Blanchard)
+ * set smp limit for ppc (Hollis Blanchard)
+ * fix ppc memory setup (Christian Ehrhardt)
+
+= kvm-77 [12 oct 2008] =
+
+ * merge bochs-bios-cvs
+ * merge qemu-svn
+  * more -cpu options
+  * faster disk emulation (esp. with scsi/virtio)
+ * improved NMI support (Jan Kiszka)
+ * improve >4GB memory support (Alex Williamson)
+ * memory alias cleanups (Glauber Costa)
+ * fix kvmtrace segfault (Ryota OZAKI)
+ * make external module compile on split source/object configs (Alexander Graf)
+  * allows compiling on opensuse
+ * fix -std-vga regression
+ * fix migration failure at end of migration protocol
+ * map mmio pages for device assignment (Weidong Han)
+ * silence lapic kernel messages (Jan Kiszka)
+ * fix vcpu reset (Gleb Natapov)
+ * fix missed invlpg on EPT-enabled machines with EPT disabled (Marcelo Tosatti)
+ * device assignment on ia64 (Xiantao Zhang)
+ * memory type support on EPT (Sheng Yang)
+
+= kvm-76 [28 sep 2008] =
+
+ * merge qemu-svn
+  * improved usb support
+  * vnc improvements
+  * pass uuid to guest
+  * scsi improvements
+ * change virtio-blk to guest-endian configuration (Liu Yu)
+ * add 'call near absolute' to x86 emulator and testsuite (Mohammed Gamal)
+ * drop support for kernel memory allocation (Glauber Costa)
+ * avoid fiddling with ISA mappings (Jan Kiszka)
+  * improves debugging support
+ * fix external module build on 2.6.22 hosts
+ * make kernel and userspace memory slot count agree (Sheng Yang)
+ * add 'cmp' to x86 emulator testsuite (Mohammed Gamal)
+ * allow 'make sync' from toplevel directory
+ * external module compatibility for get_user_pages_fast() api (Jan Kiszka)
+ * correct mtrr setup with >= 4GB RAM (Alex Williamson)
+ * fix ia64 boot with acpi enabled (Xiantao Zhang)
+ * initialize userspace kvm context (Uri Lublin)
+ * fix ia64 with >= 3GB RAM (Xiantao Zhang)
+ * avoid allocating translated code buffer when using kvm
+ * simplify memory registration (Glauber Costa)
+ * support kvmtrace with external module (Eduardo Habkost)
+ * ia64 init code simplification (Jes Sorensen)
+ * ia64 external module compatibility with older kernels (Xiantao Zhang)
+ * fix live migration due to slot number getting lost (Uri Lublin)
+ * prevent live migration if a device is missing on the target (Uri Lublin)
+ * fix include-compat/asm symlinks (Uri Lublin)
+ * do not execute halted vcpus (Marcelo Tosatti)
+ * fix global tlb flushes with NPT (Joerg Roedel)
+ * fix preemption error on real mode emulation
+ * fix page aging with EPT (Sheng Yang)
+ * simplify locking around ppc shadow tlb page access (Hollis Blanchard)
+ * cleanup redundant vmcs read (Jan Kiszka)
+ * fix 64-bit jmp instruction emulation
+ * move vmx msr definitions to common code
+ * better support for instructions that reference the accumulator (Guillaume Thouvenin)
+ * add cmp acc, imm instruction emulation (Guillaume Thouvenin)
+ * kernel support for device assignment (Allen Kay, Amit Shah, Weidong Han, Ben-Ami Yassour)
+ * switch to using get_user_pages_fast() (Marcelo Tosatti)
+  * nice speedup on 2.6.27+ hosts
+ * build fix for ia64 (Jes Sorensen)
+ * code cleanup (Harvey Harrison)
+ * avoid entering guest after a startup IPI (Gleb Natapov)
+ * simplify 'push reg' instruction emulation (Guillaume Thouvenin)
+ * fix error handling on vcpu creation failure (Glauber Costa)
+ * support Tukwilla ia64 processors (Xiantao Zhang)
+ * fix tlb flush when converting a large page to small pages (Marcelo Tosatti)
+ * out-of-sync shadow (Marcelo Tosatti)
+ * reduce inter-processor interrupt generation when using the PIC (Marcelo Tosatti)
+
+= kvm-75 [10 sep 2008] =
+
+ * add 1280x768 std-vga resolution
+ * ballooning (Anthony Liguori)
+  * requires 2.6.27+ host to work correctly
+ * fix bad memory sizing on ia64 (Xiantao Zhang)
+ * restore option roms to their original content on reset
+  * fixes extboot failures after reset
+ * enable ia64 power manangement (Xiantao Zhang)
+ * add cld/std/cli/sti/clc instructions to testsuite (Mohammed Gamal)
+ * fix compile errors on hosts that lack MADV_DONTFORK
+ * avoid accessing CMOS NVRAM from ACPI AML (Gleb Natapov)
+  * fixes rare reboot failures with Windows
+  * fixes ACPI error messages in Windows event log
+ * add mp state for ia64 (Xiantao Zhang)
+ * add missing prototypes (Jes Sorensen)
+ * fix compiler warnings (Jes Sorensen)
+ * add in/out instructions to emulator (Mohammed Gamal)
+ * use Windows pcr instead of guest's tr for tpr patching cpu id
+  * fixes hibernate/resume with guest smp
+ * account for realmode/npt/ept page faults in statistics
+ * fix locking around dirty log tracking
+ * flush tlbs after fetching the dirty log
+ * fix random segfaults with npt (Joerg Roedel)
+ * fix setting accessed bit on non-speculative sptes
+ * fix tlb flush during page zap
+ * slightly optimize event injection with npt
+ * add MC5_MISC msr support (Joerg Roedel)
+  * fixes Linux bootup warnings
+ * make s390 facility bits future proof (Christian Borntraeger)
+ * improve s390 guest Kconfig help (Christian Borntraeger)
+ * add cld/std instructions to emulator (Mohammed Gamal)
+ * fix address overflow in ept (Sheng Yang)
+ * add statistic for guest irq injections
+ * remove unnecessary remote tlb flush (Joerg Roedel)
+
+= kvm-74 [28 aug 2008] =
+
+ * make real-mode startup state conform to spec
+ * fix scheduling error in experimental big real mode support
+ * fix reboot fault handler exception table entry (Eduardo Habkost)
+ * x86 emulator code cleanup (Roel Kluin)
+ * fix 'neg r/m' instruction emulation forced to byte size
+ * fix shadow ptes corruption on i386 hosts running smp guests
+ * fix kvmtrace ABI breakage (Adrian Bunk)
+ * enable virtio for ia64
+ * add generic shadow page table walker
+ * allocate internal guest memory as MAP_PRIVATE
+ * don't call get_user_pages(.force=1)
+  * paves the way for get_user_pages_fast()
+ * add mov r, imm instructions to the emulator (Mohammed Gamal)
+ * realmode emulator testsuite
+ * ia64 external module support (Xiantao Zhang)
+ * support tap IFF_VNET_HDR (Mark !McLoughlin)
+ * merge qemu-svn
+  * improved usb support
+  * usb auto connect/disconnect
+ * protect against possible corruption during qemu fork() on older hosts (Marcelo Tosatti)
+
+= kvm-73 [21 aug 2008] =
+
+ * merge qemu-svn
+  * improve qcow2 performance with cache=off
+  * ide fixes
+ * ia64 external module (Xiantao Zhang)
+ * external module compatibility with 2.6.27 hosts
+ * fix sysenter msrs save/restore (Alexander Graf)
+ * fix 2.6.26 host support (Nikola Ciprich)
+ * fix linux-user build (Philippe Gerum)
+ * virtio-net speedup (Mark !McLoughlin)
+ * fix ./configure with multiple arguments
+ * support Windows hibernation on non-!FlexPriority hosts
+ * fix makefile dependencies (Sheng Yang)
+ * fix compiler warnings (Jan Kiszka)
+ * work around dhclient checksum offload brokenness (Anthony Liguori)
+ * full swapping support (Andrea Arcangeli)
+  * needs 2.6.27 hosts
+ * internal irq ack notification api (Marcelo Tosatti, Amit Shah, Ben-Ami Yassour, Avi Kivity)
+ * fix pit timer interrupt injection logic (Marcelo Tosatti)
+ * paravirt guest: query tsc frequency from host (Glauber Costa)
+ * pci device assignment (Amit Shah, Ben-Ami Yassour, Weidong Han)
+  * still lacking dma
+ * fix large page crash on z10 mainframes (Christian Borntraeger)
+ * stack usage reduction (Dave Hansen, Sheng Yang)
+ * code cleanup (Sheng Yang)
+ * fix debug register corruption on Intel hosts (Marcelo Tosatti)
+ * fix -no-kvm-irqchip
+ * fix irq acking on pic reset (Marcelo Tosatti)
+ * ignore spurious timer interrupt acks
+ * limit device assignment to privileged user (Amit Shah)
+ * big real mode emulation framework (Mohammed Gamal)
+ * simpify irq injection (Amit Shah)
+ * dummy irq ack notifier for ia64 (Xiantao Zhang)
+
+= kvm-72 [28 jul 2008] =
+
+ * fix ia64 build breakage (Xiantao Zhang)
+ * ppc kvmtrace support (Christian Ehrhardt)
+ * merge qemu-svn
+  * fixes suspend/resume of multiple nics
+  * adds Virtual Distributed Ethernet (vde) support
+ * add 'push mem' to patched tpr instructions
+ * use host kernel anon_inodes support if available
+ * robustify signalfd() emulation
+ * avoid losing the iothread on random signals
+ * fix test for iothread (Jan Kiszka)
+ * remove hypercall device (Anthony Liguori)
+ * remove duplicate monitor command (Anthony Liguori)
+ * remove unused function declaration (Anthony Liguori)
+ * remove unnecessary change to TARGET_PAGE_SIZE (Anthony Liguori)
+ * remove qemu/kvm application decoration (Anthony Liguori)
+ * add 'info kvm' monitor command  (Anthony Liguori)
+ * s390 libkvm port (Carsten Otte)
+ * fix compile warning (Carlo Marcelo Arenas Belon)
+ * fix duplicate #include (Carlo Marcelo Arenas Belon)
+ * adjust external module for 2.6.27 hosts
+ * avoid tpr patching when the stack is not valid (Marcelo Tosatti)
+  * fixes some variant of Windows 2003 SMP
+ * fix extboot stomping on reserved interrupt vectors (H. Peter Anvin)
+ * remove unused -translation option (Anthony Liguori)
+ * fix preemption during copy_from_user_inatomic() on older hosts (Andrea Arcangeli)
+ * fix ppc cpu initialization (Hollis Blanchard)
+ * drop shadow ptes on memslot destruction (Marcelo Tosatti)
+ * improve invalid shadow root page table handling (Marcelo Tosatti)
+ * simplify mmu page zapping
+ * simplify interrupt processing on Intel
+ * remove redundant check for real mode (Mohammed Gamal)
+ * add clflush emulation (Glauber Costa)
+ * fix race setting shadow ptes on i386
+ * consolidate pic isr clearing into a function
+ * consolidate exception interrupt vector #defines (Jan Kiszka)
+ * fix interrupt reinjection in real mode (Jan Kiszka)
+ * unify guest register save/restore code
+ * x86 hardware task switching fixes (Marcelo Tosatti)
+ * optimize vmx by avoiding saving the host stack pointer
+ * fix interrupts being delayed by instruction emulation
+  * improves Vista stability
+ * fix reloading kvm-intel.ko while changing parameters (Sheng Yang)
+ * fix reboot exception entry build bug (Ingo Molnar)
+ * ignore no-op DEBUGCTL msr writes (Alexander Graf)
+  * fixes Netware
+ * fix irq state leak on ia64 (Julia Lawall)
+ * s390 fixes (Carsten Otte, Christian Borntraeger, Martin Schwidefsky)
+ * ppc guest breakpoint support (Hollis Blanchard)
+ * optimize ppc by not saving host tlb state (Hollis Blanchard)
+ * reduce ppc guest tlb writes (Hollis Blanchard)
+ * avoid guest tlb flushes on guest privilege switches (Hollis Blanchard)
+
+= kvm-71 [14 jul 2008] =
+
+ * 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)
+
+= kvm-70 [17 jun 2008] =
+
+ * improve virtio net performance (Anthony Liguori)
+ * enable pci slot identification for OS X (Alexander Graf)
+ * fix guest reset (Jan Kiszka)
+ * code cleanups (Jan Kiszka)
+ * fix userspace compilation on older kernels (Chris Wright)
+ * support running on 2.6.16 hosts (Andrea Arcangeli)
+  * including SLES 10
+ * generate mptable even for uniprocessor guests
+  * helps esx get further along
+ * fix corrupted breakpoints (Jerone Young)
+ * on_vcpu() mechanism to execute a function on a vcpu thread
+ * fix 'info registers' monitor command
+ * fix vcpu register access livelock when a vcpu is spinning
+ * fix stopping on debug events (Jan Kiszka)
+ * fix livelocks in guest debugger (Jan Kiszka)
+ * add mtrr support
+  * helps esx limp a bit more
+ * fix incorrect pmtimer overflow interrupt generation
+ * add 'push imm' instruction to testsuite
+ * fix on_vcpu() during guest debug (Jan Kiszka)
+ * document boot option for drive flag (Carlo Marcelo Arenas Belon)
+ * coalesced mmio support (Laurent Vivier)
+  * should speed up some workloads
+ * allow kprobes to coexist with preempt notifier emulation (Andrea Arcangeli)
+ * allow virtio devices to reset themselves (Marcelo Tosatti)
+ * asynchronous virtio storage device (Marcelo Tosatti)
+  * should improve performance
+ * fix deadlock waiting for I/O completion
+ * merge qemu-svn
+  * remove dependency on gcc 3
+  * vnc client segfault fix
+  * fix vnc problems on resize
+  * qemu-nbd tool
+ * fix libkvm memory slot destruction api (Ben-Ami Yassour)
+ * enable tpr optimization for smp
+  * should drastically speed up Windows XP SMP guests
+ * big-endian kvmtrace support (Li Tan)
+ * remove unneeded variable (Glauber Costa)
+ * convert acpi tables to use the C preprocessor for less repetition
+ * external module compatibility for NMI (Alexander Graf)
+ * fix live migration with new on_vcpu() calls
+ * fix false flooding when a pte points to a page table
+  * improves 2.4 pae guests with CONFIG_HIGHPTE
+ * enable NMI support on Intel (Sheng Yang)
+ * fix zero extension during mmio on ia64 (Jes Sorensen)
+ * fix hypercall return value on AMD
+  * fixes running CONFIG_KVM_GUEST guests
+ * s390: use yield() instead of schedule() (Christian Borntraeger)
+ * s390: fix locking order problem (Christian Borntraeger)
+ * s390: handle machine checks while guest is running (Christian Borntraeger)
+ * s390: fix interrupt delivery (Carsen Otte)
+ * s390: send program check on access error (Carsen Otte)
+ * s390: fix race when idling (Carsen Otte)
+ * ppc: add lwzx/stwz instruction emulation (Hollis Blanchard)
+ * ppc: code cleanup (Hollis Blanchard)
+ * ppc: report bad gfns (Hollis Blanchard)
+ * optimize pio path slightly
+ * improve segment register ordering
+ * migrate pit timer on vcpu migration (Marcelo Tosatti)
+ * emulate jmp far instruction (Guillaume Thouvenin)
+ * emulate mov reg, imm instruction (Guillaume Thouvenin)
+ * emulate mov reg, sreg instruction (Guillaume Thouvenin)
+ * optimize mmu page prefetching
+ * emulate push imm instruction
+ * avoid mmu page prefetching on AMD
+ * allow VMware Server to take over vmx when unloading the module (Eli Collins)
+ * avoid spinning during large guest teardown
+ * fix ioapic interrupt sharing (Marcelo Tosatti)
+ * fix crash on resume from suspend to ram (Andrea Arcangeli)
+ * fix race between timer migration and vcpu migration (Marcelo Tosatti)
+ * close timer injection race when entering guest mode (Marcelo Tosatti)
+ * fix reverse map corruption with large pages (Marcelo Tosatti)
+ * fix large page pte updates on non-pae guests (Marcelo Tosatti)
+ * avoid timer injection if timer already pending (Marcelo Tosatti)
+ * avoid linear rip calculation if not reporting (Glauber Costa)
+ * fix host oops on guest userspace access to guest page table
+ * improve emulation failure reporting
+ * emulate nop and xchg reg, acc (Mohammed Gamal)
+ * handle undecoded rex.b when r/m = 5
+ * simplify r/m and sib decoding
+ * simplify relative rip decoding
+ * avoid segment adjust for lea instruction
+
+= kvm-69 [19 may 2008] =
+
+ * fix kvm guest clock compile error without apic (Glauber Costa)
+ * support PIT mode 3 (Aurelien Jarno)
+  * needed by GNU Hurd
+ * fix host oops emulating smsw on AMD
+ * fake performance counter MSRs on AMD (Chris Lalancette)
+  * fixes RHEL 4 guests
+ * fix virtio compile error on s390 (Heiko Carstens)
+ * fix hlt emulation when PIT is running but not injecting interrupts (Marcelo Tosatti)
+ * ditto for local apic (Marcelo Tosatti)
+ * fix kernel and userspace structure name clash on ia64 (Xiantao Zhang)
+ * fix GVMM module including non-PIC objects (Xiantao Zhang)
+ * 'make mrproper' fix (Andrew Morton)
+ * fix host oops on emergency reboot when hitting virt instructions
+ * simplify host cpu unplug
+ * fix kvm_vcpu_block() state race (Marcelo Tosatti)
+ * set iosapic pin count to 48 for ia64 (Xiantao Zhang)
+ * ppc: fix compile warning (Hollis Blanchard)
+ * ppc: fix lost simultaneous interrupts (Hollis Blanchard)
+ * ppc: log failed DCR accesses (Hollis Blanchard)
+ * ppc: order IRQ bit numbers as per docs (Hollis Blanchard)
+ * ppc: remove IRQ polarity code (Hollis Blanchard)
+ * ppc: remember state of level-triggered interrupts (Hollis Blanchard)
+ * ppc: emulate pci controller on 440 SoC (Hollis Blanchard)
+ * ppc: add pci controller to bamboo platform (Hollis Blanchard)
+ * external module compatibility updates
+ * merge qemu-svn
+  * fix CVE-2007-1320 - Cirrus LGD-54XX "bitblt" heap overflow
+  * allow boot device change from the monitor
+  * reduce spurious vga updates
+  * fix CVE-2008-2004 - format guessing vulnerability
+ * remove merge conflict leftover (Carlo Marcelo Arenas Belon)
+
+= kvm-68 [4 may 2008] =
+
+ * Intel EPT support (Sheng Yang)
+ * Code cleanups (Harvey Harrison)
+ * Fix task switch busy bit setting (Izik Eidus)
+ * Reduce guest idle cpu usage on ppc (Hollis Blanchard)
+ * Support floating point instructions on ppc (Christian Ehrhardt)
+ * Fix lmsw emulation
+    * fixes host oops on AMD
+ * Add PIT mode 4 support (Marcelo Tosatti)
+    * fixes DragonflyBSD
+ * Avoid spurious exceptions on state reload (Jan Kiszka)
+ * Add SVM kvmtrace support (Joerg Roedel)
+ * Avoid schedule-in-atomic on 2.6.26 hosts (Andrea Arcangeli)
+ * Handle vma regions with no backing page (Anthony Liguori)
+    * yet another step on the way to pci device assignment
+ * move external module compatibility code into .c file
+ * build: sync non-x86 kvm headers
+ * avoid using kernel headers; use installed libc headers instead
+ * don't exit iothread berfore all vcpus are stopped (Dor Laor)
+ * libkvm uninitialized variable fix (Marcelo Tosatti)
+ * remove old user/config.mak (Jerone Young)
+ * fix vcpu startup race (Anthony Liguori)
+ * dump all libkvm errors to stderr (Jan Kiszka)
+ * fix cross-compilation (Jerone Young)
+ * fix kvm_show_code() to work on ROM and real-mode (Jan Kiszka)
+ * allow qemu -kernel option with extboot (Mark McLoughlin)
+
+= kvm-67 [28 apr 2008] =
+
+ * s390/ia64: compile fix (Christian Borntraeger)
+ * s390: change virtio interrupt to follow arch specification (Christian Borntraeger)
+ * close vcpu refcounting race (Al Viro)
+ * code cleanups (Hollis Blanchard, Christian Borntraeger)
+ * ppc 44x support (Hollis Blanchard, Jerone Young)
+ * reduce cr8 intercepts on AMD (Joerg Roedel)
+   * speeds up Vista x64
+ * fix locking in paravirt mmu support (Marcelo Tosatti)
+ * fix ppc build on non-44x (Stephen Rothwell)
+ * fix PIT time-drift compensation with multiple guests (Marcelo Tosatti)
+ * merge qemu-svn
+ * spin up vcpu threads before setting lapic contents
+ * pass disk geometery to extboot loader (Ryan Harper)
+ * separate header copying from source copying in 'make sync'
+ * implement 'hypervisor present' cpuid bit
+ * fix address truncation on ia64 (Jes Sorensen)
+ * handle nic/storage hotplug failure gracefully (Chris Wright)
+ * more kvm_stat display options
+ * fix qemu system_powerdown with Linux guests
+
+= kvm-66 [16 apr 2008] =
+
+ * adjust external module for 2.6.25 module locations (Anthony Liguori)
+ * fix userspace compilation failure without kernel pit (Joerg Roedel)
+ * kvmtrace performance monitoring mechanism (Eric Liu)
+ * stop all vcpus before saving their state (Marcelo Tosatti)
+   * fixes smp live migration
+ * save/restore kernel apicbase (Marcelo Tosatti)
+ * block SIG_IPI signals (Marcelo Tosatti)
+ * smsw mem16, lmsw mem16 emulation and unit tests
+ * fix compile warnings (Jerone Young)
+ * fix reset with iothread
+ * ia64 architecture support (Xiantao Zhang, Anthony Xu)
+ * don't assume guest pages are backed by a 'struct page' (Anthony Liguori)
+   * needed for pci device assignment
+ * register kvm's ioctl range
+ * fix hardware task switching buglet (Izik Eidus)
+ * fix mce handling on AMD (Joerg Roedel)
+ * do hardware task switching in hardware when NPT is enabled (Joerg Roedel)
+ * fix timer race waking up a halted vcpu with smp (Marcelo Tosatti)
+ * fix irq race leading to irqs delivery delays (Marcelo Tosatti)
+ * fix triple fault handling on AMD
+ * fix lea instruction emulation
+
+= kvm-65 [6 apr 2008] =
+
+ * fix hotplug build for non-x86 (Xiantao Zhang)
+ * ignore reads from the apic EOI register (Glauber Costa)
+   * fixes Linux 2.6.25-rclate bootup problems
+ * compile fixes (Carlo Marcelo Arenas Belon)
+ * fix ftruncate() on hugetlbfs use on older Linux hosts (Marcelo Tosatti)
+ * endianness fix virtio-block (Anthony Liguori)
+   * fixes virtio-blk on ppc
+ * refactor in-kernel PIT to be a separate device (Anthony Liguori)
+ * separate thread for I/O completions and timers (Marcelo Tosatti)
+ * fix vmmouse smp (Anthony Liguori)
+ * fix loading uninitialized variable into apic registers (Marcelo Tosatti)
+   * fixes apic being disabled on smp Linux guests running X
+ * disable kvm clock on Voyager or SGI Visual WS (Randy Dunlap)
+ * s390 support (Carsten Otte, Martin Schwidefsky, Christian Borntraeger, Heiko Carstens)
+ * fix large pages (Marcelo Tosatti)
+ * speedup msr processing on Intel via msr bitmap (Sheng Yang)
+ * add slab shrinker support (Izik Eidus)
+   * reduces nonswappable footprint under memory pressure
+ * code cleanup (Joerg Roedel)
+ * vm refcounting (Izik Eidus)
+ * only mark a page as accessed if it was really accessed by the guest
+ * drop slots_lock while in guest mode
+   * fixes long latencies with iothread
+ * prepopulate guest pages only after write-protecting them (Marcelo Tosatti)
+   * fixes smp race leading to guest spinning
+
+= kvm-64 [27 mar 2008] =
+
+ * kvm clock fixes (Glauber Costa)
+ * kvm clock enable/disable bit (Glauber Costa)
+ * in kernel pit model (Sheng Yang)
+   * improves timing accuracy for certain guests
+ * fix bad tss handling causing ioperm() to fail on the host
+ * paravirt mmu support (Marcelo Tosatti, Anthony Liguori, Avi Kivity)
+ * set accessed bit on non-speculative shadow ptes
+   * minor performance improvement
+ * fix init_rmode_tss() locking (Marcelo Tosatti)
+ * fix dirty bit being lost when write permissions are removed from a page (Izik Eidus)
+ * code cleanups
+ * module option for disabling flexpriority
+ * fix apic access page memory leak
+ * hardware task switching support (Izik Eidus)
+   * for freedos and similar guests
+ * fix extboot failures under certain conditions (Anthony Liguori)
+ * export vcpu thread ID via qemu monitor (Glauber Costa)
+   * can be used to implement vcpu->cpu pinning
+ * pci hotplug (Marcelo Tosatti)
+   * can now add and remove nics and drives dynamically
+ * fix virtio memory region sizing (Marcelo Tosatti)
+ * fix segfault on disabled virtio nic (Dor Laor)
+ * fix sci interrupt on pmtimer wraparound (Dor Laor, Yaniv Kamay)
+ * fix qemu exit on pci hotplug failure (Ryan Harper)
+ * fix 'make clean' destroying configuration (Ryota Ozaki)
+ * ppc userspace updates (Jerone Young)
+ * improve IDE and SCSI DMA speed
+
+= kvm-63 [5 mar 2008] =
+
+ * portability: make room for the ia64 register stack (Xiantao Zhang)
+ * fix leak when setting the pv clock to an invalid address (Marcelo Tosatti)
+ * detect vcpu triple faults (Joerg Roedel)
+ * fix race when instantiating a shadow pte
+ * fix host crash on guest kexec
+ * code cleanups (Harvey Harrison)
+ * better tsc handling on Intel hosts with stable tscs
+ * cpu hotplug (Glauber Costa)
+ * merge qemu-cvs
+   * new curses display option
+ * change -hugetlb-path to -mem-path (Anthony Liguori)
+ * increase pci support from 6 slots to 32 slots
+ * document ./configure --disable-cpu-emulation (Jerone Young)
+ * fix powerpc cpu initialization (Jerone Young)
+ * simplify host_cpuid() assembly code
+
+= kvm-62 [26 feb 2008] =
+
+ * fix oops running external module on 2.6.25 due to mmdrop (Andrea Arcangeli)
+ * backward compatibility for 2.6.25 desc_struct changes
+ * fix memory alias mixup (Uri Lublin)
+ * add file:// migration protocol (Uri Lublin)
+ * fix reading from character devices with flow control (Jan Kiszka)
+ * large host page support (Marcelo Tosatti)
+ * fix screen corruption with high resolutions (Andreas Winkelbauer)
+ * implement vmware vga for kvm (Soren Hansen, Anthony Liguori)
+ * even more resolutions for -std-vga (Andreas Winkelbauer)
+ * code cleanups (Carlo Marcelo Arenas Belon, Harvey Harrison)
+ * allow up to 16 vcpus (Anthony Liguori, Avi Kivity)
+ * allow up to 16 memory slots
+ * improve vcpu_run error reporting
+ * fix host crash on hosts without EFER (Intel Core not 2s)
+ * drop kvm private segment descriptor in favor of Linux' desc_struct
+ * stat counter for hypercalls (Amit Shah)
+ * fake values for MSR_PERF_STATUS (Alexander Graf)
+   * needed for Darwin/OS X
+ * better root pagetable unpinning (Marcelo Tosatti)
+ * paravirt clock fixes (Glauber Costa, Marcelo Tosatti)
+ * avoid host hang when guest sets APIC timer to zero
+   * also fixes live migration of Windows 2000 guests
+ * fix RHEL 5 i386 smp boot due to timer interrupts being routed to all vcpus
+
+= kvm-61 [19 feb 2008] =
+
+ * paravirtualized clock (Glauber de Oliveira Costa)
+ * mmu debug compile fix (Marcelo Tosatti)
+ * last branch record virtualization on AMD (Joerg Roedel)
+ * fix Windows x64 installer crash on AMD (Joerg Roedel)
+ * use new kvm semaphore instead of mmap_sem (Izik Eidus)
+   * fixes potential deadlock
+ * fix type in vmx header (Ryan Harper)
+ * make the supported cpuid ioctl system-wide instead of per-vm
+ * fix setting cr0 from userspace (Paul Knowles)
+ * add group decoding support to the x86 emulator
+ * nested paging support on AMD (Joerg Roedel)
+ * allow access to EFER on 32-bit hosts (Joerg Roedel)
+   * allows using the nx bit
+ * fix copy_from_user_inatomic() call non-preemptible hosts (Andrea Arcangeli)
+ * fix smp Linux on AMD (Joerg Roedel)
+ * make the code more ppc friendly (Hollis Blanchard)
+ * add virtual processor identifier support (VPID) on Intel (Sheng Yang)
+ * don't expose pio page to host userspace on non-x86
+ * decouple mmio from shadow page tables
+ * make function pointer tables constant (Jan Engelhardt)
+ * merge qemu-cvs
+   * reverse vnc connections
+   * e1000 nic emulation
+   * more audio options
+   * usb serial device emulation
+   * cdrom/dvd improvements
+   * timer tick reduction
+ * e1000 pxe boot rom (Alexey Eremenko)
+ * fix 'make clean'
+ * merge bios from boch-cvs
+   * adds dmi tables
+   * enables acpi on 32-bit Linux guests
+ * workaround qemu tcg breakage on non-x86 (Anthony Liguori, Xiantao Zhang)
+ * adjust external module for removal of fastcall in mainline (Andrea Arcangeli)
+ * improve qemu main loop
+ * fix live migration with tpr optimization
+ * fix external module miscompile with newer kernels (Andrea Arcangeli)
+ * fix external module include directory priority problems (Andrea Arcangeli)
+ * fix 32-bit host userspace on 64-bit host kernels
+ * fix preempt notifier emulation clash with host hardware debug registers (Andrea Arcangeli)
+ * adjust external module for 2.6.25
+ * fix ioapic live migration not transferring some registers (Chris Lalancette)
+ * separate tpr optimization paths for smp and up
+ * pio emulation on mmio for ia64 (Xiantao Zhang)
+ * fix qemu timer rearm fallout from last merge (Anders Melchiorsen)
+ * clean up kvm/qemu interaction (Anthony Liguori)
+ * improve ppc dcr handling (Jerone Young)
+ * fix 64-bit guest migration failure due to bad lm_capable_kernel init (Uri Lublin)
+ * fix bios parallel build (Carlo Marcelo Arenas Belon)
+ * update virtio abi (Anthony Liguori)
+ * support virtio abi versioning (Anthony Liguori)
+ * add powerpc kvm/qemu support (Jerone Young)
+ * support ppc 440 "bamboo" board (Jerone Young)
+ * improve migration error handling (Chris Lalancette)
+ * enable cache on reset in bios
+ * fix up testsuite warnings (Bernhard Kaindl)
+ * fix aio deadlocks with smp guests
+
+= kvm-60 [23 jan 2008] =
+
+ * fix compilation with older kernels (Andi Kleen)
+ * virtio host support (Anthony Liguori, Dor Laor)
+   * includes block and network devices
+ * fix power management timer overflow handling
+ * fix qemu running with older kernels
+ * boot from scsi/virtio (Anthony Liguori)
+ * add 1280x800 resolution to -std-vga
+ * fix acpi sci interrupt generation
+ * compile fixes (Carlo Marcelo Arenas Belon)
+ * update ide cdrom to match qemu (Carlo Marcelo Arenas Belon)
+ * fix extboot on older gcc (Christian Ehrhardt)
+ * powerpc dcr tests (Christian Ehrhardt)
+ * rtl8139 is now the default nic type (Guido Guenther)
+ * acpi power button support (Guido Guenther)
+ * powerpc testsuite harness (Hollis Blanchard)
+ * powerpc libkvm support (Jerone Young)
+ * bump piix4 to rev 3 to avoid slowdown reading pm timer (Marcelo Tosatti)
+ * migration updates (Uri Lublin)
+ * ia64 smp support in qemu (Xiantao Zhang)
+ * fix acpi vapic page on save/restore
+ * move x86 fpu to x86 specific header (Christian Ehrhardt)
+ * minor shadow code simplification(Eddie Dong)
+ * optimize pae pte updates (Eddie Dong, Eric Liu)
+ * simplify shadow hash table indexing (Eddie Dong)
+ * kvm_para.h compile fix (Glauber de Oliveira Costa)
+ * dirty page tracking fix (Izik Eidus)
+ * fix svm lazy fpu switching (Joerg Roedel)
+   * fixes Vista x64 on AMD
+ * only allow vmcall/vmmcall on #UD traps (Sheng Yang)
+ * fix unbounded latency due to a race in the guest entry code
+   * with this fix and a realtime kernel, sub 50usec worst case latencies can be achieved
+ * move apic timer migration to preemptible code
+
+= kvm-59 [3 jan 2008] =
+
+ * merge qemu-cvs
+   * -drive cache=[on|off] option
+   * adds scsi passthrough
+ * ide lba48 support for 120GB+ disk images
+ * widescreen resolutions for -std-vga
+ * libkvm compile fixes (Carlo Marcelo Arenas Belon)
+ * mmu scaling (Marcelo Tosatti, Avi Kivity)
+
+= kvm-58 [27 dec 2007] =
+
+ * add mmu statistics
+ * log data on write to unimplemented msr
+ * fix memory corruption (mapcount error) after host fork() (Izik Eidus)
+ * improve preempt notifier emulation on older kernels (Andrea Arcangeli)
+ * refactor IDE CHS guessing (Anthony Liguori)
+ * testsuite improvements
+ * apic tpr acceleration for Windows guests
+   * disabled on smp for now
+ * fix warnings due to qemu merge (Carlo Marcelo Arenas Belon)
+ * improve support for older kernels (Carlo Marcelo Arenas Belon)
+ * icache sync in qemu after dma for more archs (Christian Ehrhardt)
+ * simplify mmio callback (Christian Ehrhardt)
+ * align gdbstub with qemu-cvs (Jan Kiszka)
+ * fix compile if kernel/include/asm/ preexists (Sheng Yang)
+ * fix migration on i386 hosts (Uri Lublin)
+ * qemu ia64 adjustments (Zhang Xiantao)
+
+= kvm-57 [18 dec 2007] =
+
+ * warn when emulating preempt notifiers
+ * add pio port 0x80 access test to testsuite
+ * merge qemu-cvs
+ * add rtc emulation for ia64 (Xiantao Zhang)
+ * fix qemu memory allocation off-by-one
+ * new kernel source layout (virt/kvm/, arch/x86/kvm/)
+ * coalesce remote tlb flushes when write-protecting guest pages (Eddie Dong)
+ * lapic debug compile fix (Joerg Roedel)
+ * fix smp mmu shadow instantiation race (Marcelo Tosatti)
+ * atomic cmpxchg8b on i386 (Marcelo Tosatti)
+ * throttle vmx_intr_assist() printk (Ryan Harper)
+ * portability (Xiantao Zhang)
+
+= kvm-56 [14 dec 2007] =
+
+ * Generalize exception handling mechanism
+ * fix x86 emulator eflags handling
+ * avoid exit to userspace on cr8 write if using kernel lapic on Intel
+ * fix stack instructions emulation in 64-bit mode
+  * fixes Vista x86
+   * except on Woodcrests
+ * trap cr8 access on amd
+ * mmu simplification
+ * fix setting nx bit on shadow pte
+ * fix inherited mmu permissions
+ * more portability work (Hollis Blanchard, Xiantao Zhang)
+ * add cr8 to 'mov cr' instruction emulation (Joerg Roedel)
+ * exit to userspace on cr8 write if not kernel apic on amd (Joerg Roedel)
+ * atomically set accessed and dirty bit on guest ptes (Marcelo Tosatti)
+ * use ->fault() vma op instead of ->nopage()
+ * remove abi 10 libkvm compatibility
+ * add some x86 emulator tests
+ * add many mmu access tests
+ * fix rpm build on Fedora 8 (Dan Kenigsberg)
+ * fix 'make sync' on debian and derivatives (Ryan Harper)
+ * fix live migration (Uri Lublin, Izik Eidus)
+ * initial ia64 userspace (Xiantao Zhang)
+
+= kvm-55 [4 dec 2007] =
+
+ * remove old hypercall driver (Anthony Liguori)
+ * disable dirty page logging for main memory (Izik Eidus)
+ * fix incorrect page count calculation for dirty logging (Izik Eidus)
+ * improve testsuite 'make clean' (Neo Jia)
+ * compile fix (Sheng Yang)
+ * reorganize x86 emulator main switch
+ * don't bypass mmu on pae cr3 reload if pdptrs changed
+   * fixes Solaris x86
+ * use common defines for EFER (Carlo Marcelo Arenas Belon)
+ * portability (Xiantao Zhang)
+ * fix kvm_init() error path (Xiantao Zhang)
+ * ia64 iosapic support (Xiantao Zhang)
+
+= kvm-54 [27 nov 2007] =
+
+ * fix fpu leak on AMD (Amit Shah)
+   * (on kvm-53, lazy fpu was disabled, so this just improves performance)
+ * prefetch instruction bytes when emulating
+ * implement guest page fault bypass on nonpae
+   * should speed up some 32-bit guests
+ * add a bunch of statistics
+ * avoid unnecessary remote tlb flushes
+   * improves guest smp scaling
+ * avoid mmu reloads on guest tlb flushes
+ * mmu code simplification
+ * disallow using kvm after fork()
+ * fix failures while injecting external interrupts in real mode
+   * fixes Mandrake 9 regression
+ * fix multiple address- and operand- size override prefix emulation
+ * infrastructure for using host cpu features on guest (Dan Kenigsberg)
+   * not used yet by qemu
+ * cmps instruction emulation (Guillaume Thouvenin)
+   * allows OpenBSD to boot
+ * cleanups (Hollis Blanchard)
+ * fix potential memory leak in real-mode smp (Izik Eidus)
+ * reduce unnecessary dirtying of pages (Izik Eidus)
+ * mark guest pages as accessed with the Linux lru (Izik Eidus)
+ * more portability work (Jerone Young, Xiantao Zhang)
+ * allow new vmx features even if not using in-kernel apic (Sheng Yang)
+ * refactor shadow mmu size calculation (Xiantao Zhang)
+ * improve testsuite
+ * beginning of x86 emulator unit test
+ * fix compile warnings (Carlo Marcelo Arenas Belon)
+ * log module version in dmesg on load
+
+= kvm-53 [20 nov 2007] =
+
+ * testsuite: exit on end of test
+ * batch mode for kvm_stat script
+ * compile fixes (Carlo Marcelo Arenas Belon, Joe Perches)
+ * portability (Jerone Young, Zhang Xiantao)
+ * disable lazy fpu on AMD (Amit Shah)
+   * should fix instability on AMD
+   * will cause performance regression, fix in progress
+ * x86 emulator: fix 'push r/m' emulation (Amit Shah)
+ * register use reduction in vmx guest entry
+ * infrastructure for per-vm stats
+   * extends existing per-vcpu stats
+ * add mmu, state switch, emulation statistics
+ * use copy_{to,from}_user to access guest memory (Izik Eidus)
+ * simplify access to guest page tables (Izik Eidus)
+ * fix entry to real mode with segment bases beyond 1MB (Jan Kiszka)
+ * finally kill last use of cr2 in emulator (Sheng Yang)
+
+= kvm-52 [12 nov 2007] =
+
+ * fix efer reload host crash on T2600 and similar processors
+ * revert sleepy interrupt injection
+   * fixes "Fault when IDT_Vectoring"
+ * atomically inject real-mode interrupts
+ * wbinvd exiting on newer Intel processors (Eddie Dong)
+   * fixes real-time issues
+ * fix call/jmp instruction emulation (Izik Eidus)
+   * fixes Vista x64 installation
+ * fix save/restore/migrate with multiple nics
+ * fix build on i386 uniprocessor w/ no ioapic hosts
+ * fix smp_call_function_single() emulation on older hosts
+   * fixes smp guests not booting on RHEL 5 hosts
+ * make qemu/kvm memory allocation match plain qemu more closely (Izik Eidus)
+   * fixes issues with large memory guests
+ * libkvm compile fixes (Carlo Marcelo Arenas Belon, Jerone Young)
+
+
+= kvm-51 [7 nov 2007] =
+
+ * fix some x86 emulator one-byte insns (fixes W2K3 installer again)
+ * fix host hangs with NMI watchdog on AMD
+ * fix guest SMP on AMD
+ * fix dirty page tracking when clearing a guest page (Dor Laor)
+ * more portability work (Hollis Blanchard, Jerone Young)
+ * fix FlexPriority with guest smp (Sheng Yang)
+ * improve rpm specfile (Akio Takebe, Avi Kivity)
+ * fix external module vs portability work (Andrea Arcangeli)
+ * remove elpin bios due to license violation
+ * testsuite shutdown pio port
+ * don't advertise svm on the guest
+ * fix reset with kernel apic (Markus Rechberger)
+
+= kvm-50 [2 nov 2007] =
+
+ * fix smp_call_function_mask() emulation on preemptible kernels
+ * move libkvm into own directory (Hollis Blanchard)
+ * fix save/restore/migrate for new memory slot management (Uri Lublin)
+ * compile fixes (Uri Lublin, Avi Kivity)
+ * fix recursive locking on mmap() (Anthony Liguori)
+ * remove some cr2 dependencies from x86 emulator
+ * further simplify x86 emulator
+ * more portability work (Carsten Otte, Hollis Blanchard)
+ * Intel FlexPriority support (Sheng Yang)
+ * fix dirty page tracking on aliased pages (Uri Lublin)
+
+= kvm-49 [29 oct 2007] =
+
+ * Fix PIT time-drift-fix (only with -no-kvm-irqchip) (Dan Kenigsberg)
+ * Fix vnc auth error with clients <= 3.7 protocol (Dan Kenigsberg)
+ * Don't spin on hlt with interrupts disabled (Dor Laor)
+ * Fix pxe boot (Izik Eidus)
+ * Hide the Intel real-mode tss from userspace (Izik Eidus)
+ * Automatic memory slot management for libkvm (Izik Eidus)
+ * Fix problem with std-vga and 4GB guests (Izik Eidus)
+ * External module compat for smp_call_function_mask() (Laurent Vivier)
+ * More portability work (Jerone Young, Christian Borntraeger, Zhang Xiantao)
+ * Fix sleep-in-atomic-context during vcpu init
+ * Fix 'push imm8' emulation (fixes W2K3 installer)
+ * Intercept invd and wbinvd on AMD
+ * Reduce emulator dependency on cr2 (mov abs insns)
+ * Move page fault processing to common code
+ * Fix rmap memory consumption oops due to increased rmap usage with swap
+ * Fix potential memory leak with kernel-allocated memslots (Izik Eidus)
+ * Export memory slot allocation mechanism (Izik Eidus)
+ * Add kernel-private memslots (Izik Eidus)
+ * Fix local apic divide-by-zero (Kevin Pedretti)
+ * Improve local apic timer wraparound handling (Kevin Pedretti)
+ * Use newly available smp_call_function_mask() (Laurent Vivier)
+ * Micro-optimize register usage on vmentry/vmexit (Laurent Vivier)
+ * Cleanups, compilation fixes (Akio Takebe, Anthony Liguori, Avi Kivity)
+
+
+= kvm-48 [18 oct 2007] =
+
+ * use precise cpu accounting on ppc and s390 (Christian Borntraeger)
+ * make guest time accounting actually work (Laurent Vivier)
+ * fix host memory corruption when setting the guest dirty bit
+ * allow swapping with older userspace (Anthony Liguori)
+ * allow custom memory setup using libkvm (Gerd Hoffmann)
+
+
+= kvm-47 [18 oct 2007] =
+
+ * Reset fixes (Eddie Dong, Avi Kivity)
+ * Portability work (Carsten Otte)
+ * Cleanups (Anthony Liguori, Laurent Vivier)
+ * Simplify guest pagetable dirty bit management
+ * Fix nx bit for huge pages
+ * Fix write access to clean large pages (fixes rmap leak)
+ * Support for Linux 2.6.16 guests (movnti instruction) (Sheng Yang)
+ * Simplify apic timer backlog processing
+ * Move interrupt injection out of critical section
+ * x86 emulator work (Nitin A Kamble)
+ * restore freebsd support on AMD (fix smsw and lmsw) (Aurelien Jarno)
+ * Simplify guest page table walker
+ * Partial guest swapping (Izik Eidus)
+ * kvmctl improvements (Anthony Liguori)
+ * libkvm, qemu compilation against older kernels
+ * guest time accounting (Laurent Vivier)
+ * configure improvements (Carlo Marcelo Arenas Belon)
+ * fix 4GB+ configurations (Izik Eidus)
+ * cross compilation support (Jerone Young)
+
+= kvm-46 [10 oct 2007] =
+
+ * fix host oops on bad guest ioapic accesses
+ * handle NMIs before enabling host interrupts
+ * add general guest memory accessors (Izik Eidus)
+ * allow user control over shadow cache size (Izik Eidus)
+ * auto tune shadow cache size with guest memory (Izik Eidus)
+ * allocate guest memory in userspace instead of in kernel (Izik Eidus)
+ * code style fixes (Mike Day, Anthony Liguori)
+ * lapic cleanups (Rusty Russell)
+ * fix acpi interrupt reporting for FreeBSD
+ * fix color problems on certain displays
+ * Red Hat 7.1 support
+ * vmmouse support (Dan Kenigsberg)
+ * fix sdl window caption when keyboard is captured (Dan Kenigsberg)
+ * improve libkvm configure script (Jerone Young)
+ * improve bios compilation support on x86_64 hosts (Laurent Vivier)
+ * fix acpi processor reporting for Windows 2000 with the ACPI HAL (Sheng Yang)
+
+= kvm-45 [2 oct 2007] =
+
+ * don't use page->private for guest pages (Izik Eidus)
+ * x86 emulator cleanups, simplifications, and fixes (Laurent Vivier, Qing He)
+ * apic round robin delivery mode cleanup (Qing He)
+ * merge qemu-cvs
+ * fix compilation on older kernels (Rusty Russell, Avi Kivity)
+ * reduce tap networking latency
+ * fix FC6 x86_64 booting with -no-kvm
+ * fix code dump on exception
+
+= kvm-44 [23 sep 2007] =
+ * fix smp guest boot
+ * fix IDE emulation bug with newer guest kernels (S.Çağlar Onur)
+ * support VMware server as guest (Ryan Harper)
+ * fix smp race in shadow code (Izik Eidus)
+ * allow guest page faults to bypass kvm on Intel (performance boost)
+
+= kvm-43 [21 sep 2007] =
+
+ * fix ioapic edge-triggered interrupt handling
+
+= kvm-42 [20 sep 2007] =
+
+ * important host oops fix
+ * document -no-kvm-irqchip option in qemu help message (Carlo Marcelo Arenas Belon)
+ * acpi bios: export pci irqs as active high
+ * avoid redelivery of edge-triggered ioapic interrupts if already in service
+ * implement ioapic polarity
+ * fix x86 emulator merge problems (Nitin A Kamble, Laurent Vivier)
+ * fix x86 repne decoding (fixes OpenBSD boot regression) (Laurent Vivier)
+ * install kvm_para.h (Gerd Hoffman)
+
+= kvm-41 [19 sep 2007] =
+
+ * refactor hypercall infrastructure for simplicity and better smp support (Anthony Liguori)
+ * fix ioapic level triggered interrupt redelivers (solves networking stalls)
+ * reduce efer reloads with 32-bit guests; minor performance improvement
+ * split x86 emulator decode and execute stages (Laurent Vivier)
+ * fix pic interrupt delivery (solves time going double speed on x86_64 Linux guests) (Qing He)
+ * adaptive live migration bandwidth limits (Uri Lublin)
+
+= kvm-40 [16 sep 2007] =
+
+ * fix guest reboot (most scenarios)
+ * further x86 emulator work (Nitin A Kamble)
+ * compile fixes for older kernels
+ * make the external module work again
+
+= kvm-39 [12 sep 2007] =
+
+ * provide div64_64() for older kernels
+ * improve emulation failure reporting
+ * more x86 emulator work (push imm8, pushf, call near) (Nitin A Kamble)
+ * don't use TPR shadow on i386 (Sheng Yang)
+
+= kvm-38 [12 sep 2007] =
+
+ * fix fpu indication for Solaris (Amit Shah)
+ * Avoid GFP_NOWAIT allocation in mmu
+ * Fix runtime smp_processor_id() warning in lapic
+ * Move vcpu loop into subarch independent loop
+ * Rename kvm_arch_ops to kvm_x86_ops (Christian Ehrhardt)
+ * Fix missing "genapic" on i386 (Eddie Dong)
+ * Fix lapic hrtimer migration (Qing He)
+ * Fix lapic 64-bit division on i386 (Jindrich Makovicka)
+ * Simplify memory allocation ioctl (Laurent vivier)
+ * Keep control register shadows in sync (Rusty Russell)
+ * Retire invlpg (Rusty Russell)
+ * Expose get_cs_db_l_bits for kvm-lite (Rusty Russell)
+ * Fix network boot (Anthony Liguori)
+ * Round up memory in libkvm (Anthony Liguori)
+ * Fix option ROM loading (Anthony Liguori)
+ * Revert FACP ACPI change for Vista
+ * Fix segfault with -no-kvm
+ * lapic hrtimer external module compatibility (Qing He, Avi Kivity)
+ * improved (still imprefect) reboot
+ * better bios smp detection
+
+= kvm-37 [9 sep 2007] =
+
+ * in-kernel lapic, ioapic, and pic (Eddie Dong, Qing He, Sheng Yang, Gregory Haskins, Dor Laor, Avi Kivity)
+ * split segment reload (vmx microoptimization) (Laurent Vivier)
+ * fix vga redraw regression (Izik Eidus)
+ * fix testsuite compilation with older assemblers (H. Peter Anvin)
+
+= kvm-36 [22 aug 2007] =
+
+ * support guests with more than 2GB of RAM on 64-bit hosts (Izik Eidus)
+ * fix rare host oops on guest context switch
+ * avoid smp_call_function_single() warning on suspend/resume
+ * more real mode emulator work (Nitin A Kamble)
+ * Windows x64 support (Sheng Yang)
+ * close minor signal handling race
+ * carry bios in kvm source tree for easier maintenance
+ * fix -std-vga (Uri Lublin)
+ * advertise kvm in vnc window title (Matthew Kent)
+ * fix Windows SMP guests consuming cpu time when idle (Igor Lvovsky)
+
+= kvm-35 [15 aug 2007] =
+
+ * fix kvm refusing to load on Core processors (Glauber de Oliveira Costa)
+ * improve qemu monitor handling CR/LF sequences (Jim Paris)
+ * fix compile warning in qemu (Luca Tettamanti)
+
+= kvm-34 [13 aug 2007] =
+
+ * make kvm preemptible
+ * allow calling sleeping functions in the kvm exit handlers (Shaohua Li)
+ * this is a first step in getting guest swapping
+ * fix running kvm on nx-incapable host kernel on nx-capable hardware
+ * fix more fallback from the x86 emulator writeback changes (Aurelien Jarno, Avi Kivity)
+ * remove vmx specific code from subarch independent code (Gregory Haskins)
+ * allocate vcpus as needed (Rusty Russell)
+ * consolidate x86 emulator guest read/write code (Laurent Vivier)
+ * cleanup string pio instruction emulation (Laurent Vivier)
+ * ensure all cpus have the same vmx features (Sheng Yang)
+ * version string for external module
+ * disable long mode capability bit on 32-bit kernels
+ * fix qemu -isapc (Uri Lublin)
+ * fixes for smp live migration
+  * this is still raw
+ * fix unhandled wrmsr MSR_CSTAR on i386 (Luca Tettamanti)
+ * some migration fixes (Jim Paris)
+ * the usual cleanups and minor fixes (various but mostly Rusty)
+
+= kvm-33 [23 jul 2007] =
+
+ * fix massive performance regression
+
+= kvm-32 [23 jul 2007] =
+
+ * fix oops with the slub allocator (CONFIG_SLUB)
+ * fix cmov instruction emulation, trashed by the mmio rmw fix
+ * fix rare, silent data corruption on writes that cross a page boundary and touch a page table (Aurelien Jarno, Avi Kivity)
+ * fix race between vm creation and vcpu hotunplug (Rusty Russell)
+ * fix guest turning on pae with invalid pdptres (Rusty Russell)
+ * adapt external module to changed kmem_cache_create() api
+ * allow external module on 2.6.22 i386 nonpae
+ * fix regression in network throughput caused by guest smp changes (Aurelien Jarno, Avi Kivity)
+ * live migration updates (Uri Lublin)
+ * minor cleanups (Nguyen Anh Quynh, Avi Kivity)
+
+= kvm-31 [19 jul 2007] =
+
+ * a few cleanups that somehow evaded kvm-30 (Jeff Dike, Rusty Russell)
+ * allow the external module to compile on older kernels.
+
+= kvm-30 [19 jul 2007] =
+
+ * minor fixes and cleanups  (Jeff Dike, Rusty Russell, Avi Kivity)
+ * kernel pio string write (Eddie Dong)
+ * guest smp kernel fixes
+ * rdmsr and wrmsr real mode emulation
+ * fix real mode shadow pages aliasing nx large page shadows
+ * enable guest smp in qemu
+ * fix external module installer
+ * revert ide enable changes that caused an I/O regression
+
+= kvm-29 [12 jul 2007] =
+
+ * live migration from 32-bit hosts to 64-bit hosts (Uri Lublin)
+ * monotonic timestamp counter on Intel
+ * more real mode support (Nitin A Kamble)
+ * infrastructure for in-kernel PIC and APIC (Gregory Haskins, Eddie Dong)
+ * fix read-modify-write to mmio (fixes F7 installer) (Luca Tettamanti)
+ * fix rebooting a long-running guest
+ * reliably detect if svm was disabled by bios (Joerg Roedel)
+ * suspend/resumes fixes (will not work with older kernels)
+ * fix nx confusion with large pages and real mode
+ * remove dependency on libuuid
+ * fix registers access in monitor/gdbstub (Anthony Liguori)
+ * minor fixes and cleanups (various)
+
+= kvm-28 [10 jun 2007] =
+
+ * fix host oops on guest context switch
+ * many code cleanups (Nguyen Anh Quynh, others)
+ * prepare kernel for guest smp
+ * update libkvm for guest smp
+ * update testsuite for guest smp
+ * emulate hlt in real mode (avoids crash when booting from unformatted disk)
+ * initialize ata ports for Fedora 7 guests (Luca Tettamanti)
+
+= kvm-27 [3 jun 2007] =
+
+ * use slab cache for mmu shadow pages
+ * make shadow pte updates atomic (for guest smp)
+ * general mmu cleanups
+
+= kvm-26 [27 may 2007] =
+
+ * implement wbinvd emulation, triggered by Windows Vista
+ * compile fixes (Markus Rechberger, Avi Kivity)
+
+= kvm-25 [24 may 2007] =
+
+ * massive performance increase (Eddie Dong)
+ * regenerate bios from latest bochs sources, hopefully fixing a regression with some guests
+ * some testsuite work (Anthony Lihuori, Eddie Dong, Avi Kivity)
+ * minor fixes (various)
+
+= kvm-24 [8 may 2007] =
+
+ * fix oops loading kvm-intel module on i386 with highmem
+
+= kvm-23 [7 may 2007] =
+
+ * OpenBSD 4.1 i386 support (Matthew Gregan)
+ * Fix host and guest crashes on reboot
+
+= kvm-22 [6 may 2007] =
+
+ * Significant performance improvements (Anthony Liguori, Eddie Dong, Qing He, Avi Kivity)
+ * Fix longstanding bug: time runs at double speed on x86_64 Linux (Qing He)
+ * Windows Vista 32-bit support (Qing He, Jun Nakajima)
+ * Support for kvm abi 10 modules
+ * Minor updates
+
+= kvm-21 [27 apr 2007] =
+
+ * fix regression on Core (not Core 2) processors
+ * performance improvements (Eddie Dong, Anthony Liguori)
+ * minor fixes
+
+= kvm-20 [24 apr 2007] =
+
+ * Windows 2000 support
+ * performance enhancements
+ * patch against latest kernel tree included in tarball
+ * fix oops with 32-bit nonpae guests
+
+= kvm-19 [16 apr 2007] =
+
+ * bug fixes
+ * memory aliasing api
+
+= kvm-18 [26 mar 2007] =
+
+ * merged new userspace API
+ * revert the optimization which killed some 32-bit Linux guests
+ * reboot support on Intel hosts (AMD are already supported)
+ * better timekeeping under load (Uri Lublin)
+ * other minor fixes and cleanups
+
+= kvm-17 [25 mar 2007] =
+
+ * live migration enhancements (Uri Lublin)
+ * better/working acpi support
+ * revert to unhacked qemu bios
+ * fix some 32-bit nonpae guests (*BSD)
+ * initial ballooning support
+ * random fixes
+
+= kvm-16 [7 mar 2007] =
+
+ * bug fixes (including a nasty one on module load)
+ * use lanana assigned minor device number for /dev/kvm
+
+= kvm-15 [26 feb 2007] =
+
+ * live migration with kvm (Uri Lublin)
+ * based on Anthony Liguori's qemu patches
+ * new userspace interface (work in progress)
+ * the usual random fixes
+
+= kvm-14 [19 feb 2007] =
+
+ * qemu 0.9.0
+ * too many goodies to list
+ * kvm can no longer share qemu's bios on Intel hosts due to real mode trouble.  use the supplied bios.
+ * migration now based on Anthony Liguori's live migration patches (Uri Lublin)
+  * currently, only non-live migration is supported under kvm
+ * handle smi on host on AMD hosts (Joerg Roedel)
+ * random fixes
+
+= kvm-13 [8 feb 2007] =
+
+ * add dirty page tracking in some corner cases for live migration
+ * fix lockups on nx-challenged hosts
+ * host suspend/resume
+  * nobody's testing this, so it's probably broken
+ * host cpu hotplug support
+ * beginning of paravirt support (Ingo Molnar)
+ * guest reboot support (Markus Rechberger, Joerg Roedel)
+ * pio latency reduction (Anthony Liguori)
+ * stone age kernel compatibility (Markus Rechberger)
+ * the usual cleanups and stability fixes
+
+= kvm-12 [23 jan 2007] =
+
+ * More migration work (Uri Lublin)
+ * savevm/loadvm (and migration) work on AMD (Leonard Norrgard)
+ * More guest support
+ * mmu testsuite and fixes
+ * Windows ACPI install/run support (Dor Laor)
+ * Fix host reboot on guest reboot on AMD (Joerg Roedel)
+
+= kvm-11 [11 jan 2007] =
+
+ * stabilization fixes
+ * vmexit profiling (Ingo Molnar; requires Linux 2.6.20+)
+
+= kvm-10 [7 jan 2007] =
+
+ * more hypercall work
+ * cleanup irq handling
+ * shadow page table caching
+ * migration fixes
+ * stabilization fixes
+
+= kvm-9 [31 dec 2006] =
+
+ * API documentation (James Jacobsson)
+ * More stabilization fixes (Yoshimi Ichiyanagi, Ingo Molnar, Nguyen Anh Quynh)
+ * Interactivity improvements (Dor Laor)
+
+= kvm-8 [21 dec 2006] =
+
+ * msr fixes (Michael Riepe)
+ * more guest support (Michael Riepe)
+ * random fixes
+ * fpu state corruption fix on AMD hosts
+
+= kvm-7 [12 dec 2006] =
+
+ * prevent loading arch module on wrong hardware
+ * fix for macbooks
+ * other minor fixes
+
+= kvm-6 [11 dec 2006] =
+
+ * AMD 32-bit host support (Anthony Liguori)
+ * more migration work
+ * stabilization
+ * improved performance
+ * improved guest support on AMD
+
+= kvm-5 [28 nov 2006] =
+
+ * AMD SVM support (x86-64 hosts only)
+ * Preliminary live migration support
+ * 'make install' also installs kernel modules, if selected
+ * random fixes
+
+= kvm-4 [21 nov 2006] =
+
+ * added the msr work
+  * suspend/resume should work now
+ * more vmdk compatibility work
+ * random build updates
+
+= kvm-3 [15 nov 2006] =
+
+[Avi Kivity retained the natural number versioning after he contemplated the
+confusion that can arise from having releases 1, 2, and 0.3]
+
+Kernel module
+ * make exit reason numbers explicit
+ * sync kernel module with -mm tree
+  * asm constraint fixes
+  * userspace interface blurb
+  * segment restore across mode switch (fixes etherboot)
+  * segment asm constraint fix (Bernhard Rosenkraenzer)
+  * segment access cleanup
+
+libkvm:
+ * better error reporting (Simon Kagstrom)
+ * 'make clean'
+ * attributions and license
+
+kvmctl:
+ * add option to launch guest in 32-bit mode
+ * add test programs
+
+qemu/kvm:
+ * autodetect kvm presence (Simon Kagstrom)
+
+General
+ * fix host arch detection on debian
+ * fix ./configure on debian (Gildas)
+ * toplevel 'make clean'
+
+= ?? [9 nov 2006] =
+
+ * much easier to get running, see updated HOWTO
+ * now just one download, get yours while supplies last
+ * single qemu binary for kvm and non-kvm runs (Anthony Liguori)
+ * accompanying external kernel module package has all bugfixes folded in (plus a bit of cosmetics) 
+
+= lkml submission v4 [5 nov 2006] =
+ * [http://lwn.net/Articles/207875/]
+ * detect msrs on host dynamically.  Avoids oopses on non-ia32e capable processors.
+ * web site: http://kvm.sourceforge.net
+ * slightly rediffed
+
+= lkml submission v3 [26 oct 2006] =
+ * [http://uwsg.indiana.edu/hypermail/linux/kernel/0610.3/0747.html]
+ * mailing list: kvm-devel@public.gmane.org (http://lists.sourceforge.net/lists/listinfo/kvm-devel)
+ * applied code review comments
+ * fixed set_sregs() ioctl corrupting guest state if cr0.pe changed (a polite way of saying that loading a saved vm was broken)
+
+= lkml submission v2 [23 oct 2006] =
+ * [http://lwn.net/Articles/205580/]
+ * fixed a lockup on i386 with host memory >= 4GB
+ * finer patch split to conform to vger limits
+ * minor fixes
+ * send through script to avoid mailer damage
+
+= lkml submission v1 [19 oct 2006] =
+
+ * [http://lkml.org/lkml/2006/10/19/146]
--- kvm-85+dfsg.orig/debian/copyright
+++ kvm-85+dfsg/debian/copyright
@@ -0,0 +1,56 @@
+This package was debianized by Baruch Even <baruch@debian.org> on
+Tue, 14 Nov 2006 20:49:57 +0200.
+
+It was downloaded from http://kvm.qumranet.com/
+
+The source tarball has been repackaged to remove the elpin vgabios. Use
+debian/rules get-orig-source to produce a clean source tarball.
+
+Upstream Author: Yaniv Kamay  <yaniv@qumranet.com>
+                 Avi Kivity   <avi@qumranet.com>
+
+Copyright: Copyright (C) 2006 Qumranet, Inc.
+
+License:
+
+KVM Kernel module:
+
+	 * This work is licensed under the terms of the GNU GPL, version 2.  See
+	 * the COPYING file in the top-level directory.
+
+KVM User code:
+
+	Copyright (C) 2006 Qumranet.
+
+	The files in this directory and its subdirectories are licensed under the
+	GNU LGPL, version 2.
+
+QEMU:
+
+	The following points clarify the QEMU licenses:
+
+	1) The QEMU virtual CPU core library (libqemu.a) and the QEMU PC
+	   system emulator are released under the GNU Lesser General Public
+	   License.
+
+	2) The Linux user mode QEMU emulator is released under the GNU General
+	   Public License.
+
+	3) QEMU is a trademark of Fabrice Bellard.
+
+BIOS files in QEMU:
+
+	bios.bin: Copyright (C) 2002 MandrakeSoft S.A. This file is
+	licensed under the GNU LGPL, version 2, or (at your option)
+	any later version. Homepage: http://sourceforge.net/projects/bochs
+
+	vgabios.bin and vgabios-cirrus.bin: (C) 2003 the LGPL VGABios
+	developers Team. These files are licensed under the GNU LGPL,
+	version 2, or (at your option) any later version. Homepage:
+	http://savannah.nongnu.org/projects/vgabios
+
+The Debian packaging is:
+  (C) 2006, Baruch Even <baruch@debian.org>
+  (C) 2006, 2007 Leonard Norrgard <vinsci@refactor.fi>
+  (C) 2007 Jan Luebbe <jluebbe@debian.org>
+It is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- kvm-85+dfsg.orig/debian/preinst.modules.in
+++ kvm-85+dfsg/debian/preinst.modules.in
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+set -e
+
+drivers="kvm kvm-intel kvm-amd"
+drivers="kvm kvm-intel kvm-amd"
+if dpkg --compare-versions "@KERNEL@" lt 2.6.26 ; then
+  dir=/lib/modules/@KERNEL@/kernel/drivers/kvm
+else
+  dir=/lib/modules/@KERNEL@/kernel/arch/x86/kvm
+fi
+
+case "${1}" in
+	install|upgrade)
+		for driver in $drivers; do
+			if [ -e "$dir/$driver.ko" ]; then
+				dpkg-divert --package kvm-modules-@KERNEL@ --add --rename \
+					--divert $dir/$driver.ko.linux                    \
+						 $dir/$driver.ko
+			fi
+		done
+		;;
+
+	abort-upgrade)
+
+		;;
+
+	*)
+		echo "preinst called with unknown argument \`$1'" >&2
+		exit 1
+		;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- kvm-85+dfsg.orig/debian/kvm.install
+++ kvm-85+dfsg/debian/kvm.install
@@ -0,0 +1,8 @@
+etc/kvm/kvm-ifup
+usr/bin/*
+usr/share/bug/kvm
+usr/share/doc/kvm/*
+usr/share/kvm/*
+usr/share/kvm/keymaps/*
+usr/share/man/man1/*
+usr/share/man/man8/*
--- kvm-85+dfsg.orig/debian/TODO
+++ kvm-85+dfsg/debian/TODO
@@ -0,0 +1,17 @@
+- Make the kvm-amd / kvm-intel modules load automatically when the kvm module
+  is inserted.
+
+- Fix the /etc/init.d/kvm script (see patch directory) and enable it in rules
+  This (as it is now) replaces eth0 with a switch sw0.  Config questions to be
+  asked, possibly alternative default network setups supplied etc.
+
+- Create a kvm-doc package from the texinfo source of the full manual in
+  qemu/qemu-doc.texi.  The kvm upstream for qemu-doc.texi isn't up to date with
+  the qemu upstream on the manual, though.
+
+- Create a kvm-dev package from the files that are currently removed in rules
+
+- Build the 3 etherboot images from source so we can include them here directly,
+  rather than suggesting the etherboot package.
+
+- Support for sound
--- kvm-85+dfsg.orig/debian/patches/06_no_system_linux_kvm_h.patch
+++ kvm-85+dfsg/debian/patches/06_no_system_linux_kvm_h.patch
@@ -0,0 +1,19 @@
+
+Avoid including system header for linux/kvm.h - otherwise we will fail
+when the system has older headers than what we're really trying to
+compile, for example a Linux 2.6.20 host with 2.6.20 Linux headers
+installed would fail.
+
+Index: libkvm/libkvm.h
+===================================================================
+--- a/libkvm/libkvm.h.orig	2008-11-26 16:04:21.000000000 +0100
++++ b/libkvm/libkvm.h	2008-11-27 09:37:43.000000000 +0100
+@@ -15,7 +15,7 @@
+ #define __user /* temporary, until installed via make headers_install */
+ #endif
+ 
+-#include <linux/kvm.h>
++#include "linux/kvm.h"
+ 
+ #include <signal.h>
+ 
--- kvm-85+dfsg.orig/debian/patches/do-not-install-bios.patch
+++ kvm-85+dfsg/debian/patches/do-not-install-bios.patch
@@ -0,0 +1,19 @@
+Index: kvm/qemu/Makefile
+===================================================================
+--- kvm.orig/qemu/Makefile
++++ kvm/qemu/Makefile
+@@ -198,14 +198,6 @@
+ ifneq ($(TOOLS),)
+ 	$(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)"
+ endif
+-	mkdir -p "$(DESTDIR)$(datadir)"
+-	set -e; for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \
+-		video.x openbios-sparc32 openbios-sparc64 pxe-ne2k_pci.bin \
+-		pxe-rtl8139.bin pxe-pcnet.bin pxe-e1000.bin extboot.bin \
+-		bamboo.dtb; \
+-        do \
+-		$(INSTALL) -m 644 $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
+-	done
+ ifndef CONFIG_WIN32
+ 	mkdir -p "$(DESTDIR)$(datadir)/keymaps"
+ 	set -e; for x in $(KEYMAPS); do \
--- kvm-85+dfsg.orig/debian/patches/readd_drive_boot_parameter_help.patch
+++ kvm-85+dfsg/debian/patches/readd_drive_boot_parameter_help.patch
@@ -0,0 +1,26 @@
+commit d7580e4dc3d10161fbcd591105af99d1cac2e370
+Author: Pauline Middelink <middelink@polyware.nl>
+Date:   Mon Apr 27 09:57:42 2009 +0200
+
+    Re-add -drive boot= parameter help text
+    
+    Small regression. libvirt determines the use of the boot= flag by looking
+    at the helptext. This flag is required for booting off virtio-blk devices.
+    
+    The description was lost in the last upstream merge; this patch re-adds it.
+    
+    Signed-off-by: Pauline Middelink <middelink@polyware.nl>
+    Signed-off-by: Avi Kivity <avi@redhat.com>
+
+diff --git a/qemu/qemu-options.hx b/qemu/qemu-options.hx
+index d5e0b85..a11ead9 100644
+--- a/qemu/qemu-options.hx
++++ b/qemu/qemu-options.hx
+@@ -92,6 +92,7 @@ DEF("drive", HAS_ARG, QEMU_OPTION_drive,
+     "-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]\n"
+     "       [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]\n"
+     "       [,cache=writethrough|writeback|none][,format=f][,serial=s]\n"
++    "       [,boot=on|off]\n"
+     "                use 'file' as a drive image\n")
+ STEXI
+ @item -drive @var{option}[,@var{option}[,@var{option}[,...]]]
--- kvm-85+dfsg.orig/debian/patches/qemu-ifup_head.patch
+++ kvm-85+dfsg/debian/patches/qemu-ifup_head.patch
@@ -0,0 +1,15 @@
+Make sure we only return one line of output. Fixes corner cases like
+http://bugs.debian.org/506913.
+
+diff --git a/scripts/qemu-ifup b/scripts/qemu-ifup
+index fb7f0b5..b722725 100755
+--- a/scripts/qemu-ifup
++++ b/scripts/qemu-ifup
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ 
+-switch=$(ip route ls | awk '/^default / { for(i=0;i<NF;i++) { if ($(i) == "dev") print $(i+1) }}')
++switch=$(ip route ls | awk '/^default / { for(i=0;i<NF;i++) { if ($(i) == "dev") print $(i+1) }}'| head -n 1)
+ /sbin/ifconfig $1 0.0.0.0 up
+ /usr/sbin/brctl addif ${switch} $1
+ exit 0
--- kvm-85+dfsg.orig/debian/patches/series
+++ kvm-85+dfsg/debian/patches/series
@@ -0,0 +1,10 @@
+01_use_bios_files_in_usr_share_kvm.patch
+03_bios_no_ssp.patch
+04_use_etc_kvm_kvm-ifup.patch
+06_no_system_linux_kvm_h.patch
+from-debian-qemu/22_net_tuntap_stall.patch
+from-debian-qemu/62_linux_boot_nasm.patch
+07_change_qemu_docdir.patch
+security/leftover.patch
+qemu-ifup_head.patch
+readd_drive_boot_parameter_help.patch
--- kvm-85+dfsg.orig/debian/patches/01_use_bios_files_in_usr_share_kvm.patch
+++ kvm-85+dfsg/debian/patches/01_use_bios_files_in_usr_share_kvm.patch
@@ -0,0 +1,13 @@
+Index: kvm/qemu/configure
+===================================================================
+--- kvm.orig/qemu/configure	2008-12-30 18:09:10.000000000 +0100
++++ kvm/qemu/configure	2008-12-30 18:10:18.000000000 +0100
+@@ -1096,7 +1096,7 @@
+       prefix="/usr/local"
+   fi
+   mansuffix="/share/man"
+-  datasuffix="/share/qemu"
++  datasuffix="/share/kvm"
+   docsuffix="/share/doc/qemu"
+   binsuffix="/bin"
+ fi
--- kvm-85+dfsg.orig/debian/patches/i2c_bus_load_fix.patch
+++ kvm-85+dfsg/debian/patches/i2c_bus_load_fix.patch
@@ -0,0 +1,18 @@
+commit d0c22f49ba84016e4d06012af2176a851825814f
+Author: balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
+Date:   Tue Jul 29 13:57:48 2008 +0000
+
+    Fix load width for slave address in i2c_bus_load (Chris Lalancette).
+    
+diff --git a/hw/i2c.c b/hw/i2c.c
+--- a/qemu/hw/i2c.c
++++ b/qemu/hw/i2c.c
+@@ -33,7 +33,7 @@ static int i2c_bus_load(QEMUFile *f, void *opaque, int version_id)
+ 
+     /* The bus is loaded before attached devices, so load and save the
+        current device id.  Devices will check themselves as loaded.  */
+-    bus->saved_address = qemu_get_be32(f);
++    bus->saved_address = (int8_t) qemu_get_byte(f);
+     bus->current_dev = NULL;
+ 
+     return 0;
--- kvm-85+dfsg.orig/debian/patches/04_use_etc_kvm_kvm-ifup.patch
+++ kvm-85+dfsg/debian/patches/04_use_etc_kvm_kvm-ifup.patch
@@ -0,0 +1,17 @@
+Use an independent script to control the network at startup.
+
+diff --git a/qemu/net.h b/qemu/net.h
+index 91324df..a9baa19 100644
+--- a/qemu/net.h
++++ b/qemu/net.h
+@@ -94,8 +94,8 @@ void net_cleanup(void);
+ int slirp_is_inited(void);
+ void net_client_check(void);
+ 
+-#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
+-#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
++#define DEFAULT_NETWORK_SCRIPT "/etc/kvm/kvm-ifup"
++#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/kvm/kvm-ifdown"
+ #ifdef __sun__
+ #define SMBD_COMMAND "/usr/sfw/sbin/smbd"
+ #else
--- kvm-85+dfsg.orig/debian/patches/03_bios_no_ssp.patch
+++ kvm-85+dfsg/debian/patches/03_bios_no_ssp.patch
@@ -0,0 +1,13 @@
+Index: kvm/bios/Makefile
+===================================================================
+--- kvm.orig/bios/Makefile	2008-12-30 18:05:59.000000000 +0100
++++ kvm/bios/Makefile	2008-12-30 18:10:31.000000000 +0100
+@@ -110,7 +110,7 @@
+ 	ld -o $@ -T rombios32.ld rombios32start.o vapic.o rombios32.o
+ 
+ rombios32.o: rombios32.c acpi-dsdt.hex
+-	$(GCC) -m32 -O2 -Wall -c -o $@ $<
++	$(GCC) -fno-stack-protector -m32 -O2 -Wall -c -o $@ $<
+ 
+ acpi-dsdt.hex: acpi-dsdt.dsl
+ 	cpp -P $< $<.i
--- kvm-85+dfsg.orig/debian/patches/07_change_qemu_docdir.patch
+++ kvm-85+dfsg/debian/patches/07_change_qemu_docdir.patch
@@ -0,0 +1,13 @@
+Index: kvm/qemu/configure
+===================================================================
+--- kvm.orig/qemu/configure	2008-12-30 18:10:18.000000000 +0100
++++ kvm/qemu/configure	2008-12-30 18:14:25.000000000 +0100
+@@ -1097,7 +1097,7 @@
+   fi
+   mansuffix="/share/man"
+   datasuffix="/share/kvm"
+-  docsuffix="/share/doc/qemu"
++  docsuffix="/share/doc/kvm"
+   binsuffix="/bin"
+ fi
+ 
--- kvm-85+dfsg.orig/debian/patches/security/leftover.patch
+++ kvm-85+dfsg/debian/patches/security/leftover.patch
@@ -0,0 +1,44 @@
+Index: kvm/qemu/hw/dma.c
+===================================================================
+--- kvm.orig/qemu/hw/dma.c	2008-11-29 09:36:57.000000000 +0100
++++ kvm/qemu/hw/dma.c	2008-11-29 17:12:30.000000000 +0100
+@@ -349,9 +349,11 @@
+ #endif
+
+     r = dma_controllers[ncont].regs + ichan;
+-    n = r->transfer_handler (r->opaque, ichan + (ncont << 2),
+-                             r->now[COUNT], (r->base[COUNT] + 1) << ncont);
+-    r->now[COUNT] = n;
++    if (r->transfer_handler) {
++        n = r->transfer_handler (r->opaque, ichan + (ncont << 2),
++                                 r->now[COUNT], (r->base[COUNT] + 1) << ncont);
++        r->now[COUNT] = n;
++    }
+     ldebug ("dma_pos %d size %d\n", n, (r->base[COUNT] + 1) << ncont);
+ }
+
+Index: kvm/qemu/hw/pc.c
+===================================================================
+--- kvm.orig/qemu/hw/pc.c	2008-11-29 09:36:57.000000000 +0100
++++ kvm/qemu/hw/pc.c	2008-11-29 17:12:30.000000000 +0100
+@@ -387,7 +387,8 @@
+     case 0x400:
+     case 0x401:
+         fprintf(stderr, "BIOS panic at rombios.c, line %d\n", val);
+-        exit(1);
++        /* according to documentation, these can be safely ignored */
++        break;
+     case 0x402:
+     case 0x403:
+ #ifdef DEBUG_BIOS
+@@ -410,8 +411,9 @@
+         /* LGPL'ed VGA BIOS messages */
+     case 0x501:
+     case 0x502:
++        /* according to documentation, these can be safely ignored */
+         fprintf(stderr, "VGA BIOS panic, line %d\n", val);
+-        exit(1);
++        break;
+     case 0x500:
+     case 0x503:
+ #ifdef DEBUG_BIOS
--- kvm-85+dfsg.orig/debian/patches/from-debian-qemu/22_net_tuntap_stall.patch
+++ kvm-85+dfsg/debian/patches/from-debian-qemu/22_net_tuntap_stall.patch
@@ -0,0 +1,19 @@
+Patch from Debian QEMU (SVN r95), see bugs.debian.org #290569 for
+documentation:
+
+Fix TUN/TAP nwtwork interface stalling the connection. (Closes: #290569)
+Thanks to Vitaly Belostotsky <byly.useless@tochka.ru>.
+
+Index: kvm/qemu/net.c
+===================================================================
+--- kvm.orig/qemu/net.c	2008-12-30 17:57:56.000000000 +0100
++++ kvm/qemu/net.c	2008-12-30 18:13:59.000000000 +0100
+@@ -1018,7 +1018,7 @@
+         return -1;
+     }
+     memset(&ifr, 0, sizeof(ifr));
+-    ifr.ifr_flags = IFF_TAP | IFF_NO_PI;
++    ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_ONE_QUEUE;
+ 
+ #if defined(TUNGETFEATURES) && defined(IFF_VNET_HDR)
+     {
--- kvm-85+dfsg.orig/debian/patches/from-debian-qemu/62_linux_boot_nasm.patch
+++ kvm-85+dfsg/debian/patches/from-debian-qemu/62_linux_boot_nasm.patch
@@ -0,0 +1,59 @@
+Taken from Debian's qemu-0.8.2.  Buildd fails building kvm on amd64 without this.
+
+#DPATCHLEVEL=0
+Index: qemu/pc-bios/linux_boot.asm
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ b/qemu/pc-bios/linux_boot.asm	2008-11-27 09:38:00.000000000 +0100
+@@ -0,0 +1,31 @@
++;
++; QEMU Boot sector to launch a preloaded Linux kernel
++; Copyright (c) 2004 Fabrice Bellard
++; Copyright (c) 2006 Guillem Jover
++;
++
++LOAD_SEG equ 0x9000
++
++bits 16
++global _start
++
++section .text
++
++_start:
++	cli
++	cld
++	mov ax, LOAD_SEG
++	mov ds, ax
++	mov es, ax
++	mov fs, ax
++	mov gs, ax
++	mov ss, ax
++	mov sp, 0x8ffe
++	jmp LOAD_SEG + 0x20:0
++
++	times 510 - ($ - $$) db 0
++
++	; boot sector signature
++	db 0x55
++	db 0xaa
++
+Index: qemu/pc-bios/Makefile
+===================================================================
+--- a/qemu/pc-bios/Makefile.orig	2008-11-26 16:04:21.000000000 +0100
++++ b/qemu/pc-bios/Makefile	2008-11-27 09:38:00.000000000 +0100
+@@ -5,12 +5,12 @@
+ 
+ DEFINES=
+ 
+-TARGETS=
++TARGETS+=linux_boot.bin
+ 
+ all: $(TARGETS)
+ 
+-%.o: %.S
+-	$(CC) $(DEFINES) -c -o $@ $<
++linux_boot.bin: linux_boot.asm
++	nasm -f bin -o $@ $<
+ 
+ %.dtb: %.dts
+ 	dtc -O dtb -I dts -o $@ $<
--- kvm-85+dfsg.orig/qemu/Makefile
+++ kvm-85+dfsg/qemu/Makefile
@@ -1,7 +1,7 @@
 # Makefile for QEMU.
 
-include config-host.mak
-include $(SRC_PATH)/rules.mak
+-include config-host.mak
+-include $(SRC_PATH)/rules.mak
 
 .PHONY: all clean cscope distclean dvi html info install install-doc \
 	recurse-all speed tar tarbin test
--- kvm-85+dfsg.orig/qemu/pc-bios/Makefile
+++ kvm-85+dfsg/qemu/pc-bios/Makefile
@@ -1,7 +1,7 @@
 #
 # NOTE: only compilable with x86 cross compile tools
 #
-include ../config-host.mak
+-include ../config-host.mak
 
 DEFINES=
 
--- kvm-85+dfsg.orig/bios/Makefile.in
+++ kvm-85+dfsg/bios/Makefile.in
@@ -64,6 +64,7 @@
 	@RMCOMMAND@ *.o *.a *.s _rombios*_.c rombios*.txt rombios*.sym
 	@RMCOMMAND@ usage biossums rombios16.bin
 	@RMCOMMAND@ rombios32.bin rombios32.out
+	@RMCOMMAND@ acpi-dsdt.aml
 
 dist-clean: clean
 	@RMCOMMAND@ Makefile
--- kvm-85+dfsg.orig/bios/Makefile
+++ kvm-85+dfsg/bios/Makefile
@@ -72,6 +72,7 @@
 	rm -f  *.o *.a *.s _rombios*_.c rombios*.txt rombios*.sym
 	rm -f  usage biossums rombios16.bin
 	rm -f  rombios32.bin rombios32.out acpi-dsdt.hex
+	rm -f  acpi-dsdt.aml
 
 dist-clean: clean
 	rm -f  Makefile
