I am attempting to compile en with qemu http://git.qemu.org/qemu.git/ but this does not include xen-setup. it seems that tools/Makefile there is subdir-install-qemu-xen-traditional-dir: qemu-xen-traditional-dir-find set -e; \ $(buildmakevars2shellvars); \ cd qemu-xen-traditional-dir; \ $(QEMU_ROOT)/xen-setup \ --extra-cflags="$(EXTRA_CFLAGS_QEMU_TRADITIONAL)" \ $(IOEMU_CONFIGURE_CROSS); \ $(MAKE) install How I get xen to use this subdir-all-qemu-xen-dir: qemu-xen-dir-find if test -d $(QEMU_UPSTREAM_URL) ; then \ source=$(QEMU_UPSTREAM_URL); \ else \ source=.; \ fi; \ cd qemu-xen-dir; \ $$source/configure --enable-xen --target-list=i386-softmmu \ --source-path=$$source \ --extra-cflags="-I$(XEN_ROOT)/tools/include \ -I$(XEN_ROOT)/tools/libxc \ -I$(XEN_ROOT)/tools/xenstore \ -I$(XEN_ROOT)/tools/xenstore/compat \ $(EXTRA_CFLAGS_QEMU_XEN)" \ --extra-ldflags="-L$(XEN_ROOT)/tools/libxc \ -L$(XEN_ROOT)/tools/xenstore" \ --bindir=$(LIBEXEC) \ --datadir=$(SHAREDIR)/qemu-xen \ --disable-kvm \ at compile time in xen ? _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Fri, 2012-07-20 at 05:07 +0100, jacek burghardt wrote:> I am attempting to compile en with qemu http://git.qemu.org/qemu.git/Please have a look at http://wiki.xen.org/wiki/QEMU_Upstream> but this does not include xen-setup.That''s a qemu-xen-traditional thing and not a qemu-xen thing.> it seems that tools/Makefile there is > subdir-install-qemu-xen-traditional-dir: qemu-xen-traditional-dir-find > set -e; \ > $(buildmakevars2shellvars); \ > cd qemu-xen-traditional-dir; \ > $(QEMU_ROOT)/xen-setup \ > --extra-cflags="$(EXTRA_CFLAGS_QEMU_TRADITIONAL)" \ > $(IOEMU_CONFIGURE_CROSS); \ > $(MAKE) install > > How I get xen to use this > > subdir-all-qemu-xen-dir: qemu-xen-dir-find > if test -d $(QEMU_UPSTREAM_URL) ; then \ > source=$(QEMU_UPSTREAM_URL); \ > else \ > source=.; \ > fi; \ > cd qemu-xen-dir; \ > $$source/configure --enable-xen --target-list=i386-softmmu \ > --source-path=$$source \ > --extra-cflags="-I$(XEN_ROOT)/tools/include \ > -I$(XEN_ROOT)/tools/libxc \ > -I$(XEN_ROOT)/tools/xenstore \ > -I$(XEN_ROOT)/tools/xenstore/compat \ > $(EXTRA_CFLAGS_QEMU_XEN)" \ > --extra-ldflags="-L$(XEN_ROOT)/tools/libxc \ > -L$(XEN_ROOT)/tools/xenstore" \ > --bindir=$(LIBEXEC) \ > --datadir=$(SHAREDIR)/qemu-xen \ > --disable-kvm \ > > at compile time in xen ?Xen unstable/4.2 will build both at compile time, you select which one to run in your guest cfg file. By default the qemu-xen is built from our own branch of qemu-upstreams stable release.
You can add this to your "xen-unstable.git/.config" file, so xen-unstable will clone and build the upstream tree. QEMU_UPSTREAM_URL = git://git.qemu.org/qemu.git QEMU_UPSTREAM_REVISION = master TThe direction state add to .config file but it dows not exist. git of xen was broken last time I used it and I had switched to hg There is Config.mk and it has git and htnl locations. So I hope someone can point me to right file to change when I change Config.mk I am running into issue posted above. On 7/20/12, Ian Campbell <Ian.Campbell@citrix.com> wrote:> On Fri, 2012-07-20 at 05:07 +0100, jacek burghardt wrote: >> I am attempting to compile en with qemu http://git.qemu.org/qemu.git/ > > Please have a look at http://wiki.xen.org/wiki/QEMU_Upstream > >> but this does not include xen-setup. > > That''s a qemu-xen-traditional thing and not a qemu-xen thing. > >> it seems that tools/Makefile there is >> subdir-install-qemu-xen-traditional-dir: qemu-xen-traditional-dir-find >> set -e; \ >> $(buildmakevars2shellvars); \ >> cd qemu-xen-traditional-dir; \ >> $(QEMU_ROOT)/xen-setup \ >> --extra-cflags="$(EXTRA_CFLAGS_QEMU_TRADITIONAL)" \ >> $(IOEMU_CONFIGURE_CROSS); \ >> $(MAKE) install >> >> How I get xen to use this >> >> subdir-all-qemu-xen-dir: qemu-xen-dir-find >> if test -d $(QEMU_UPSTREAM_URL) ; then \ >> source=$(QEMU_UPSTREAM_URL); \ >> else \ >> source=.; \ >> fi; \ >> cd qemu-xen-dir; \ >> $$source/configure --enable-xen --target-list=i386-softmmu \ >> --source-path=$$source \ >> --extra-cflags="-I$(XEN_ROOT)/tools/include \ >> -I$(XEN_ROOT)/tools/libxc \ >> -I$(XEN_ROOT)/tools/xenstore \ >> -I$(XEN_ROOT)/tools/xenstore/compat \ >> $(EXTRA_CFLAGS_QEMU_XEN)" \ >> --extra-ldflags="-L$(XEN_ROOT)/tools/libxc \ >> -L$(XEN_ROOT)/tools/xenstore" \ >> --bindir=$(LIBEXEC) \ >> --datadir=$(SHAREDIR)/qemu-xen \ >> --disable-kvm \ >> >> at compile time in xen ? > > Xen unstable/4.2 will build both at compile time, you select which one > to run in your guest cfg file. > > By default the qemu-xen is built from our own branch of qemu-upstreams > stable release. > >