xen-4.0-testing ioemu-dir build fails with kvm.c(?!) errors
I am trying to do a fresh build (make world) of xen-4.0-testing c/s 21334 and getting build errors in tools/ioemu-dir trying to build kvm.c. See attached make.out.
This is a RHEL6B2r2 system and I see that KVM is enabled. Is ioemu-dir recognizing that KVM is enabled and doing something unusual/special that it otherwise wouldn't? And, if so, is there an easy way to fix this problem -- without rebuilding the kernel?)
Or is the xen-4.0-testing build just plain broken now?
Or any other ideas?
Thanks,
Dan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Dan Magenheimer writes ("xen-4.0-testing ioemu-dir build fails with kvm.c(?!) errors"):
Quoted 3 lines
I am trying to do a fresh build (make world) of xen-4.0-testing c/s 21334 and getting build errors in
tools/ioemu-dirtrying to buildkvm.c. See attached make.out.
I think the bug is that the Xen build system is failing to disable KVM support in ioemu. There is no point in that support and it will only cause trouble.
If you look at "xen-setup" in the qemu tree you'll probably find that you can just add --disable-xen to the configure line. If that works please send us a patch :-).
Thanks,
Ian.
Quoted 10 lines
From: Ian Jackson [mailto:[email protected]]
Subject: Re: xen-4.0-testing ioemu-dir build fails withkvm.c(?!)errorsDan Magenheimer writes ("xen-4.0-testing ioemu-dir build fails with
kvm.c(?!)errors"):Quoted 3 lines
I am trying to do a fresh build (make world) of xen-4.0-testing c/s 21334 and getting build errors in
tools/ioemu-dirtrying to buildkvm.c. See attached make.out.
Quoted 7 lines
I think the bug is that the Xen build system is failing to disable KVM support in ioemu. There is no point in that support and it will only cause trouble.
If you look at "xen-setup" in the qemu tree you'll probably find that you can just add --disable-xen to the configure line. If that works please send us a patch :-).
Well that didn't seem to work for me... hacking the i386-dm Makefile (to disable the compiles of kvm*.c) did work, though I expect that hackery wouldn't make for an acceptable patch.
Dan Magenheimer writes ("[Xen-devel] RE: xen-4.0-testing ioemu-dir build fails with kvm.c(?!) errors"):
Quoted 4 lines
Well that didn't seem to work for me... hacking the i386-dm
Makefile(to disable the compiles of kvm*.c) did work, though I expect that hackery wouldn't make for an acceptable patch.
i386-dm/Makefile is a generated file, so yes, you can't really fix it even slightly properly there.
But perhaps xen-hooks.mak's BAD_OBJS will help ?
Ian.