RE: [ANNOUNCE] kvm-kmod-2.6.31.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> This release has been tested on x86 down to host kernel 2.6.27 and
> builds down to 2.6.24. Building against older kernels is expected to be
> broken, but if anyone provides patches to fix it, I'm open to merge
> them.

I am still not able to build with our 2.6.24 kernel.

./sync -v  kvm-kmod-2.6.31.5 -l /path/to/kernel/linux-2.6.24-openvz
Traceback (most recent call last):
  File "./sync", line 247, in <module>
    header_sync(arch)
  File "./sync", line 219, in header_sync
    hack(T, arch, 'include/asm-%(arch)s/kvm.h' % { 'arch': arch })
  File "./sync", line 158, in hack
    _hack(T + '/' + file, arch)
  File "./sync", line 149, in _hack
    data = file(fname).read()
IOError: [Errno 2] No such file or directory: 'header/include/asm-x86/kvm.h'


The files required are simply not in the correct location. But it seem that make sync (after manually change paths and remove non-existing files) does not change a single file anyways for kernel 2.6.24?
 
So I can simply skip 'make sync'?

But when I run make I get the following error:

/home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod-2.6.31.5/x86/external-module-compat.h:93: error: redefinition of "native_read_tsc"
include/asm/msr.h:230: error: previous definition of "native_read_tsc" was here

if fact, it is defined in msr.h too:

static inline unsigned long long native_read_tsc(void)
{
        unsigned long long val;

        rdtsc_barrier();
        asm volatile("rdtsc" : "=A" (val));
        rdtsc_barrier();

        return val;
}

and in external-module-compat.h:

static inline unsigned long long native_read_tsc(void)
{
        unsigned long long val;
        asm volatile("rdtsc" : "=A" (val));
        return val;
}

And I compile on 64bit. So what is the correct version?

- Dietmar



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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux