SHA256
1
0
forked from pool/xen

Updating link to change in openSUSE:Factory/xen revision 81.0

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=b23fc510061b567c77eab271f90860d2
This commit is contained in:
OBS User buildservice-autocommit
2009-10-12 14:04:55 +00:00
committed by Git OBS Bridge
parent 0df7e563d6
commit e6b6844bcf
16 changed files with 593 additions and 62 deletions

View File

@@ -0,0 +1,16 @@
--- xen-3.4.1-testing/tools/ioemu-remote/hw/xen_blktap.c 2009-09-21 13:26:03.000000000 +0800
+++ xen-3.4.1-testing/tools/ioemu-remote/hw/xen_blktap.c 2009-09-28 16:30:13.000000000 +0800
@@ -249,8 +249,11 @@ static int open_disk(struct td_state *s,
drv = blktap_drivers[i].drv;
DPRINTF("%s driver specified\n", drv ? drv->format_name : "No");
- /* Open the image */
- if (bdrv_open2(bs, path, flags, drv) != 0) {
+ /* Open the image
+ * Use BDRV_O_CACHE_WB for write-through caching,
+ * no flags for write-back caching
+ */
+ if (bdrv_open2(bs, path, flags|BDRV_O_CACHE_WB, drv) != 0) {
fprintf(stderr, "Could not open image file %s\n", path);
return -ENOMEM;
}