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

Re: [Xen-devel] qemu write cacheing and DMA IDE writes



Daniel P. Berrange writes ("Re: [Xen-devel] qemu write cacheing and DMA IDE 
writes"):
> AFAICT, the DMA write is done by ide_write_dma_cb() in hw/ide.c. At the
> point the DMA transfer completes that method does
> 
>        if (!s->write_cache)
>             bdrv_flush(s->bs);
> 
> Which should flush the data to disk, if the guest has done hdparm -W 0
> on their device.

Oh, yes, sorry, I missed that.  I'll add an error check for it to my
merge, though.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.