Re: kvm-kmod.git

2009-06-01 Thread Ryan Harper
* Avi Kivity a...@redhat.com [2009-04-28 05:53]: Michael S. Tsirkin wrote: Or maybe, add a s/CONFIG_KVM_TRACE/CONFIG_KMOD_KVM_TRACE/ to make the two options independent. You decide. Well, I think it's less confusing. I also wonder what happens if one tries to build on a

Re: kvm-kmod.git

2009-06-01 Thread Avi Kivity
Ryan Harper wrote: I also wonder what happens if one tries to build on a machine with kvm built into kernel. Ideally one would get a clear error message. kvm-kmod is really designed for those running on pre-kvm distro kernels, and for those testing newer kvm versions on distro kernels.

Re: kvm-kmod.git

2009-06-01 Thread Ryan Harper
= is for the kvm sources (further controlled by whatever branch is checked out) --kerneldir= is for the host kernel % cd kvm % git checkout -f 2.6.29-stable origins/maint/2.6.29 % cd ../kvm-kmod.git % ./configure % make LINUX=../kvm sync ./sync -v kvm-devel -l ../kvm Traceback (most recent call

Re: kvm-kmod.git

2009-06-01 Thread Avi Kivity
Ryan Harper wrote: So: LINUX= is for the kvm sources (further controlled by whatever branch is checked out) --kerneldir= is for the host kernel Ah, excellent, I didn't see it documented on the Code page of the wiki and I blindly assumed that it went away. Thanks for correction.

Re: kvm-kmod.git

2009-06-01 Thread Avi Kivity
Ryan Harper wrote: % cd kvm % git checkout -f 2.6.29-stable origins/maint/2.6.29 % cd ../kvm-kmod.git % ./configure % make LINUX=../kvm sync ./sync -v kvm-devel -l ../kvm Traceback (most recent call last): File ./sync, line 207, in module source_sync(arch) File ./sync, line 200

Re: kvm-kmod.git

2009-06-01 Thread Ryan Harper
* Avi Kivity a...@redhat.com [2009-06-01 13:20]: Ryan Harper wrote: % cd kvm % git checkout -f 2.6.29-stable origins/maint/2.6.29 % cd ../kvm-kmod.git % ./configure % make LINUX=../kvm sync ./sync -v kvm-devel -l ../kvm Traceback (most recent call last): File ./sync, line 207, in module

Re: kvm-kmod.git

2009-06-01 Thread Avi Kivity
Ryan Harper wrote: though it would be nice to have something to indicate the version we synced, right now all modules that are built this way, dmesg reports: loaded kvm module (kvm-devel I committed something to use 'git describe' when appropriate. -- I have a truly marvellous patch that

Re: kvm-kmod.git via http

2009-04-30 Thread Avi Kivity
Bernhard Kohl wrote: I'm trying to clone this new repository using the http protocol because I'm behind a proxy. I get the following error. For kvm.git and qemu-kvm.git this works well. $ git clone http://www.kernel.org/pub/scm/virt/kvm/kvm-kmod.git Initialized empty Git repository in /home

Re: kvm-kmod.git

2009-04-28 Thread Avi Kivity
Cam Macdonell wrote: Configure spits out an error about include/asm not existing. I think that make sync has to be run before configure to create the include directory and copy asm-x86 inside so that ln -sf asm-$karch include/asm will work. I changed configure to create include/ if it

Re: kvm-kmod.git

2009-04-28 Thread Michael S. Tsirkin
On Mon, Apr 27, 2009 at 03:32:29PM +0300, Avi Kivity wrote: This is a small git repository for the kvm external module kit. So, I am building on a host with CONFIG_KVM_TRACE set in its kernel, but I run configure without enabling kvm trace. As a result the module fails to link: WARNING:

Re: kvm-kmod.git

2009-04-28 Thread Avi Kivity
Michael S. Tsirkin wrote: On Mon, Apr 27, 2009 at 03:32:29PM +0300, Avi Kivity wrote: This is a small git repository for the kvm external module kit. So, I am building on a host with CONFIG_KVM_TRACE set in its kernel, but I run configure without enabling kvm trace. As a result the

Re: kvm-kmod.git

2009-04-28 Thread Avi Kivity
Michael S. Tsirkin wrote: Or maybe, add a s/CONFIG_KVM_TRACE/CONFIG_KMOD_KVM_TRACE/ to make the two options independent. You decide. Well, I think it's less confusing. I also wonder what happens if one tries to build on a machine with kvm built into kernel. Ideally one would get a

Re: kvm-kmod.git

2009-04-28 Thread Michael S. Tsirkin
On Tue, Apr 28, 2009 at 01:53:26PM +0300, Avi Kivity wrote: Michael S. Tsirkin wrote: Or maybe, add a s/CONFIG_KVM_TRACE/CONFIG_KMOD_KVM_TRACE/ to make the two options independent. You decide. Well, I think it's less confusing. Fine. Patch? -- MST -- To unsubscribe from this

Re: kvm-kmod.git

2009-04-28 Thread Avi Kivity
Michael S. Tsirkin wrote: On Tue, Apr 28, 2009 at 01:53:26PM +0300, Avi Kivity wrote: Michael S. Tsirkin wrote: Or maybe, add a s/CONFIG_KVM_TRACE/CONFIG_KMOD_KVM_TRACE/ to make the two options independent. You decide. Well, I think it's less confusing.

Re: kvm-kmod.git

2009-04-28 Thread Michael S. Tsirkin
On Tue, Apr 28, 2009 at 01:24:44PM +0300, Avi Kivity wrote: Michael S. Tsirkin wrote: On Mon, Apr 27, 2009 at 03:32:29PM +0300, Avi Kivity wrote: This is a small git repository for the kvm external module kit. So, I am building on a host with CONFIG_KVM_TRACE set in its kernel, but

kvm-kmod.git via http

2009-04-28 Thread Bernhard Kohl
I'm trying to clone this new repository using the http protocol because I'm behind a proxy. I get the following error. For kvm.git and qemu-kvm.git this works well. $ git clone http://www.kernel.org/pub/scm/virt/kvm/kvm-kmod.git Initialized empty Git repository in /home/bernd/src/kvm-kmod/.git

kvm-kmod.git

2009-04-27 Thread Avi Kivity
clone git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git $ git submodule init $ git submodule update $ ./configure $ make sync $ make Todo: - add maint branches - automatic 'make sync'? perhaps replace by symlimks? - add release script -- error compiling committee.c: too many arguments

Re: kvm-kmod.git

2009-04-27 Thread Farkas Levente
synchronized. $ git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git $ git submodule init $ git submodule update $ ./configure $ make sync $ make Todo: - add maint branches - automatic 'make sync'? perhaps replace by symlimks? - add release script hi, i see this big

Re: kvm-kmod.git

2009-04-27 Thread Avi Kivity
Farkas Levente wrote: hi, i see this big reorganization of the sources (which is good), but does it means that there will be separate tarball releases for kvm-kmod and kvm userspace (which can be compiled without other tarball and git commands)? if yes, it means there'll be one kvm-kmod tarball

Re: kvm-kmod.git

2009-04-27 Thread Cam Macdonell
synchronized. $ git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git $ git submodule init $ git submodule update $ ./configure $ make sync $ make Todo: - add maint branches - automatic 'make sync'? perhaps replace by symlimks? - add release script Configure spits out an error about