From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MK7cA-0004ap-Oq for qemu-devel@nongnu.org; Fri, 26 Jun 2009 05:20:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MK7c6-0004Y5-7Z for qemu-devel@nongnu.org; Fri, 26 Jun 2009 05:20:58 -0400 Received: from [199.232.76.173] (port=44919 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MK7c5-0004Y0-Sd for qemu-devel@nongnu.org; Fri, 26 Jun 2009 05:20:53 -0400 Received: from mx2.redhat.com ([66.187.237.31]:51891) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MK7c5-00033M-DA for qemu-devel@nongnu.org; Fri, 26 Jun 2009 05:20:53 -0400 Message-ID: <4A4492FD.4040704@redhat.com> Date: Fri, 26 Jun 2009 12:21:01 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH 08/11] QMP: Port balloon command References: <20090623012933.5b217767@doriath> <4A40A386.7020102@redhat.com> <4A40DFCE.5050008@codemonkey.ws> <20090623135958.660903e1@doriath> <4A412135.2060804@us.ibm.com> <4A435F09.7050702@redhat.com> <20090625161143.01b56eea@doriath> In-Reply-To: <20090625161143.01b56eea@doriath> 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: Luiz Capitulino Cc: Anthony Liguori , ehabkost@redhat.com, jan.kiszka@siemens.com, dlaor@redhat.com, qemu-devel@nongnu.org On 06/25/2009 10:11 PM, Luiz Capitulino wrote: > > Yes, having a library was suggested by Amit some months ago. The > problem is that it has various issues wrt maintainability. > > For example, libvirt is able to run two instances of different > versions of qemu at the same time. How to handle this if you > update libmonitor.so? > You could use dlopen(). The problem with a library is that it assumes everyone is still trapped in C, which is not the case. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.