I am just building a new Debian Lenny install and trying to ''make tools'' on xen-3.4-testing.hg (no more than an hour or so old) and I get this: CC i386-dm/pt-msi.o In file included from /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pass-through.h:22, from /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.h:5, from /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22: /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pci.h:171:1: warning: "PCI_STATUS_66MHZ" redefined In file included from /usr/include/pci/pci.h:13, from /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.h:4, from /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22: /usr/include/pci/header.h:31:1: warning: this is the location of the previous definition In file included from /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pass-through.h:22, from /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.h:5, from /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22: /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pci.h:173:1: warning: "PCI_STATUS_FAST_BACK" redefined In file included from /usr/include/pci/pci.h:13, from /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.h:4, from /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22: /usr/include/pci/header.h:33:1: warning: this is the location of the previous definition Any suggestions? Thanks James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Derek Riley
2009-Aug-03 13:38 UTC
Re: [Xen-devel] errors building - redefinitions in pci.h
Hello- I am working on a project to modify Xen to precisely control the execution times of the individual guest domains, and I need some help. I considered modifying the XM python program, but it is not precise or fast enough for my application. I want to be able to pass short, simple message quickly between an application-level process and the Xen kernel asynchonously. I found an IPC mechanism designed for the method called netlink ( http://www.linuxjournal.com/article/7356), but I am not sure how to incorporate it into the Xen kernel. When I attempt to recompile the kernel with netlink, I get errors that seem to stem from type issues I am not familiar with. 2 questions: Is it possible to use a mechanism such as netlink with Xen? If so, how? Is there other functionality within Xen that could be used with minimal modification to do IPC within domain0? Any help/advice would be greatly appreciated. Thanks! --Derek _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tom Rotenberg
2009-Aug-03 13:53 UTC
Re: [Xen-devel] errors building - redefinitions in pci.h
It''s just warnings, i don''t think it will fail the build... On Mon, Aug 3, 2009 at 4:36 PM, James Harper<james.harper@bendigoit.com.au> wrote:> I am just building a new Debian Lenny install and trying to ''make tools'' > on xen-3.4-testing.hg (no more than an hour or so old) and I get this: > > CC i386-dm/pt-msi.o > In file included from > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pass-through.h:22, > from > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.h:5, > from > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22: > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pci.h:171:1: > warning: "PCI_STATUS_66MHZ" redefined > In file included from /usr/include/pci/pci.h:13, > from > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.h:4, > from > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22: > /usr/include/pci/header.h:31:1: warning: this is the location of the > previous definition > In file included from > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pass-through.h:22, > from > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.h:5, > from > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22: > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pci.h:173:1: > warning: "PCI_STATUS_FAST_BACK" redefined > In file included from /usr/include/pci/pci.h:13, > from > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.h:4, > from > /usr/local/src/xen-3.4-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22: > /usr/include/pci/header.h:33:1: warning: this is the location of the > previous definition > > Any suggestions? > > Thanks > > James > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
James Harper
2009-Aug-03 23:13 UTC
RE: [Xen-devel] errors building - redefinitions in pci.h
> > It''s just warnings, i don''t think it will fail the build... >Oops. So it is. I am getting build failures but the redifinitions are nothing to do with it (funny how everything seems so much clearer after a good nights sleep :) James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
James Harper
2009-Aug-03 23:37 UTC
RE: [Xen-devel] errors building - redefinitions in pci.h
Hey! Don''t hijack my thread - start your own!!! (you appear to have replied to a message I posted, leaving the subject as it was which is totally irrelevant to the questions you are asking.) James> > Hello- > I am working on a project to modify Xen to precisely control theexecution> times of the individual guest domains, and I need some help. Iconsidered> modifying the XM python program, but it is not precise or fast enoughfor my> application. > > I want to be able to pass short, simple message quickly between an > application-level process and the Xen kernel asynchonously. I foundan IPC> mechanism designed for the method called netlink > (http://www.linuxjournal.com/article/7356), but I am not sure how to > incorporate it into the Xen kernel. When I attempt to recompile thekernel> with netlink, I get errors that seem to stem from type issues I am not > familiar with. > > 2 questions: > Is it possible to use a mechanism such as netlink with Xen? If so,how?> Is there other functionality within Xen that could be used withminimal> modification to do IPC within domain0? > > Any help/advice would be greatly appreciated. Thanks! > --Derek_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel