qemu-devel
[Top][All Lists]
Advanced

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

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


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

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.


Regards
Shakil
-----------

reply via email to

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