Re: kvm-kmod.git

Ryan Harper
2009-06-01T18:47:08Z

* Avi Kivity <avi@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>
> > source_sync(arch)
> > File "./sync", line 200, in source_sync
> > hack(T, arch, i)
> > File "./sync", line 123, in hack
> > _hack(T + '/' + file, arch)
> > File "./sync", line 114, in _hack
> > data = file(fname).read()
> >IOError: [Errno 2] No such file or directory: 'source/timer.c'
> >make: *** [sync] Error 1
> >

> >
> >only branch master seems to work with kvm-kmod
> >
> >
>
> Well there are differences in the source trees, so they need different
> hacking. There is a branch for 2.6.30 in kvm-kmod.git, but 2.6.29 is
> slightly different and doesn't have a branch. You can just remove the
> offending files from ./sync, there's a good chance it will work.

Yeah, updating sync and x86/Kbuild to not include source files/objects
works -- 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)

--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
ryanh@us.ibm.com