Comment 3 for bug 789831

Revision history for this message
Michal Suchanek (hramrach) wrote : Re: [Qemu-devel] [Bug 789831] [NEW] kvm locks up when out of disk space

On 29 May 2011 13:33, Stefan Hajnoczi <email address hidden> wrote:
> On Sun, May 29, 2011 at 11:48 AM, Michal Suchanek <email address hidden> wrote:
>> Public bug reported:
>>
>> Running a VM using raw sparse disk image on kvm 0.14 on Debian.
>>
>> When disk writes use up all disk space kvm locks up.
>>
>> if it cannot handle this situation gracefully (eg suspend the VM until
>> space becomes available) it should at the very least report an error and
>> exit, not keep sitting there.
>
> Actually it should pause the VM - are you sure that KVM is "locking
> up"?  If you run with SDL the window title says "[Stopped]" and you

Unfortunately, the window title is not visible at all times so even if
it says [Stopped] it is not useful indication of the VM state.

> can resume the VM with the "c" (continue) QEMU monitor command once
> you've rectified the storage shortage.
>
> Are you using libvirt (virsh/virt-manager)?

No.

>
> What makes you think that KVM is locked up?

Nothing apparent happens. eg. the VM mouse cursor does not move, no
messages printed in the terminal from which kvm was started.

>
> How much CPU is the qemu-kvm process consuming?

Did not check.

Thanks

Michal