Re: KVM-82 failed to compile

2009-01-22 Thread Avi Kivity

Simon Gao wrote:

Nikola Ciprich wrote:
  

Hi,
enable KVM support on kernel against which You're compiling..
n.

  


That did it. So from 2.6.27 and on, we need to enable KVM module in
kernel no matter we want to use a separate outside module or not. This
is a little strange.
  


While we could work around this, it actually buys you important 
functionality (full swapping) so I'd rather keep it this way.  Distros 
will enable kvm, so most users won't notice this at all.


--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: KVM-82 failed to compile

2009-01-08 Thread Simon Gao
Nikola Ciprich wrote:
> Hi,
> enable KVM support on kernel against which You're compiling..
> n.
>
>   
That did it. So from 2.6.27 and on, we need to enable KVM module in
kernel no matter we want to use a separate outside module or not. This
is a little strange.





--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: KVM-82 failed to compile

2009-01-02 Thread walt

Simon Gao wrote:

Carlo Marcelo Arenas Belon wrote:




has your kernel configuration (/usr/src/linux/.config) the following
enabled?

   CONFIG_MMU_NOTIFIER=y



I did not see the config parameter in my .config file, only has:

CONFIG_MMU=y
# CONFIG_IOMMU_HELPER is not set

Is there other parameter to enable to see the option?


Do 'make menuconfig' and select the second item from the bottom:
Virtualization-->Kernel-based Virtualization (KVM) support.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: KVM-82 failed to compile

2009-01-02 Thread Simon Gao
Carlo Marcelo Arenas Belon wrote:
> Thu, Jan 01, 2009 at 12:17:06PM -0800, Simon Gao wrote:
>   
>> I am seeing following error while compiling kvm-82:
>>
>> In file included from /tmp/kvm-82/kernel/x86/svm.c:56:
>> /tmp/kvm-82/kernel/include/linux/kvm_host.h:171: error: field
>> ‘mmu_notifier’ has incomplete type
>> 
>
> does that line correspond to "struct mmu_motifier"?
>
>   
>> This error occurred to both  linux-2.6.26-gentoo-r4 and
>> linux-2.6.27-gentoo-r7.
>> 
>
> has your kernel configuration (/usr/src/linux/.config) the following
> enabled?
>
>   CONFIG_MMU_NOTIFIER=y
>
>   
I did not see the config parameter in my .config file, only has:

CONFIG_MMU=y
# CONFIG_IOMMU_HELPER is not set

Is there other parameter to enable to see the option?

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: KVM-82 failed to compile

2009-01-02 Thread Nikola Ciprich
Hi,
enable KVM support on kernel against which You're compiling..
n.

On Thu, Jan 01, 2009 at 02:06:26PM -0800, Simon Gao wrote:
> Simon Gao wrote:
> > I am seeing following error while compiling kvm-82:
> >
> > In file included from /tmp/kvm-82/kernel/x86/svm.c:56:
> > /tmp/kvm-82/kernel/include/linux/kvm_host.h:171: error: field
> > ‘mmu_notifier’ has incomplete type
> > make[4]: *** [/tmp/kvm-82/kernel/x86/svm.o] Error 1
> > make[3]: *** [/tmp/kvm-82/kernel/x86] Error 2
> > make[2]: *** [_module_/tmp/kvm-82/kernel] Error 2
> > make[2]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r7'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/tmp/kvm-82/kernel'
> > make: *** [kernel] Error 2
> >
> > This error occurred to both  linux-2.6.26-gentoo-r4 and
> > linux-2.6.27-gentoo-r7.
> >
> > Anyone else has such problem?
> >
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe kvm" in
> > the body of a message to majord...@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >   
> Actually this compiling problem only occurred to linux-2.6.27-gentoo-r7. 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
-
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: ser...@linuxbox.cz
-
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: KVM-82 failed to compile

2009-01-02 Thread Carlo Marcelo Arenas Belon
Thu, Jan 01, 2009 at 12:17:06PM -0800, Simon Gao wrote:
> I am seeing following error while compiling kvm-82:
> 
> In file included from /tmp/kvm-82/kernel/x86/svm.c:56:
> /tmp/kvm-82/kernel/include/linux/kvm_host.h:171: error: field
> ‘mmu_notifier’ has incomplete type

does that line correspond to "struct mmu_motifier"?

> This error occurred to both  linux-2.6.26-gentoo-r4 and
> linux-2.6.27-gentoo-r7.

has your kernel configuration (/usr/src/linux/.config) the following
enabled?

  CONFIG_MMU_NOTIFIER=y

> Anyone else has such problem?

FWIW I have kvm-82 compiled against linux-2.6.27-gentoo-r7

Carlo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: KVM-82 failed to compile

2009-01-01 Thread Simon Gao
Simon Gao wrote:
> I am seeing following error while compiling kvm-82:
>
> In file included from /tmp/kvm-82/kernel/x86/svm.c:56:
> /tmp/kvm-82/kernel/include/linux/kvm_host.h:171: error: field
> ‘mmu_notifier’ has incomplete type
> make[4]: *** [/tmp/kvm-82/kernel/x86/svm.o] Error 1
> make[3]: *** [/tmp/kvm-82/kernel/x86] Error 2
> make[2]: *** [_module_/tmp/kvm-82/kernel] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r7'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/kvm-82/kernel'
> make: *** [kernel] Error 2
>
> This error occurred to both  linux-2.6.26-gentoo-r4 and
> linux-2.6.27-gentoo-r7.
>
> Anyone else has such problem?
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   
Actually this compiling problem only occurred to linux-2.6.27-gentoo-r7. 
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


KVM-82 failed to compile

2009-01-01 Thread Simon Gao
I am seeing following error while compiling kvm-82:

In file included from /tmp/kvm-82/kernel/x86/svm.c:56:
/tmp/kvm-82/kernel/include/linux/kvm_host.h:171: error: field
‘mmu_notifier’ has incomplete type
make[4]: *** [/tmp/kvm-82/kernel/x86/svm.o] Error 1
make[3]: *** [/tmp/kvm-82/kernel/x86] Error 2
make[2]: *** [_module_/tmp/kvm-82/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r7'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/kvm-82/kernel'
make: *** [kernel] Error 2

This error occurred to both  linux-2.6.26-gentoo-r4 and
linux-2.6.27-gentoo-r7.

Anyone else has such problem?


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html