From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Thomas Perrot <thomas.perrot@bootlin.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH] qemu.inc: add virtio input in required dependencies
Date: Wed, 26 Oct 2022 13:05:03 +0100 [thread overview]
Message-ID: <86df6c0c11e5881c968b1cfc6c4cfa04f1ca3835.camel@linuxfoundation.org> (raw)
In-Reply-To: <de91c8a8a867021ba226c9da0ea4e59bffdbf176.camel@bootlin.com>
On Wed, 2022-10-26 at 14:01 +0200, Thomas Perrot wrote:
> Hello Richard,
>
> On Wed, 2022-10-26 at 12:14 +0100, Richard Purdie wrote:
> > On Tue, 2022-10-18 at 11:32 +0200, Thomas Perrot via
> > lists.openembedded.org wrote:
> > > From: Thomas Perrot <thomas.perrot@bootlin.com>
> > >
> > > Otherwise, it isn't possible to interact with the UI of images
> > > that provide graphic support.
> > >
> > > This issue only occurs when NO_RECOMMENDATIONS = "1" for Qemu
> > > targets which are kernel-modules in MACHINE_EXTRA_RRECOMMENDS.
> > >
> > > Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
> > > ---
> > > meta/conf/machine/include/qemu.inc | 2 ++
> > > 1 file changed, 2 insertions(+)
> > >
> > > diff --git a/meta/conf/machine/include/qemu.inc
> > > b/meta/conf/machine/include/qemu.inc
> > > index 0d71bcbbad0d..dabe7ed8f386 100644
> > > --- a/meta/conf/machine/include/qemu.inc
> > > +++ b/meta/conf/machine/include/qemu.inc
> > > @@ -10,6 +10,8 @@ XSERVER ?= "xserver-xorg \
> > > xf86-video-fbdev \
> > > "
> > >
> > > +MACHINE_EXTRA_RDEPENDS += "kernel-module-virtio-input"
> > > +
> > > MACHINE_FEATURES = "alsa bluetooth usbgadget screen vfat"
> > >
> > > MACHINEOVERRIDES =. "qemuall:"
> >
> > This will fail if the kernel has the module built in - kernel modules
> > are always recommends for that reason. We'll have to find a different
> > solution I'm afraid.
>
> When this kernel module is built in, so the Qemu boot process stalled:
> "please wait: booting..."
> For this reason, is the proposed solution acceptable?
Not really.
Is there some special reason building that module in could cause a
hang? That sounds rather like a kernel bug :(.
It would be near impossible to explain to users why some kernel modules
are reccommends and some are not which is why I don't really want to
start listing modules as RDEPENDS.
Cheers,
Richard
prev parent reply other threads:[~2022-10-26 12:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-18 9:32 [OE-core][PATCH] qemu.inc: add virtio input in required dependencies thomas.perrot
2022-10-26 11:14 ` Richard Purdie
2022-10-26 12:01 ` Thomas Perrot
2022-10-26 12:05 ` Richard Purdie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86df6c0c11e5881c968b1cfc6c4cfa04f1ca3835.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=thomas.perrot@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox