[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emulate custom machine on qemu-4.2.0
From: |
Peter Maydell |
Subject: |
Re: Emulate custom machine on qemu-4.2.0 |
Date: |
Tue, 14 Sep 2021 10:22:59 +0100 |
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
- Emulate custom machine on qemu-4.2.0, abhijeet inamdar, 2021/09/14
- Re: Emulate custom machine on qemu-4.2.0,
Peter Maydell <=
- Re: Emulate custom machine on qemu-4.2.0, abhijeet inamdar, 2021/09/14
- Re: Emulate custom machine on qemu-4.2.0, Peter Maydell, 2021/09/14
- Re: Emulate custom machine on qemu-4.2.0, abhijeet inamdar, 2021/09/14
- Re: Emulate custom machine on qemu-4.2.0, Peter Maydell, 2021/09/14
- Re: Emulate custom machine on qemu-4.2.0, abhijeet inamdar, 2021/09/14
- Re: Emulate custom machine on qemu-4.2.0, Peter Maydell, 2021/09/14
- Re: Emulate custom machine on qemu-4.2.0, abhijeet inamdar, 2021/09/15
- Re: Emulate custom machine on qemu-4.2.0, Peter Maydell, 2021/09/15
- Re: Emulate custom machine on qemu-4.2.0, abhijeet inamdar, 2021/09/15
- Re: Emulate custom machine on qemu-4.2.0, Peter Maydell, 2021/09/15