qemu-devel
[Top][All Lists]
Advanced

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

Re: absolute firmware path made relocatable in qemu 5.2.0


From: Dave
Subject: Re: absolute firmware path made relocatable in qemu 5.2.0
Date: Wed, 13 Jan 2021 11:51:00 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0

This is my qemu binary compiled with --prefix=/nonexistent


bash-5.1# ./qemu-system-x86_64 -L help
/usr/share/qemu
/usr/share/qemu-firmware
/usr/src/sources/qemu-5.2.0/build/pc-bios

bash-5.1# ./qemu-system-x86_64 --help|grep helper

[,br=bridge][,helper=helper][,sndbuf=nbytes][,vnet_hdr=on|off][,vhost=on|off]
use network helper 'helper' (default=/nonexistent/libexec/qemu-bridge-helper) to
-netdev bridge,id=str[,br=bridge][,helper=helper]
using the program 'helper (default=/nonexistent/libexec/qemu-bridge-helper)

See that it will call /nonexistent/libexec/qemu-bridge-helper by default.

Dave

On 12/01/2021 23:53, Paolo Bonzini wrote:
On 12/01/21 18:04, Dave wrote:
Thanks Paola,

We are still in testing and that's the only thing we've uncovered so far with the new 5.2.0. I will post if the ops guys find anything else.

Hmm, that's weird though.  The path to the default bridge helper is relocated:

net/tap.c:        helper = default_helper = get_relocated_path(DEFAULT_BRIDGE_HELPER);

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]