Received: from eggs.gnu.org ([140.186.70.92]:45828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYCkd-0008Ou-5T for qemu-devel@nongnu.org; Wed, 07 Dec 2011 03:21:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYCkb-0001ZU-Tz for qemu-devel@nongnu.org; Wed, 07 Dec 2011 03:21:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYCkb-0001ZM-NR for qemu-devel@nongnu.org; Wed, 07 Dec 2011 03:21:13 -0500 From: Markus Armbruster References: <20111205222208.31271.65662.stgit@ginnungagap.bsc.es> <20111205222312.31271.66303.stgit@ginnungagap.bsc.es> <4EDE7343.3010305@codemonkey.ws> <87ty5d1gfw.fsf@ginnungagap.bsc.es> <4EDE98BA.9070902@codemonkey.ws> Date: Wed, 07 Dec 2011 09:21:01 +0100 In-Reply-To: <4EDE98BA.9070902@codemonkey.ws> (Anthony Liguori's message of "Tue, 06 Dec 2011 16:35:38 -0600") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Insane virtio-serial semantics (was: [PATCH v2 4/5] backdoor: [softmmu] Add QEMU-side proxy to "libbackdoor.a") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Zhi Yong Wu , qemu-devel@nongnu.org, Blue Swirl , amit.shah@redhat.com, Cam Macdonell , =?utf-8?Q?Llu=C3=ADs?= Vilanova Anthony Liguori writes: > On 12/06/2011 04:30 PM, Llu=C3=ADs Vilanova wrote: >> Anthony Liguori writes: >> >>> I really worry about us introducing so many of these one-off paravirtua= l devices. >>> I would much prefer that you look at doing this as an extension to the = ivshmem >>> device as it already has this sort of scope. You should be able to do = this by >>> just extending the size of bar 1 and using a well known guest id. >> >> I did in fact look at ivshmem some time ago, and it's true that both use= the >> same mechanisms; but each device has a completely different purpose. To = me it >> just seems that extending the control BAR in ivshmem to call the user-pr= ovided >> backdoor callbacks is just conflating two completely separate devices in= to a >> single one. Besides, I think that the qemu-side of the backdoor is simpl= e enough >> to avoid being a maintenance burden. > > They have the same purpose (which are both vague TBH). The only > reason I'm sympathetic to this device is that virtio-serial has such > insane semantics. Could you summarize what's wrong? Is it fixable? [...]