On Tue, Oct 29, 2013 at 7:51 AM, Shakil k <[email protected]> wrote:

> I am trying to prevent write from DomU for particular sector of hardisk
> which is passed through QEMU device.
>
> I am putting an error condition in ide.c  using API
> ide_handle_write_error(s, -ret,  BM_STATUS_ERROR) called from
> ide_write_dma_cb, however DomU is still going ahead and writing to those
> sectors.
> Is there a way to prevent DomU from writing to certain sector of hard disk
> as well as propagate those error back to DomU saying, "Write error" or some
> message so that user is notified of error writing to certain sectors of
> disk.
>
> I am not sure if my question is lost in heavy traffic, but can anyone
respond as to how to prevent and propagate the error message from QEMU to
DomU(Windows), I can block the write to certain sectors of hard drive, but
not able to send the error message back to Windows. I want DomU users also
to be notified in case of write errors to certain sectors.

>
> Regards
> Shakil
> -----------
>

Reply via email to