WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] HVM domain with write caching going on somewhere to disk

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] HVM domain with write caching going on somewhere to disk
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 8 Nov 2007 21:51:10 +1100
Delivery-date: Thu, 08 Nov 2007 02:51:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C3589940.1818A%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D01249E61@trantor> <C3589940.1818A%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acgh89hmOjf1UcT/R7S91fG2xpfbEgAAJyu6AAAMH9A=
Thread-topic: [Xen-devel] HVM domain with write caching going on somewhere to disk
> On 8/11/07 10:40, "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
wrote:
> 
> > I've noticed before that any changes made in a Windows HVM domain
> > shortly before an 'xm shutdown' don't ever get written out...
> >
> > Anyway, is there a way to make sure that the qemu stuff doesn't do
any
> > write caching at all?
> 
> I don't think qemu caches writes internally, and also I believe that
> outstanding I/O requests are serviced before a domain is shut down

Are they serviced before a domain is destroyed (eg 'xm destroy')? Maybe
that's what I was using when I noticed it...

> Could
> there be a problem with data ending up in the buffer cache in dom0
kernel?

Hmmm... shouldn't the DomU->qemu->device and DomU->blkbackend->device
path's both have visibility to the same buffer cache though?

Maybe the problem isn't what I thought it was. It seems strange that
windows would boot almost completely using my PV drivers and then barf
at the last minute though.

Thanks

James

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