Re: The errors appear when compiling kvm-guest-drivers on kernel-2.6.29

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

 



I don't think the kvm-guest-drivers are still well maintained (they haven't 
been touched in 5 months). If you are using kernel 2.6.29, it already has 
virtio drivers and you don't need the kvm-guest-drivers tree at all.

--Brian Jackson



On Wednesday 01 April 2009 23:10:43 Zhiyong Wu wrote:
> HI,
>
> I have recently setup a guest network in KVM,
>
> when i tried to compile kvm guest driver - virtio on kernel-2.6.29, an
> issue has appeared
>
> (1) the version of kvm guest driver
>
> [root@fedora9 kvm-guest-drivers-linux {master}]$ git describe
> kvm-guest-drivers-linux-1-13-gae1ae62
>
> (2) the output of make
>
> [root@fedora9 kvm-guest-drivers-linux {master}]$ make
> make -C /lib/modules/2.6.29/build M=`pwd` "$@"
> make[1]: Entering directory `/usr/src/linux-2.6.29'
>   CC [M]  /home/zwu/study/virt/kvm-guest-drivers-linux/virtio_net.o
> /home/zwu/study/virt/kvm-guest-drivers-linux/virtio_net.c: In function
> \u2018xmit_skb\u2019:
> /home/zwu/study/virt/kvm-guest-drivers-linux/virtio_net.c:544: error:
> \u2018CHECKSUM_HW\u2019 undeclared (first use in this function)
> /home/zwu/study/virt/kvm-guest-drivers-linux/virtio_net.c:544: error:
> (Each undeclared identifier is reported only once
> /home/zwu/study/virt/kvm-guest-drivers-linux/virtio_net.c:544: error:
> for each function it appears in.)
> /home/zwu/study/virt/kvm-guest-drivers-linux/virtio_net.c:550: error:
> \u2018struct sk_buff\u2019 has no member named \u2018h\u2019
> make[2]: *** [/home/zwu/study/virt/kvm-guest-drivers-linux/virtio_net.o]
> Error 1 make[1]: *** [_module_/home/zwu/study/virt/kvm-guest-drivers-linux]
> Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.29'
> make: *** [all] Error 2
>
>
> Cheers,
>
> Zhiyong Wu
> --
> 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

--
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