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

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


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Fri, 9 Nov 2007 12:17:08 +1100
  • Delivery-date: Thu, 08 Nov 2007 17:17:46 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acgh89hmOjf1UcT/R7S91fG2xpfbEgAAJyu6AAAMH9AAAKHtpAAACubgAACgnTIAALk2gAAcQ/ew
  • Thread-topic: [Xen-devel] HVM domain with write caching going on somewhere todisk

> 
> I just changed the open in block.c to include O_DIRECT, but it fails
to
> boot. The VNC session flashes up very quickly and I can definitely see
> the BIOS there but nothing else.
> 
> I'll have a look a bit further tomorrow...
> 

The reason it was failing was that O_DIRECT requires the buffer to the
read() and write() function to be page aligned. I have put some bounce
buffer code into raw_read() and raw_write() in block.c, which does this
(very inefficiently of course), and still get the same error, so maybe
this isn't the problem after all...

Any other suggestions?

Thanks

James


_______________________________________________
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®.