[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] tools: specify datadir for qemu-xen build to fix firmware loading


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Mon, 19 Mar 2012 14:41:51 +0100
  • Delivery-date: Mon, 19 Mar 2012 13:42:19 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1332164506 -3600
# Node ID 94066d2f6045e80dc5d2dce762d8966695b3f2a2
# Parent  4e1d091d10d83130842170cd61f1194e5459f2aa
tools: specify datadir for qemu-xen build to fix firmware loading

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.

v2:
 - change datadir from SHAREDIR/xen/qemu-xen to SHAREDIR/qemu-xen

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r 4e1d091d10d8 -r 94066d2f6045 tools/Makefile
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -154,6 +154,7 @@ subdir-all-qemu-xen-dir subdir-install-q
                --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); \

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.