]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/classes/conf: refactor qemu.bbclass functions into library functions
authorChen Qi <Qi.Chen@windriver.com>
Tue, 29 Apr 2025 04:29:40 +0000 (12:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 May 2025 13:20:18 +0000 (14:20 +0100)
commit7b3563b3b3901c96c3e498799a83ab8cabcf84b4
treee86ae6252e51bbb881d3a7f084e4cdd8158800cd
parent21033e98045d03025f6e12dba16428fa484b3057
lib/classes/conf: refactor qemu.bbclass functions into library functions

Move the functions in qemu.bbclass to meta/lib/oe/qemu.py as they are
generally useful.

The qemu.bbclass is still kept, and recipes can continue to use functions
from it, though they have become wrapper functions on qemu.py functions.

Note that the QEMU_OPTIONS settings are still kept in qemu.bbclass.
This sets a clear barrier for people to use qemu user mode.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/qemu.bbclass
meta/lib/oe/__init__.py
meta/lib/oe/qemu.py [new file with mode: 0644]