[libvirt] support for qemu werror and rerror

Sometimes ago qemu anounced support for action for disk: werror=action,rerror=action Specify which action to take on write and read errors. Valid actions are: "ignore" (ignore the error and try to continue), "stop" (pause QEMU), "report" (report the error to the guest), "enospc" (pause QEMU only if the host disk is full; report the error to the guest otherwise). The default setting iswerror=enospc and rerror=report. Does somebody can write this support to libvirt ? Or how can i enable werror and rerror ? -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru

On 09/29/2016 08:35 AM, Vasiliy Tolstov wrote:
Sometimes ago qemu anounced support for action for disk:
werror=action,rerror=action
Specify which action to take on write and read errors. Valid actions are: "ignore" (ignore the error and try to continue), "stop" (pause QEMU), "report" (report the error to the guest), "enospc" (pause QEMU only if the host disk is full; report the error to the guest otherwise). The default setting iswerror=enospc and rerror=report.
Does somebody can write this support to libvirt ? Or how can i enable werror and rerror ?
Support is already there (since libvirt-0.9.7), handled by the error_policy, and rerror_policy attributes of the <driver> subelement of a disk. search for "rerror_policy" in http://www.libvirt.org/formatdomain.html for details.

2016-09-29 16:38 GMT+03:00 Laine Stump <laine@laine.org>:
Support is already there (since libvirt-0.9.7), handled by the error_policy, and rerror_policy attributes of the <driver> subelement of a disk. search for "rerror_policy" in http://www.libvirt.org/formatdomain.html for details.
Sorry i miss it. Thanks! -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru
participants (2)
-
Laine Stump
-
Vasiliy Tolstov