[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] QEMU fstatfs(2) and libvirt SELinux policy
From: |
Christoph Hellwig |
Subject: |
Re: [Qemu-devel] QEMU fstatfs(2) and libvirt SELinux policy |
Date: |
Sat, 24 Mar 2012 15:47:42 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Fri, Mar 09, 2012 at 06:16:54PM +0100, Paolo Bonzini wrote:
> > 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?
>
> Chris Wedgwood said that on XFS you want to do discard even if the file
> is preallocated, while this is not true on other filesystems. So I
> guess the detection code should stay.
In generaly you do not want to discard on a preallocated file, especially
not the low-granularity discard you'd get for example from a Win7 box.
Re: [Qemu-devel] QEMU fstatfs(2) and libvirt SELinux policy, George Wilson, 2012/03/09
Re: [Qemu-devel] QEMU fstatfs(2) and libvirt SELinux policy, Daniel P. Berrange, 2012/03/09