qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] How to prevent DomU(windows) to write to certain sector


From: Shakil k
Subject: Re: [Qemu-devel] How to prevent DomU(windows) to write to certain sector of hard drive
Date: Tue, 29 Oct 2013 12:58:50 -0700




On Tue, Oct 29, 2013 at 7:51 AM, Shakil k <address@hidden> 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

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