From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Date: Mon, 26 Aug 2013 08:28:50 +0000 Subject: Re: [PATCH 2/2] ppc: kvm: use anon_inode_getfd() with O_CLOEXEC flag Message-Id: <521B11C2.3040801@redhat.com> List-Id: References: <3557EF65-4327-4DAE-999A-B0EE13C433F5@suse.de> <521B0622.9090208@redhat.com> <156342996ba92cb5f49519b0c2e9d6ac@meuh.org> In-Reply-To: <156342996ba92cb5f49519b0c2e9d6ac@meuh.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Yann Droneaud Cc: Alexander Graf , Gleb Natapov , Benjamin Herrenschmidt , Paul Mackerras , Alex Williamson , kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Paolo Bonzini Il 26/08/2013 10:23, Yann Droneaud ha scritto: > > Sounds a lot like InfiniBand subsystem behavor: IB file descriptors > are of no use accross exec() since memory mappings tied to those fds > won't be available in the new process: > > https://lkml.org/lkml/2013/7/8/380 > http://mid.gmane.org/f58540dc64fec1ac0e496dfcd3cc1af7@meuh.org Yes, it is very similar. Paolo From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by ozlabs.org (Postfix) with ESMTP id EF2312C0040 for ; Mon, 26 Aug 2013 18:29:03 +1000 (EST) Message-ID: <521B11C2.3040801@redhat.com> Date: Mon, 26 Aug 2013 10:28:50 +0200 From: Paolo Bonzini MIME-Version: 1.0 To: Yann Droneaud Subject: Re: [PATCH 2/2] ppc: kvm: use anon_inode_getfd() with O_CLOEXEC flag References: <3557EF65-4327-4DAE-999A-B0EE13C433F5@suse.de> <521B0622.9090208@redhat.com> <156342996ba92cb5f49519b0c2e9d6ac@meuh.org> In-Reply-To: <156342996ba92cb5f49519b0c2e9d6ac@meuh.org> Content-Type: text/plain; charset=UTF-8 Cc: kvm@vger.kernel.org, Gleb Natapov , Paolo Bonzini , Alexander Graf , kvm-ppc@vger.kernel.org, linux-kernel@vger.kernel.org, Alex Williamson , Paul Mackerras , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Il 26/08/2013 10:23, Yann Droneaud ha scritto: > > Sounds a lot like InfiniBand subsystem behavor: IB file descriptors > are of no use accross exec() since memory mappings tied to those fds > won't be available in the new process: > > https://lkml.org/lkml/2013/7/8/380 > http://mid.gmane.org/f58540dc64fec1ac0e496dfcd3cc1af7@meuh.org Yes, it is very similar. Paolo From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 2/2] ppc: kvm: use anon_inode_getfd() with O_CLOEXEC flag Date: Mon, 26 Aug 2013 10:28:50 +0200 Message-ID: <521B11C2.3040801@redhat.com> References: <3557EF65-4327-4DAE-999A-B0EE13C433F5@suse.de> <521B0622.9090208@redhat.com> <156342996ba92cb5f49519b0c2e9d6ac@meuh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Alexander Graf , Gleb Natapov , Benjamin Herrenschmidt , Paul Mackerras , Alex Williamson , kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Paolo Bonzini To: Yann Droneaud Return-path: In-Reply-To: <156342996ba92cb5f49519b0c2e9d6ac@meuh.org> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Il 26/08/2013 10:23, Yann Droneaud ha scritto: > > Sounds a lot like InfiniBand subsystem behavor: IB file descriptors > are of no use accross exec() since memory mappings tied to those fds > won't be available in the new process: > > https://lkml.org/lkml/2013/7/8/380 > http://mid.gmane.org/f58540dc64fec1ac0e496dfcd3cc1af7@meuh.org Yes, it is very similar. Paolo