Marcelo Tosatti wrote:
> QEMU/KVM: ftruncate() is not supported by hugetlbfs on older hosts
>
> Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
--
On Fri, Mar 28, 2008 at 09:41:06AM +0300, Avi Kivity wrote:
> >mmap() should fail if anything goes wrong with ftruncate and the file
> >length is not extented on tmpfs.
> >
> >--- vl.c.orig 2008-03-27 18:51:31.0 -0300
> >+++ vl.c2008-03-27 18:52:40.0 -0300
> >@@ -8749,11 +
On Thu, Mar 27, 2008 at 06:09:56PM +0200, Avi Kivity wrote:
> Anthony Liguori wrote:
> >
> > If you don't bail when ftruncate fails, does it work as expected for
> > you? Perhaps older versions of hugetlbfs didn't support truncate.
>
> If you don't truncate, how can you change the file size? h
On Thu, Mar 27, 2008 at 06:09:56PM +0200, Avi Kivity wrote:
> Anthony Liguori wrote:
> >
> > If you don't bail when ftruncate fails, does it work as expected for
> > you? Perhaps older versions of hugetlbfs didn't support truncate.
>
> If you don't truncate, how can you change the file size? h
Anthony Liguori wrote:
>
> If you don't bail when ftruncate fails, does it work as expected for
> you? Perhaps older versions of hugetlbfs didn't support truncate.
If you don't truncate, how can you change the file size? hugetlbfs
doesn't support write().
I vaugely recall using ftruncate() o
Alexander Graf wrote:
> On Mar 27, 2008, at 4:19 PM, Avi Kivity wrote:
>
>
>> Alexander Graf wrote:
>>
>>> Hi,
>>>
>>> I'm currently trying to get hugetlbfs working on the current git
>>> version and am quite puzzled to see it not working. It appears as
>>> if the ftruncate call fails
On Mar 27, 2008, at 4:19 PM, Avi Kivity wrote:
> Alexander Graf wrote:
>> Hi,
>>
>> I'm currently trying to get hugetlbfs working on the current git
>> version and am quite puzzled to see it not working. It appears as
>> if the ftruncate call fails:
>>
>> open("/dev/hugetlbfs//kvm.vI3G8z",
Alexander Graf wrote:
> Hi,
>
> I'm currently trying to get hugetlbfs working on the current git
> version and am quite puzzled to see it not working. It appears as if
> the ftruncate call fails:
>
> open("/dev/hugetlbfs//kvm.vI3G8z", O_RDWR|O_CREAT|O_EXCL, 0600) = 7
> unlink("/dev/hugetlbfs//k