From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yctis-0000uw-IJ for qemu-devel@nongnu.org; Tue, 31 Mar 2015 06:48:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yctim-0004CX-RU for qemu-devel@nongnu.org; Tue, 31 Mar 2015 06:48:42 -0400 Received: from cantor2.suse.de ([195.135.220.15]:56151 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yctim-0004CL-L7 for qemu-devel@nongnu.org; Tue, 31 Mar 2015 06:48:36 -0400 Message-ID: <551A7B80.8090407@suse.de> Date: Tue, 31 Mar 2015 12:48:32 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1427704589-7688-1-git-send-email-lma@suse.com> <1427704589-7688-2-git-send-email-lma@suse.com> In-Reply-To: <1427704589-7688-2-git-send-email-lma@suse.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v6 1/2] qom: Add can_be_deleted callback to UserCreatableClass List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lin Ma , imammedo@redhat.com, peter.crosthwaite@xilinx.com, pbonzini@redhat.com Cc: qemu-devel@nongnu.org Am 30.03.2015 um 10:36 schrieb Lin Ma: > If backends implement the can_be_deleted and it returns false, > Then the qmp_object_del won't delete the given backends. >=20 > Signed-off-by: Lin Ma > --- > include/qom/object_interfaces.h | 13 +++++++++++++ > qmp.c | 5 +++++ > qom/object_interfaces.c | 12 ++++++++++++ > 3 files changed, 30 insertions(+) Fine with me, Reviewed-by: Andreas F=E4rber I'm expecting this will go through Paolo's or QMP tree. Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Felix Imend=F6rffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N=FCrnberg)