Dan Magenheimer
2010-Sep-02 17:47 UTC
[Xen-devel] 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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2010-Sep-02 17:59 UTC
[Xen-devel] Re: xen-4.0-testing ioemu-dir build fails with kvm.c(?!) errors
Dan Magenheimer writes ("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.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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dan Magenheimer
2010-Sep-02 18:15 UTC
[Xen-devel] RE: xen-4.0-testing ioemu-dir build fails with kvm.c(?!) errors
> From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > Subject: Re: xen-4.0-testing ioemu-dir build fails with kvm.c(?!) > errors > > Dan Magenheimer writes ("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. > > 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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2010-Sep-03 17:47 UTC
[Xen-devel] RE: xen-4.0-testing ioemu-dir build fails with kvm.c(?!) errors
Dan Magenheimer writes ("[Xen-devel] RE: xen-4.0-testing ioemu-dir build fails with kvm.c(?!) errors"):> 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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel