Re: kvm-kmod.git

Avi Kivity
2009-06-01T18:19:48Z

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
>
> kvm.git on branch kvm-85:
> % make LINUX=/home/rharper/work/git/kvm sync
> ./sync -v kvm-devel -l /home/rharper/work/git/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/eventfd.c'
> make: *** [sync] Error 1
>
> kvm.git on branch kvm-86:
> % make LINUX=/home/rharper/work/git/kvm sync
> ./sync -v kvm-devel -l /home/rharper/work/git/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/eventfd.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.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.