Message ID | 3967fae7-0d95-6927-0a6a-b5ec90858ab4@web.de |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=web.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=web.de header.i=@web.de header.b="gxnFhTJZ"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4612Nm57dDz9sND for <incoming@patchwork.ozlabs.org>; Sat, 3 Aug 2019 21:48:38 +1000 (AEST) Received: from localhost ([::1]:39472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1htsWZ-0005Yu-A8 for incoming@patchwork.ozlabs.org; Sat, 03 Aug 2019 07:48:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49722) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from <jan.kiszka@web.de>) id 1htsW5-0005Yc-T8 for qemu-devel@nongnu.org; Sat, 03 Aug 2019 07:48:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jan.kiszka@web.de>) id 1htsW5-00041S-0i for qemu-devel@nongnu.org; Sat, 03 Aug 2019 07:48:05 -0400 Received: from mout.web.de ([212.227.15.3]:59237) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <jan.kiszka@web.de>) id 1htsW4-0003z9-KX for qemu-devel@nongnu.org; Sat, 03 Aug 2019 07:48:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1564832877; bh=JHX7J9UKoSuakFaucfbR6MAoUY6vwY81hVZ4V54HHBs=; h=X-UI-Sender-Class:To:From:Subject:Date; b=gxnFhTJZdmn5IEbzspfSO08xDlXBUOqTXw7/eVbuErxVkz1T2CK5+63b4PpDV+a3P MIUd9nSTKHJveD4QcQy7apPuotV7z5Jn39iep9ODUJjXZ/j2waWPuACpXCzgEGMDjB vDK9TASxn4I2Npm3czz3Q+zlV8ZZ5m33ERDuoAJo= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.10] ([95.157.55.156]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MgIMg-1hg2ax3TjK-00NiKi for <qemu-devel@nongnu.org>; Sat, 03 Aug 2019 13:47:57 +0200 To: qemu-devel <qemu-devel@nongnu.org> From: Jan Kiszka <jan.kiszka@web.de> Message-ID: <3967fae7-0d95-6927-0a6a-b5ec90858ab4@web.de> Date: Sat, 3 Aug 2019 13:47:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:UrqO7U+4l39XUrwMNFoHoizHQzsDecC/pElEASbdQeVYJa2JLc2 vfZCg51XkuyWbLCG2G6m0KOYwSkA+a2j7W3AAGGho84mTYP8Z3EhOHlRDrzD3QUvpyq/Kje IhT3lMnAKW/hIKoNOtxrS35YwMATX6d6SwOKigVXHnTmLqE8uVCjM5DVZWZt0PeUaPXUFRP V3wb1WEQvSB5+deeIWt9w== X-UI-Out-Filterresults: notjunk:1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B77DOEJ1vqF81An+Ofwn6EU0jtN7+K6UlNo+O/QHa1KfY7W+eun++qam5u9r 6xOZzKbNxDyqnTod3M+VrPNM67pQtbPEMPCStY/jDEwBIkKNG0mcOq96DPzfRABqow3Gg30j5 3vzKk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.3 Subject: [Qemu-devel] [PATCH] ivshmem-server: Clean up shmem on shutdown X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
ivshmem-server: Clean up shmem on shutdown
|
expand
|
diff --git a/contrib/ivshmem-server/ivshmem-server.c b/contrib/ivshmem-server/ivshmem-server.c index 77f97b209c..9b9dbc87ec 100644 --- a/contrib/ivshmem-server/ivshmem-server.c +++ b/contrib/ivshmem-server/ivshmem-server.c @@ -370,6 +370,7 @@ ivshmem_server_close(IvshmemServer *server) } unlink(server->unix_sock_path); + shm_unlink(server->shm_path); close(server->sock_fd); close(server->shm_fd); server->sock_fd = -1;