From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBSEw-0006ri-2j for qemu-devel@nongnu.org; Sat, 24 Mar 2012 10:46:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBSEu-0005Vo-Cq for qemu-devel@nongnu.org; Sat, 24 Mar 2012 10:46:45 -0400 Received: from verein.lst.de ([213.95.11.211]:52305 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBSEu-0005Va-6l for qemu-devel@nongnu.org; Sat, 24 Mar 2012 10:46:44 -0400 Date: Sat, 24 Mar 2012 15:46:41 +0100 From: Christoph Hellwig Message-ID: <20120324144641.GA12589@lst.de> References: <20120309141653.GH4883@orkuz.home> <4F5A1DBB.3030606@laine.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] QEMU fstatfs(2) and libvirt SELinux policy List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: libvir-list@redhat.com, qemu-devel , Khoa Huynh , George Wilson , Paolo Bonzini , Laine Stump On Fri, Mar 09, 2012 at 04:07:43PM +0000, Stefan Hajnoczi wrote: > Paolo, your discard improvements in QEMU add FALLOC_FL_PUNCH_HOLE > support. XFS supports this fallocate() flag in current kernels, > thereby making the XFS-specific support obsolete. > > I'm wondering whether it's worth expanding the SELinux policy if we > will have no fstatfs(2) callers in QEMU. Are you planning to drop the > XFS code? FALLOC_FL_PUNCH_HOLE is a very recent feature, while the ioctl has been around for more than 10 years. Using FALLOC_FL_PUNCH_HOLE by default is fine, so systems that have selinux and support it will still work.