From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3OGG-0005t4-GF for qemu-devel@nongnu.org; Thu, 19 May 2016 09:45:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3OG9-0000Aj-PX for qemu-devel@nongnu.org; Thu, 19 May 2016 09:45:11 -0400 Received: from ssl.serverraum.org ([213.133.101.245]:52339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3OG9-000096-IY for qemu-devel@nongnu.org; Thu, 19 May 2016 09:45:05 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 19 May 2016 15:45:00 +0200 From: michael@walle.cc In-Reply-To: <67f81dc3-6cd0-fd15-177f-e0f0a8a5d3c1@redhat.com> References: <1463629417-31330-1-git-send-email-zxq_yx_007@163.com> <67f81dc3-6cd0-fd15-177f-e0f0a8a5d3c1@redhat.com> Message-ID: Subject: Re: [Qemu-devel] [PATCH v4 0/4] QOM'ify hw/char devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: xiaoqiang zhao , qemu-devel@nongnu.org, edgar.iglesias@gmail.com, agraf@suse.de, peter.maydell@linaro.org, Paolo Bonzini Am 2016-05-19 13:32, schrieb Paolo Bonzini: > Michael, can you test patches 3 and 4? Doesn't work for me: $ qemu-system-lm32 -kernel serial.bin -serial vc -serial vc Unexpected error in parse_chr() at /home/mwalle/repos/qemu/hw/core/qdev-properties-system.c:149: qemu-system-lm32: Property 'lm32-uart.chardev' can't take value 'serial0', it's in use serial0 seems already be claimed. Please note that even $ qemu-system-lm32 -kernel serial.bin and $ qemu-system-lm32 does not work. "-serial .. -serial --" should still work, shouldn't it? I've uploaded a small test binary to http://milkymist.walle.cc/tests/ which should prints 'A' and 'U' characters on the UARTs. -michael