qemu-discuss
[Top][All Lists]
Advanced

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

Re: Emulate custom machine on qemu-4.2.0


From: abhijeet inamdar
Subject: Re: Emulate custom machine on qemu-4.2.0
Date: Tue, 14 Sep 2021 11:58:12 +0200

Hi,

Is there anything in qemu to check for a machine which all devices are added or working? Can we do that!?

Thank you,
Abhijeet.

On Tue, Sep 14, 2021, 11:23 Peter Maydell <peter.maydell@linaro.org> wrote:
On Tue, 14 Sept 2021 at 09:52, abhijeet inamdar
<abhijeetinamdar3005@gmail.com> wrote:
> I was trying to emulate a machine in qemu-4.2.0 but was getting an error message:
>
> Unexpected error in qemu_chr_fe_init() at /home/qemu-4.2.0/chardev/char-fe.c:220:
> qemu-system-arm: Device 'serial0' is in use
>
> I tried to apply this patch
> https://patchwork.kernel.org/project/qemu-devel/patch/20200306171458.1848-25-kwolf@redhat.com/
>
> But still the error persists. Any suggestions?

That patch is only improving the error handling, so that instead of
crashing QEMU reports the problem more cleanly. You need to fix
the underlying problem, which is that more than one device
is trying to use the same "serial0" chardev. Any given chardev
can only be used by one thing at once.

-- PMM

reply via email to

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