qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4] Stop VM on ENOSPC error.


From: Ian Jackson
Subject: Re: [Qemu-devel] [PATCH v4] Stop VM on ENOSPC error.
Date: Tue, 20 Jan 2009 14:01:21 +0000

Gleb Natapov writes ("[Qemu-devel] [PATCH v4] Stop VM on ENOSPC error."):
> This version of the patch adds new option "werror" to -drive flag.
> Possible values are:
> 
> report    - report errors to a guest as IO errors
> ignore    - continue as if nothing happened
> stop      - stop VM on any error and retry last command on resume
> enospc    - stop vm on ENOSPC error and retry last command on resume
>             all other errors are reported to a guest.

Great, thanks.

Are we sure that the ide layer is the right place to do this ?
Perhaps it would be better to do it in block.c.  That way it would
seamlessly affect scsi too and other kinds of weird block devices
on other platforms.

That way the ide code can remain oblivious.

What do you think ?

Ian.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]