[OE-core] [PATCH] runqemu: avoid overridden user input for bootparams
Patrick Ohly
patrick.ohly at intel.com
Tue Feb 28 10:52:02 UTC 2017
On Tue, 2017-02-21 at 17:18 +0200, Dmitry Rozhkov wrote:
> Currently runqemu hardcodes the "ip=" kernel boot parameter
> when configuring QEMU to use tap or slirp networking. This makes
> the guest system to have a network interface pre-configured
> by kernel and causes systemd to fail renaming the interface
> to whatever pleases it:
>
> Feb 21 10:10:20 intel-corei7-64 systemd-udevd[201]: Error changing
> net interface name 'eth0' to 'enp0s3': Device or resource busy,
>
> Always append user input for kernel boot params after the ones
> added by the script. This way user input has priority over runqemu's
> default params.
Presumably the user's bootparams then would include "ip="?
Either way, the change looks good to me. I did something similar for the
qemu parameters in "runqemu: let command line parameters override
defaults".
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
More information about the Openembedded-core
mailing list