Skip to contentSkip to conversation

kvm-kmod-2.6.33

ANNOUNCE Jan Kiszka 2 participants 3 messages Feb 25, 2010 – Feb 26, 2010

Subsystems (2)
lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

Now that 2.6.33 is out, time to release the corresponding kvm-kmod package as well. Not much has happened since 2.6.33-rc6, though.

KVM changes since kvm-kmod-2.6.33-rc6:
- PIT: control word is write-only
(fixes side-effects of spurious reads)
- kvmclock: count total_sleep_time when updating guest clock (requires >= 2.6.32.9 as host, falls back to unfixed version otherwise)

kvm-kmod changes:
- warn about kvmclock issues across host suspend/resume
- detect host kernel extra version to make use of fixes in stable series

See [1] for the delta to 2.6.32.

I also released kvm-kmod-2.6.32.9 with basically the same changes. That may be the last release based on that kernel, but nothing is set in stone yet (specifically as we already maintain kvm-kmod-2.6.32 internally for a customer).

Jan

[1] https://sourceforge.net/projects/kvm/files/kvm-kmod/2.6.33-rc6/changelog/view

#1 lore raw

Hello Jan,

I can compile kvm-kmod-2.6.32.9 under Ubuntu 9.1 64-Bit, but 'make install' fails with

ingmar@nexoc:~/KVM/kvm-kmod-2.6.32.9$ sudo make install
[sudo] password for ingmar:
mkdir -p ///usr/local/include/kvm-kmod/asm/
install -m 644 usr/include/asm-x86/{kvm,kvm_para}.h
///usr/local/include/kvm-kmod/asm/
install: cannot stat `usr/include/asm-x86/{kvm,kvm_para}.h': No such
file or directory
make: *** [install-hdr] Error 1

Before I used kvm-kmod-2.6.32.3 which installs just fine:

ingmar@nexoc:~/KVM/kvm-kmod-2.6.32.3$ sudo make install
mkdir -p ///lib/modules/2.6.31-19-generic/extra
cp x86/*.ko ///lib/modules/2.6.31-19-generic/extra
for i in ///lib/modules/2.6.31-19-generic/kernel/drivers/kvm/*.ko \
		 ///lib/modules/2.6.31-19-generic/kernel/arch/x86/kvm/*.ko; do \
		if [ -f "$i" ]; then mv "$i" "$i.orig"; fi; \
	done
/sbin/depmod -a 2.6.31-19-generic -b /
install -m 644 -D scripts/65-kvm.rules //etc/udev/rules.d/65-kvm.rules
install -m 644 -D usr/include/asm-x86/kvm.h
///usr/local/include/kvm-kmod/asm/kvm.h
install -m 644 -D usr/include/linux/kvm.h
///usr/local/include/kvm-kmod/linux/kvm.h
sed 's|PREFIX|/usr/local|; s/VERSION/kvm-kmod-2.6.32.3/' kvm-kmod.pc >
.tmp.kvm-kmod.pc
install -m 644 -D .tmp.kvm-kmod.pc ///usr/local/lib/pkgconfig/kvm-kmod.pc

Any idea what could be wrong?

Regards,

Ingmar

Quoted 29 lines · Jan Kiszka

Now that 2.6.33 is out, time to release the corresponding kvm-kmod package as well. Not much has happened since 2.6.33-rc6, though.

KVM changes since kvm-kmod-2.6.33-rc6:
- PIT: control word is write-only
(fixes side-effects of spurious reads)
- kvmclock: count total_sleep_time when updating guest clock (requires >= 2.6.32.9 as host, falls back to unfixed version otherwise)

kvm-kmod changes:
- warn about kvmclock issues across host suspend/resume
- detect host kernel extra version to make use of fixes in stable series

See [1] for the delta to 2.6.32.

I also released kvm-kmod-2.6.32.9 with basically the same changes. That may be the last release based on that kernel, but nothing is set in stone yet (specifically as we already maintain kvm-kmod-2.6.32 internally for a customer).

Jan

[1] https://sourceforge.net/projects/kvm/files/kvm-kmod/2.6.33-rc6/changelog/view
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 33 lines · Ingmar Schraub

Hello Jan,

I can compile kvm-kmod-2.6.32.9 under Ubuntu 9.1 64-Bit, but 'make install' fails with

ingmar@nexoc:~/KVM/kvm-kmod-2.6.32.9$ sudo make install
[sudo] password for ingmar:
mkdir -p ///usr/local/include/kvm-kmod/asm/
install -m 644 usr/include/asm-x86/{kvm,kvm_para}.h
///usr/local/include/kvm-kmod/asm/
install: cannot stat `usr/include/asm-x86/{kvm,kvm_para}.h': No such
file or directory
make: *** [install-hdr] Error 1

Before I used kvm-kmod-2.6.32.3 which installs just fine:

ingmar@nexoc:~/KVM/kvm-kmod-2.6.32.3$ sudo make install
mkdir -p ///lib/modules/2.6.31-19-generic/extra
cp x86/*.ko ///lib/modules/2.6.31-19-generic/extra
for i in ///lib/modules/2.6.31-19-generic/kernel/drivers/kvm/*.ko \
		 ///lib/modules/2.6.31-19-generic/kernel/arch/x86/kvm/*.ko; do \
		if [ -f "$i" ]; then mv "$i" "$i.orig"; fi; \
	done
/sbin/depmod -a 2.6.31-19-generic -b /
install -m 644 -D scripts/65-kvm.rules //etc/udev/rules.d/65-kvm.rules
install -m 644 -D usr/include/asm-x86/kvm.h
///usr/local/include/kvm-kmod/asm/kvm.h
install -m 644 -D usr/include/linux/kvm.h
///usr/local/include/kvm-kmod/linux/kvm.h
sed 's|PREFIX|/usr/local|; s/VERSION/kvm-kmod-2.6.32.3/' kvm-kmod.pc >
.tmp.kvm-kmod.pc
install -m 644 -D .tmp.kvm-kmod.pc ///usr/local/lib/pkgconfig/kvm-kmod.pc
Quoted 2 lines

Any idea what could be wrong?

Likely bash'ism of mine (what's your shell?). This should fix it:

Makefile +2 -2
index 94dde5c..c031701 100644
@@ -62,9 +62,9 @@ KVM_KMOD_VERSION = $(strip $(if $(wildcard KVM_VERSION), \
 
 install-hdr:
 	mkdir -p $(DESTDIR)/$(HEADERDIR)/asm/
-	install -m 644 usr/include/asm-$(ARCH_DIR)/{kvm,kvm_para}.h $(DESTDIR)/$(HEADERDIR)/asm/
+	install -m 644 usr/include/asm-$(ARCH_DIR)/*.h $(DESTDIR)/$(HEADERDIR)/asm/
 	mkdir -p $(DESTDIR)/$(HEADERDIR)/linux/
-	install -m 644 usr/include/linux/{kvm,kvm_para}.h $(DESTDIR)/$(HEADERDIR)/linux/
+	install -m 644 usr/include/linux/*.h $(DESTDIR)/$(HEADERDIR)/linux/
 	sed 's|PREFIX|$(PREFIX)|; s/VERSION/$(KVM_KMOD_VERSION)/' kvm-kmod.pc > $(tmppc)
 	install -m 644 -D $(tmppc) $(DESTDIR)/$(PKGCONFIGDIR)/kvm-kmod.pc
 

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux