Re: [RFC PATCH] os-posix: fix regression for install-less datadir location

2020-08-18 Thread Paolo Bonzini
On 18/08/20 15:10, Peter Maydell wrote: >> So for example all references to CONFIG_QEMU_DATADIR would invoke >> get_relocatable_path(CONFIG_QEMU_DATADIR), which would return something >> like "/usr/bin/../share/qemu". > Unless you have that series ready-to-roll, I think it would > be useful to

Re: [RFC PATCH] os-posix: fix regression for install-less datadir location

2020-08-18 Thread Peter Maydell
On Tue, 18 Aug 2020 at 10:11, Paolo Bonzini wrote: > > On 16/07/20 16:11, Marc-André Lureau wrote: > > os_find_datadir() used to check the ../share/qemu location (regardless > > of CONFIG_QEMU_DATADIR). It turns out that people rely on that location > > for running qemu in an arbitrary

Re: [RFC PATCH] os-posix: fix regression for install-less datadir location

2020-08-18 Thread Paolo Bonzini
On 16/07/20 16:11, Marc-André Lureau wrote: > os_find_datadir() used to check the ../share/qemu location (regardless > of CONFIG_QEMU_DATADIR). It turns out that people rely on that location > for running qemu in an arbitrary "install-less/portable" fashion. Change > the logic to return that

Re: [RFC PATCH] os-posix: fix regression for install-less datadir location

2020-07-16 Thread Marc-André Lureau
Hi On Thu, Jul 16, 2020 at 6:11 PM Marc-André Lureau < marcandre.lur...@redhat.com> wrote: > os_find_datadir() used to check the ../share/qemu location (regardless > of CONFIG_QEMU_DATADIR). It turns out that people rely on that location > for running qemu in an arbitrary "install-less/portable"