>Hi Dor,
>
>I was able to grab the virtio sources.  However, the make -C kernel
>command to build the modules doesn't copy over all files.
>
>when I run:
>
>make -C kernel sync LINUX=/home/cam/research/KVM/dor/kvm/
>
>the following files:
>linux/virtio.h
>linux/virtio_blk.h
>linux/virtio_net.h

The above files are currently part of the guest kernel (not modules) so
they shouldn't be copied. Instead you should compile the whole kernel
and
use it for the guest. I'll soon make modules out of them for better
usability.

>asm-x86_64/hypercall.h

I'll add it to the sync entry.
10x

>don't get copied into kvm-userspace/kernel/include
>
>after copying them manually, I get the compile to move forward until
>this happens:
>
>   CC [M]  /home/cam/research/KVM/dor/kvm-
>userspace/kernel/virtio_backend.o
>KVM/dor/kvm-userspace/kernel/virtio_backend.c: In function
>'virtio_add_buf':
>KVM/dor/kvm-userspace/kernel/virtio_backend.c:104: warning: parameter
>names (without types) in function declaration
>KVM/dor/kvm-userspace/kernel/virtio_backend.c:131: error: 'prev'
>undeclared (first use in this function)
>KVM/dor/kvm-userspace/kernel/virtio_backend.c:131: error: (Each
>undeclared identifier is reported only once
>KVM/dor/kvm-userspace/kernel/virtio_backend.c:131: error: for each
>function it appears in.)
>make[3]: *** [KVM/dor/kvm-userspace/kernel/virtio_backend.o] Error 1
>
>Hopefully I'll get to a point when I can fix these myself, but I'm not
>there yet :)

Did it happen after you passed all virtio*.h to kernel/include/linux?
Strange, seems like uninitialized_var(prev) is not good?

>Thanks,
>Cam

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to