[ kvm-Bugs-2287677 ] kvm79 compiling errors (with-patched-kernel)

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

 



Bugs item #2287677, was opened at 2008-11-14 21:39
Message generated for change (Comment added) made by mtosatti
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2287677&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: intel
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Darkman (darkman82)
Assigned to: Nobody/Anonymous (nobody)
Summary: kvm79 compiling errors (with-patched-kernel)

Initial Comment:


config.mak :

ARCH=i386
PROCESSOR=i386
PREFIX=/usr
KERNELDIR=/usr/src/linux-2.6.27.6/
KERNELSOURCEDIR=
LIBKVM_KERNELDIR=/root/kvm-79/kernel
WANT_MODULE=
CROSS_COMPILE=
CC=gcc
LD=ld
OBJCOPY=objcopy
AR=ar


ERRORS:
/root/kvm-79/qemu/qemu-kvm.c: In function 'ap_main_loop':
/root/kvm-79/qemu/qemu-kvm.c:459: error: 'kvm_arch_do_ioperm' undeclared (first use in this function)
/root/kvm-79/qemu/qemu-kvm.c:459: error: (Each undeclared identifier is reported only once
/root/kvm-79/qemu/qemu-kvm.c:459: error: for each function it appears in.)
/root/kvm-79/qemu/qemu-kvm.c: In function 'sigfd_handler':
/root/kvm-79/qemu/qemu-kvm.c:544: warning: format '%ld' expects type 'long int', but argument 2 has type 'ssize_t'
make[2]: *** [qemu-kvm.o] Error 1
make[2]: Leaving directory `/root/kvm-79/qemu/x86_64-softmmu'
make[1]: *** [subdir-x86_64-softmmu] Error 2
make[1]: Leaving directory `/root/kvm-79/qemu'
make: *** [qemu] Error 2

Same problem with 2.6.27.2 source.

kvm78 works fine.

----------------------------------------------------------------------

>Comment By: Marcelo Tosatti (mtosatti)
Date: 2009-06-04 19:51

Message:
Please try with kvm-85, and reopen in case its still problematic.

----------------------------------------------------------------------

Comment By: Darkman (darkman82)
Date: 2008-12-05 19:33

Message:
It seems due to undefined USE_KVM_DEVICE_ASSIGNMENT.

In qemu-kvm.h:

qemu-kvm.h:95 #ifdef USE_KVM_DEVICE_ASSIGNMENT
qemu-kvm.h:96 void kvm_ioperm(CPUState *env, void *data);
qemu-kvm.h:97 void kvm_arch_do_ioperm(void *_data);
qemu-kvm.h:98 #endif

but in qemu-kvm.c we have

qemu-kvm.c:457    /* do ioperm for io ports of assigned devices */
qemu-kvm.c:458    LIST_FOREACH(data, &ioperm_head, entries)
qemu-kvm.c:459        on_vcpu(env, kvm_arch_do_ioperm, data);

without #ifdef block.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2287677&group_id=180599
--
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