From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46540 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCx1S-0002rO-I8 for qemu-devel@nongnu.org; Mon, 01 Nov 2010 12:14:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCx1M-00076s-Li for qemu-devel@nongnu.org; Mon, 01 Nov 2010 12:14:13 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:32887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCx1M-00076k-Hk for qemu-devel@nongnu.org; Mon, 01 Nov 2010 12:14:08 -0400 Received: by gwj16 with SMTP id 16so3620699gwj.4 for ; Mon, 01 Nov 2010 09:14:07 -0700 (PDT) Message-ID: <4CCEE74C.6090209@codemonkey.ws> Date: Mon, 01 Nov 2010 11:14:04 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 28/40] xenner: libxc emu: evtchn References: <1288623713-28062-1-git-send-email-agraf@suse.de> <1288623713-28062-29-git-send-email-agraf@suse.de> <4CCEE08F.4030403@codemonkey.ws> <4CCEE463.3090406@codemonkey.ws> <8430EFFE-FE89-4B79-8FB5-4678E1F02C3F@suse.de> In-Reply-To: <8430EFFE-FE89-4B79-8FB5-4678E1F02C3F@suse.de> 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: Alexander Graf Cc: qemu-devel Developers , Gerd Hoffmann On 11/01/2010 11:07 AM, Alexander Graf wrote: > On 01.11.2010, at 12:01, Anthony Liguori wrote: > > >> On 11/01/2010 10:49 AM, Alexander Graf wrote: >> >>> On 01.11.2010, at 11:45, Anthony Liguori wrote: >>> >>> >>> >>>> On 11/01/2010 10:01 AM, Alexander Graf wrote: >>>> >>>> >>>>> Xenner emulates parts of libxc, so we can not use the real xen infrastructure >>>>> when running xen pv guests without xen. >>>>> >>>>> This patch adds support for event channel communication. >>>>> >>>>> Signed-off-by: Alexander Graf >>>>> >>>>> >>>>> >>>> Has anyone checked with the Xen folks about supporting this type of functionality in libxc directly? >>>> >>>> >>> The issue I have with libxc is that it goes orthogonal to the qemu infrastructure way of doing things. If we base on libxc, we will never be able to do cross-architecture execution of xen pv guests. Do we really want to go that way? >>> >>> >> IIUC, this is a mini-libxc that you enable by mucking with LD_LIBRARY_PATH such that you can run things like xenstored unmodified. What I'm really asking is whether there has been a discussion about a more pleasant way to do this that the Xen guys would feel comfortable with. >> >> I'd feel a little weird if someone was replacing a part of QEMU via LD_LIBRARY_PATH trickery. It's better to try to work out a proper solution with the upstream community than to do trickery. >> >> I'm not entirely opposed to this if the Xen guys say they don't want anything to do with Xenner, but we should have the discussion at least. >> > I agree about the discussion part, that's why we're all gathering in Boston this week, right? > Fair enough :-) > But technically, this code really just bumps all libxc calls to indirect function calls that go through a struct. If we're using xenner, we use our own implementation, if we're using xen, we use xen's. The thing is that with xenner we usually don't have xen infrastructure available and most likely don't want to start any either. > Yeah, I guess I'd just like to see a more "polite" solution. Regards, Anthony Liguori > Alex > >