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] disable qemu PCI devices in HVM domains

Steven Smith writes ("Re: [Xen-devel] disable qemu PCI devices in HVM domains"):
> I can't see any reason why the approach we take in our closed-source
> drivers wouldn't work here as well.  I've attached the appropriate
> patches from our product qemu patchqueue, tidied up and stripped of
> the most obviously XenServer-specific bits, and made to apply to
> current ioemu-remote.

I'm just in the process of applying this and I came across this:

@@ -792,6 +793,10 @@ static void raw_close(BlockDriverState *bs)
...
+#ifndef CONFIG_STUBDOM
+        /* Invalidate buffer cache for this device. */
+        ioctl(s->fd, BLKFLSBUF, 0);
+#endif

Does this mean that there is currently, in the Open Source qemu-dm
tree, a cache coherency problem between emulated and PV disk paths ?

What about Linux platforms with existing PV drivers which do not
engage in the blacklisting/disabling protocol ?

Ian.

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