From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYrtj-0002cY-Kd for qemu-devel@nongnu.org; Fri, 29 Jun 2018 07:49:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYrtg-0005JH-E3 for qemu-devel@nongnu.org; Fri, 29 Jun 2018 07:49:07 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:60016 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fYrtg-0005IS-8d for qemu-devel@nongnu.org; Fri, 29 Jun 2018 07:49:04 -0400 Date: Fri, 29 Jun 2018 12:48:56 +0100 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= Message-ID: <20180629114856.GP27016@redhat.com> Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= References: <20180625111935.26108-1-alex.bennee@linaro.org> <20180625111935.26108-10-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180625111935.26108-10-alex.bennee@linaro.org> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v1 09/10] linux-user: introduce preexit_cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex =?utf-8?Q?Benn=C3=A9e?= Cc: cota@braap.org, famz@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, qemu-devel@nongnu.org, Riku Voipio , Laurent Vivier On Mon, Jun 25, 2018 at 12:19:34PM +0100, Alex Benn=C3=A9e wrote: > To avoid repeating ourselves move our preexit clean-up code into a > helper function. I figured the continuing effort to split of the > syscalls made it worthwhile creating a new file for it now. >=20 > Signed-off-by: Alex Benn=C3=A9e > --- > linux-user/Makefile.objs | 2 +- > linux-user/exit.c | 28 ++++++++++++++++++++++++++++ > linux-user/qemu.h | 8 ++++++++ > linux-user/syscall.c | 10 ++-------- > 4 files changed, 39 insertions(+), 9 deletions(-) > create mode 100644 linux-user/exit.c Reviewed-by: Daniel P. Berrang=C3=A9 Regards, Daniel --=20 |: https://berrange.com -o- https://www.flickr.com/photos/dberran= ge :| |: https://libvirt.org -o- https://fstop138.berrange.c= om :| |: https://entangle-photo.org -o- https://www.instagram.com/dberran= ge :|