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

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



On Mon, 2012-03-19 at 11:14 +0000, Stefano Stabellini wrote:
> On Fri, 16 Mar 2012, Olaf Hering wrote:
> > # HG changeset patch
> > # User Olaf Hering <olaf@xxxxxxxxx>
> > # Date 1331924173 -3600
> > # Node ID bf1d5778ffd10858b402068b9473e410791ebd07
> > # Parent  72e6530b29463f0913af365f5d085d94ff75627c
> > 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/xen/qemu-xen as directory so that it can coexist 
> > with
> > qemu-traditional.
> 
> Actually it shouldn't be a problem of firmware files, that QEMU doesn't
> load by itself,

Upstream qemu + SeaBIOS uses the emulated ROM BARs to load the
appropriate option ROM (e.g. etherboot) for each emulated device. AIUI
these are loaded from these firmware files by qemu at runtime.

This differs from qemu-xen-traditional+ROMBIOS where the BIOS ROMs were
baked into the hvmloader binary and pre-loaded into RAM by hvmloader.

So I think the path to these firmware files does matter.

Ian.

>  rather it should be an issue of keymap files.
> 
> 
> > Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
> > 
> > diff -r 72e6530b2946 -r bf1d5778ffd1 tools/Makefile
> > --- a/tools/Makefile
> > +++ b/tools/Makefile
> > @@ -156,6 +156,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)/xen/qemu-xen \
> 
> I think that $(SHAREDIR)/qemu-xen makes more sense
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
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®.