public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] kvm-kmod-2.6.36
@ 2010-10-21 11:48 Jan Kiszka
  2010-10-25  6:47 ` Nikola Ciprich
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2010-10-21 11:48 UTC (permalink / raw)
  To: kvm

Kernel 2.6.36 is baked, and so is the corresponding kvm-kmod now. A few
fixes went in since -rc6, see below.

This release also marks the end of life for the kvm-kmod-2.6.35 series -
although there are a few unreleased kvm-kmod fixes in git. But the very
same patches can be obtained via .36 now, and there is currently no
2.6.35.8 with KVM updates in sight.

KVM changes since kvm-kmod-2.6.36-rc6:
 - x86: Fix fs/gs reload oops with invalid ldt
 - x86: Move TSC reset out of vmcb_init
 - x86: Fix SVM VMCB reset

kvm-kmod changes:
 - x86: make sure kvm_get_desc_base() doesn't sign extend
 - Improve accuracy of tboot_enabled wrapping

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ANNOUNCE] kvm-kmod-2.6.36
  2010-10-21 11:48 [ANNOUNCE] kvm-kmod-2.6.36 Jan Kiszka
@ 2010-10-25  6:47 ` Nikola Ciprich
  2010-10-25  7:56   ` Nikola Ciprich
  0 siblings, 1 reply; 5+ messages in thread
From: Nikola Ciprich @ 2010-10-25  6:47 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: kvm, nikola.ciprich

Hello Jan,
trying to compile on 2.6.32.25-rc1 I get:
make -C /usr/src/redhat/BUILD/linux-2.6.32 M=`pwd` \
                LINUXINCLUDE="-I`pwd`/include -Iinclude \
                         -Iinclude2 -I/usr/src/redhat/BUILD/linux-2.6.32/source/include -I/usr/src/redhat/BUILD/linux-2.6.32/source/arch/x86/include \
                        -I`pwd`/include-compat -I`pwd`/x86 \
                        -include  include/linux/autoconf.h \
                        -include `pwd`/x86/external-module-compat.h" \
                "$@"
make[1]: Entering directory `/home/src/redhat/BUILD/linux-2.6.32'
  CC [M]  /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/svm.o
In file included from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9,
                 from <command line>:1:
include/linux/types.h:4:23: error: asm/types.h: No such file or directory
In file included from include/linux/types.h:14,
                 from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9,
                 from <command line>:1:
include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
In file included from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9,
                 from <command line>:1:
include/linux/types.h:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_dev_t’
include/linux/types.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’
include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ino_t’
include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’
include/linux/types.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nlink_t’
include/linux/types.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘off_t’
include/linux/types.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_t’
include/linux/types.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘daddr_t’
include/linux/types.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suseconds_t’
include/linux/types.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timer_t’
include/linux/types.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clockid_t’
include/linux/types.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid_t’
include/linux/types.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid_t’
include/linux/types.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid16_t’
.
.
.


not sure whether I'm not doing something wrong, can You help me with that?
thanks a lot in advance!
with best regards
nikola ciprich



On Thu, Oct 21, 2010 at 01:48:20PM +0200, Jan Kiszka wrote:
> Kernel 2.6.36 is baked, and so is the corresponding kvm-kmod now. A few
> fixes went in since -rc6, see below.
> 
> This release also marks the end of life for the kvm-kmod-2.6.35 series -
> although there are a few unreleased kvm-kmod fixes in git. But the very
> same patches can be obtained via .36 now, and there is currently no
> 2.6.35.8 with KVM updates in sight.
> 
> KVM changes since kvm-kmod-2.6.36-rc6:
>  - x86: Fix fs/gs reload oops with invalid ldt
>  - x86: Move TSC reset out of vmcb_init
>  - x86: Fix SVM VMCB reset
> 
> kvm-kmod changes:
>  - x86: make sure kvm_get_desc_base() doesn't sign extend
>  - Improve accuracy of tboot_enabled wrapping
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ANNOUNCE] kvm-kmod-2.6.36
  2010-10-25  6:47 ` Nikola Ciprich
@ 2010-10-25  7:56   ` Nikola Ciprich
  2010-10-25  9:08     ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Nikola Ciprich @ 2010-10-25  7:56 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: kvm, nikola.ciprich

