tools: specify datadir for qemu-xen build to fix firmware loading
authorOlaf Hering <olaf@aepfle.de>
Tue, 3 Apr 2012 14:25:01 +0000 (15:25 +0100)
committerOlaf Hering <olaf@aepfle.de>
Tue, 3 Apr 2012 14:25:01 +0000 (15:25 +0100)
qemu-xen does currently not find the firmware files, such as
vgabios-cirrus.bin. The reason is that qemu-xen uses the default prefix
/usr/local. Use SHAREDIR/qemu-xen as directory so that it can coexist
with qemu-traditional which is installed in SHAREDIR/xen/qemu.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/Makefile

index b07203e2a29091879fddee395eb757f8a4c8d0e5..a74df2f276f248df7e835229e542390b22d944a8 100644 (file)
@@ -154,6 +154,7 @@ subdir-all-qemu-xen-dir subdir-install-qemu-xen-dir: qemu-xen-dir-find
                --extra-ldflags="-L$(XEN_ROOT)/tools/libxc \
                -L$(XEN_ROOT)/tools/xenstore" \
                --bindir=$(LIBEXEC) \
+               --datadir=$(SHAREDIR)/qemu-xen \
                --disable-kvm \
                --python=$(PYTHON) \
                $(IOEMU_CONFIGURE_CROSS); \