[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Stop VM on ENOSPC error
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] Stop VM on ENOSPC error |
Date: |
Wed, 14 Jan 2009 15:28:58 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (X11/20080922) |
Gleb Natapov schrieb:
> On Wed, Jan 14, 2009 at 02:20:20PM +0200, Dor Laor wrote:
>> Daniel P. Berrange wrote:
>>> On Wed, Jan 14, 2009 at 02:03:58PM +0200, Gleb Natapov wrote:
>>>
>>>> And repeat last IDE command after VM restart.
>>>>
>>> How is a management application to determine when this occurs ?
>>> It is not desirable to poll for whether the VM is stopped all
>>> the time, and we need a reliable way to detect this, otherwise
>>> the user and/or mgmt app will just think their VM has hung.
>>>
>>> Thus I'd suggest we need an async notification of this event,
>>> and only enable this behaviour if the app controlling QEMU has
>>> explicitly enabled this notification / feature.
>>>
>>>
>> Correct. There is async message for it (==printf...).
>> Once the libmonitor is introduced it will be real async event
> There is not printf in this version of the patch, but I can add it if
> needed.
I think you should add it. Not only because of management applications
but also for the user. I for one would be at least a bit confused if my
VM stopped automatically without saying anything about the reason.
Kevin
Re: [Qemu-devel] [PATCH] Stop VM on ENOSPC error, Jamie Lokier, 2009/01/14