|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [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
|
|
|
|
|