All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Qemu-devel] [Qemu-discuss] -serial option broken in master?
       [not found] <5756DE9D.7050603@linaro.org>
@ 2016-06-07 21:24 ` Peter Maydell
  2016-06-07 22:44   ` xiaoqiang zhao
  2016-06-08  2:07   ` xiaoqiang zhao
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Maydell @ 2016-06-07 21:24 UTC (permalink / raw)
  To: Jérôme Forissier; +Cc: qemu-discuss, QEMU Developers, xiaoqiang zhao

On 7 June 2016 at 15:47, Jérôme Forissier <jerome.forissier@linaro.org> wrote:
> Hi,
>
> I just noticed this error [1] (QEMU master branch):
>
> ../qemu/arm-softmmu/qemu-system-arm -nographic -monitor none -machine
> virt -machine secure=on -cpu cortex-a15 -m 1057 -serial stdio -serial
> file:serial1.log -bios
> /home/travis/optee_repo/build/../out/bios-qemu/bios.bin
> Unexpected error in parse_chr() at hw/core/qdev-properties-system.c:149:
> qemu-system-arm: Property 'pl011.chardev' can't take value 'serial0',
> it's in use
>
> FYI, revert commits e5fabad7ccfd ("char: get rid of
> qemu_char_get_next_serial") and f0d1d2c115df ("hw/char: QOM'ify pl011
> model"), and the problem disappears.
>
> Should I use a different syntax?

No, it's a bug that we broke this somehow. Xiaoqiang, could you
have a look at this, please?

thanks
-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [Qemu-discuss] -serial option broken in master?
  2016-06-07 21:24 ` [Qemu-devel] [Qemu-discuss] -serial option broken in master? Peter Maydell
@ 2016-06-07 22:44   ` xiaoqiang zhao
  2016-06-08  2:07   ` xiaoqiang zhao
  1 sibling, 0 replies; 3+ messages in thread
From: xiaoqiang zhao @ 2016-06-07 22:44 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Jérôme Forissier, QEMU Developers, qemu-discuss



> 在 2016年6月8日,05:24,Peter Maydell <peter.maydell@linaro.org> 写道:
> 
>> On 7 June 2016 at 15:47, Jérôme Forissier <jerome.forissier@linaro.org> wrote:
>> Hi,
>> 
>> I just noticed this error [1] (QEMU master branch):
>> 
>> ../qemu/arm-softmmu/qemu-system-arm -nographic -monitor none -machine
>> virt -machine secure=on -cpu cortex-a15 -m 1057 -serial stdio -serial
>> file:serial1.log -bios
>> /home/travis/optee_repo/build/../out/bios-qemu/bios.bin
>> Unexpected error in parse_chr() at hw/core/qdev-properties-system.c:149:
>> qemu-system-arm: Property 'pl011.chardev' can't take value 'serial0',
>> it's in use
>> 
>> FYI, revert commits e5fabad7ccfd ("char: get rid of
>> qemu_char_get_next_serial") and f0d1d2c115df ("hw/char: QOM'ify pl011
>> model"), and the problem disappears.
>> 
>> Should I use a different syntax?
> 
> No, it's a bug that we broke this somehow. Xiaoqiang, could you
> have a look at this, please?
> 
> thanks
> -- PMM
> 
Okay!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [Qemu-discuss] -serial option broken in master?
  2016-06-07 21:24 ` [Qemu-devel] [Qemu-discuss] -serial option broken in master? Peter Maydell
  2016-06-07 22:44   ` xiaoqiang zhao
@ 2016-06-08  2:07   ` xiaoqiang zhao
  1 sibling, 0 replies; 3+ messages in thread
From: xiaoqiang zhao @ 2016-06-08  2:07 UTC (permalink / raw)
  To: Peter Maydell, Jérôme Forissier; +Cc: qemu-discuss, QEMU Developers



在 2016年06月08日 05:24, Peter Maydell 写道:
> On 7 June 2016 at 15:47, Jérôme Forissier <jerome.forissier@linaro.org> wrote:
>> Hi,
>>
>> I just noticed this error [1] (QEMU master branch):
>>
>> ../qemu/arm-softmmu/qemu-system-arm -nographic -monitor none -machine
>> virt -machine secure=on -cpu cortex-a15 -m 1057 -serial stdio -serial
>> file:serial1.log -bios
>> /home/travis/optee_repo/build/../out/bios-qemu/bios.bin
>> Unexpected error in parse_chr() at hw/core/qdev-properties-system.c:149:
>> qemu-system-arm: Property 'pl011.chardev' can't take value 'serial0',
>> it's in use
>>
>> FYI, revert commits e5fabad7ccfd ("char: get rid of
>> qemu_char_get_next_serial") and f0d1d2c115df ("hw/char: QOM'ify pl011
>> model"), and the problem disappears.
>>
>> Should I use a different syntax?
> No, it's a bug that we broke this somehow. Xiaoqiang, could you
> have a look at this, please?
>
> thanks
> -- PMM
Hi, peter:
  The bug was caught. It is because in vrit.c, create_uart is called 
twice, in which serial_hds array is hardcoded.
  I will send a patch to fix this later .

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-08  2:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5756DE9D.7050603@linaro.org>
2016-06-07 21:24 ` [Qemu-devel] [Qemu-discuss] -serial option broken in master? Peter Maydell
2016-06-07 22:44   ` xiaoqiang zhao
2016-06-08  2:07   ` xiaoqiang zhao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.