hmm,
seems to be regression between kvm-kmod-2.6.35-rc3 and kvm-kmod-2.6.35,
namely this snippet:
--- kvm-kmod-2.6.35-rc3/configure       2010-06-24 19:49:35.000000000 +0200
+++ kvm-kmod-2.6.35.6/configure 2010-10-01 11:30:03.000000000 +0200
@@ -89,7 +89,7 @@
 kerneldir=$(cd $kerneldir; pwd)
                                                                                                                                                                                                               
 # see if we have split build and source directories
-if [ -d "$kerneldir/include2" -o -L "$kerneldir/source" ]; then
+if [ ! -d "$kerneldir/Kbuild" ]; then
     kernelsourcedir=$kerneldir/source
     if [ ! -L "$kernelsourcedir" ]; then
         kernelsourcedir=${kerneldir%/build*}/source

n.

On Mon, Oct 25, 2010 at 08:47:17AM +0200, Nikola Ciprich wrote:
> Hello Jan,
> trying to compile on 2.6.32.25-rc1 I get:
> make -C /usr/src/redhat/BUILD/linux-2.6.32 M=`pwd` \
>                 LINUXINCLUDE="-I`pwd`/include -Iinclude \
>                          -Iinclude2 -I/usr/src/redhat/BUILD/linux-2.6.32/source/include -I/usr/src/redhat/BUILD/linux-2.6.32/source/arch/x86/include \
>                         -I`pwd`/include-compat -I`pwd`/x86 \
>                         -include  include/linux/autoconf.h \
>                         -include `pwd`/x86/external-module-compat.h" \
>                 "$@"
> make[1]: Entering directory `/home/src/redhat/BUILD/linux-2.6.32'
>   CC [M]  /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/svm.o
> In file included from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9,
>                  from <command line>:1:
> include/linux/types.h:4:23: error: asm/types.h: No such file or directory
> In file included from include/linux/types.h:14,
>                  from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9,
>                  from <command line>:1:
> include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
> In file included from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9,
>                  from <command line>:1:
> include/linux/types.h:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_dev_t’
> include/linux/types.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’
> include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ino_t’
> include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’
> include/linux/types.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nlink_t’
> include/linux/types.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘off_t’
> include/linux/types.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_t’
> include/linux/types.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘daddr_t’
> include/linux/types.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suseconds_t’
> include/linux/types.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timer_t’
> include/linux/types.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clockid_t’
> include/linux/types.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid_t’
> include/linux/types.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid_t’
> include/linux/types.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid16_t’
> .
> .
> .
> 
> 
> not sure whether I'm not doing something wrong, can You help me with that?
> thanks a lot in advance!
> with best regards
> nikola ciprich
> 
> 
> 
> On Thu, Oct 21, 2010 at 01:48:20PM +0200, Jan Kiszka wrote:
> > Kernel 2.6.36 is baked, and so is the corresponding kvm-kmod now. A few
> > fixes went in since -rc6, see below.
> > 
> > This release also marks the end of life for the kvm-kmod-2.6.35 series -
> > although there are a few unreleased kvm-kmod fixes in git. But the very
> > same patches can be obtained via .36 now, and there is currently no
> > 2.6.35.8 with KVM updates in sight.
> > 
> > KVM changes since kvm-kmod-2.6.36-rc6:
> >  - x86: Fix fs/gs reload oops with invalid ldt
> >  - x86: Move TSC reset out of vmcb_init
> >  - x86: Fix SVM VMCB reset
> > 
> > kvm-kmod changes:
> >  - x86: make sure kvm_get_desc_base() doesn't sign extend
> >  - Improve accuracy of tboot_enabled wrapping
> > --
> > To unsubscribe from this list: send the line "unsubscribe kvm" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 
> 
> -- 
> -------------------------------------
> Ing. Nikola CIPRICH
> LinuxBox.cz, s.r.o.
> 28. rijna 168, 709 01 Ostrava
> 
> tel.:   +420 596 603 142
> fax:    +420 596 621 273
> mobil:  +420 777 093 799
> www.linuxbox.cz
> 
> mobil servis: +420 737 238 656
> email servis: servis@linuxbox.cz
> -------------------------------------
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ANNOUNCE] kvm-kmod-2.6.36
  2010-10-25  7:56   ` Nikola Ciprich
