Messages in this thread | | | Date | Mon, 23 Jan 2023 18:20:16 +0100 | From | Willy Tarreau <> | Subject | Re: [PATCH 0/2] selftests/nolibc: small simplification of test development phase |
| |
Hi Ammar,
On Mon, Jan 23, 2023 at 11:57:56PM +0700, Ammar Faizi wrote: > Is there a way to make it work for the default qemu installation? > Or maybe it's a mandatory requirement to build qemu from the source? > > I use the qemu that comes from Ubuntu apt. I have "qemu-system-x86_64", > but no "qemu-x86_64". So, something like this... > > $ which qemu-x86_64 > $ echo $? > 1 > > $ which qemu-system-x86_64 > /usr/bin/qemu-system-x86_64
Ah now I think I understand Paul's question. I didn't know that the userland version was not always provided. I've always had both side by side.
> It would be great if we can avoid building qemu from the source. But if > not, let's go with that.
As Paul indicated, it's really trouble-free and I think I've only done that since the very first day I started to use QEMU, reason why I probably never noticed that not everything was packaged.
Then at least to respond to Paul, it could make sense to add a note that on some distros the userland version might not always be provided and might require a pretty simple rebuild of QEMU.
Thanks! Willy
| |