From: Ian Jackson Subject: Re: [PATCH] tools: adjust --datadir option passed to qemu-upstream's configure script Date: Thu, 7 Jun 2012 18:48:38 +0100 Message-ID: <20432.59766.6064.299261@mariner.uk.xensource.com> References: <4FCC8F3A020000780008812B@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FCC8F3A020000780008812B@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Anthony PERARD , xen-devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Jan Beulich writes ("[Xen-devel] [PATCH] tools: adjust --datadir option passed to qemu-upstream's configure script"): > Passing $(SHAREDIR)/qemu-xen isn't compatible with the way > os-posix.c:os_find_datadir() works. While one would generally expect > that function to honour the --datadir configure option, fixing this is > quite a bit more involved than simply adjusting the configure options > to match the function's behavior (in that, for an installed binary, it > looks in $bindir/../share/qemu). Afaict, so far this can have worked > only by virtue of what CONFIG_QEMU_DATADIR points to being populated > due to (presumably) some other qemu instance being installed on > people's systems (but being absent when running qemu-system-i386 from > the dist/ portion of the build tree). Anthony, Stefano, do you have an opinion ? Ian.