Hi Dor, Dor Laor wrote: >> >> 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. >
But, correct if I'm wrong, they still need be copied (some how) into kvm-userspace build as it requires them. Also to be clear, do I use the standard kvm host modules then? Should I specify that kernel directory when I run "make -C kernel..."? >> 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? > Yes, I looked at the code and it seems that a definition of 'prev' is simply missing. Thanks for your help, 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