> > Besides, most
> > filesystems reserve some space for the superuser, now unless there's a
> > cross-platform way to figure out just how much space that is, you'd still
> > be getting errors despite having 5~10% of the filesystem technically
> > free.
>
> Qemu might freeze the guest when it gets -ENOSPC, and say, retry every
> second or wait for user input on the monitor.

Better would IMHO be to report an IO error to the guest and allow that to 
decide what to do. If you're bothered about robustness and reliability then 
arbitrarily stopping the guest is not acceptable behaviour. There's no 
guarantee that space will become available in a finite timeframe.

Paul


Reply via email to