From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0APe-0005Dk-2G for qemu-devel@nongnu.org; Tue, 20 Oct 2009 04:49:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0APY-0005B2-CN for qemu-devel@nongnu.org; Tue, 20 Oct 2009 04:49:49 -0400 Received: from [199.232.76.173] (port=53040 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0APY-0005Aw-6Q for qemu-devel@nongnu.org; Tue, 20 Oct 2009 04:49:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12605) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0APX-0001Wl-Kl for qemu-devel@nongnu.org; Tue, 20 Oct 2009 04:49:43 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9K8ngeH018007 for ; Tue, 20 Oct 2009 04:49:42 -0400 Message-ID: <4ADD79A3.1060701@redhat.com> Date: Tue, 20 Oct 2009 10:49:39 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v9 2/3] virtio-console: Add a virtio-serial bus, support for multiple ports References: <1256022825-16180-1-git-send-email-amit.shah@redhat.com> <1256022825-16180-2-git-send-email-amit.shah@redhat.com> <1256022825-16180-3-git-send-email-amit.shah@redhat.com> In-Reply-To: <1256022825-16180-3-git-send-email-amit.shah@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: qemu-devel@nongnu.org > +static VirtIOSerialPortInfo virtcon_info = { > + .qdev.name = "virtconsole", > + .qdev.size = sizeof(VirtConsole), > + .init = vcon_initfn, > + .have_data = flush_buf, > + .qdev.props = (Property[]) { > + DEFINE_PROP_CHR("chardev", VirtConsole, chr), > + DEFINE_PROP_STRING("name", VirtIOSerialPort, name), DEFINE_PROP_STRING("name", VirtConsole, port.name) cheers, Gerd