@ 2010-10-25  9:08     ` Jan Kiszka
  2010-10-25  9:45       ` Nikola Ciprich
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2010-10-25  9:08 UTC (permalink / raw)
  To: Nikola Ciprich; +Cc: kvm, nikola.ciprich@linuxbox.cz

Am 25.10.2010 09:56, Nikola Ciprich wrote:
> hmm,
> seems to be regression between kvm-kmod-2.6.35-rc3 and kvm-kmod-2.6.35,
> namely this snippet:
> --- kvm-kmod-2.6.35-rc3/configure       2010-06-24 19:49:35.000000000 +0200
> +++ kvm-kmod-2.6.35.6/configure 2010-10-01 11:30:03.000000000 +0200
> @@ -89,7 +89,7 @@
>  kerneldir=$(cd $kerneldir; pwd)
>                                                                                                                                                                                                                
>  # see if we have split build and source directories
> -if [ -d "$kerneldir/include2" -o -L "$kerneldir/source" ]; then
> +if [ ! -d "$kerneldir/Kbuild" ]; then
>      kernelsourcedir=$kerneldir/source
>      if [ ! -L "$kernelsourcedir" ]; then
>          kernelsourcedir=${kerneldir%/build*}/source
> 
> n.

Oops, small but obviously fatal copy&paste mistake. Does this solve
your issue?

diff --git a/configure b/configure
index 4a37883..e37f5ff 100755
--- a/configure
+++ b/configure
@@ -89,7 +89,7 @@ arch=${arch%%-*}
 kerneldir=$(cd $kerneldir; pwd)
 
 # see if we have split build and source directories
-if [ ! -d "$kerneldir/Kbuild" ]; then
+if [ ! -e "$kerneldir/Kbuild" ]; then
     kernelsourcedir=$kerneldir/source
     if [ ! -L "$kernelsourcedir" ]; then
         kernelsourcedir=${kerneldir%/build*}/source

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [ANNOUNCE] kvm-kmod-2.6.36
  2010-10-25  9:08     ` Jan Kiszka
@ 2010-10-25  9:45       ` Nikola Ciprich
  0 siblings, 0 replies; 5+ messages in thread
From: Nikola Ciprich @ 2010-10-25  9:45 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: kvm, nikola.ciprich@linuxbox.cz

> Oops, small but obviously fatal copy&paste mistake. Does this solve
> your issue?
> 
> diff --git a/configure b/configure
> index 4a37883..e37f5ff 100755
> --- a/configure
> +++ b/configure
> @@ -89,7 +89,7 @@ arch=${arch%%-*}
>  kerneldir=$(cd $kerneldir; pwd)
>  
>  # see if we have split build and source directories
> -if [ ! -d "$kerneldir/Kbuild" ]; then
> +if [ ! -e "$kerneldir/Kbuild" ]; then
>      kernelsourcedir=$kerneldir/source
>      if [ ! -L "$kernelsourcedir" ]; then
>          kernelsourcedir=${kerneldir%/build*}/source
> 
> Jan
> 
> -- 
Hello Jan,
yes, it does! thanks!
n.


-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-25  9:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-21 11:48 [ANNOUNCE] kvm-kmod-2.6.36 Jan Kiszka
2010-10-25  6:47 ` Nikola Ciprich
2010-10-25  7:56   ` Nikola Ciprich
2010-10-25  9:08     ` Jan Kiszka
2010-10-25  9:45       ` Nikola Ciprich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox