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-changelog

[Xen-changelog] [xen-unstable] [qemu patches] Update patches for changes

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [qemu patches] Update patches for changeset 10931:3ea0a6847198.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 04 Aug 2006 11:00:18 +0000
Delivery-date: Fri, 04 Aug 2006 04:03:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User chris@xxxxxxxxxxxxxxxxxxxxxxxx
# Node ID c6b2761633c623ab131243fe4bdffa34f7174d7f
# Parent  3ea0a6847198d0c448cb19f2e95bee9e0b48ae59
[qemu patches] Update patches for changeset 10931:3ea0a6847198.

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
---
 tools/ioemu/patches/qemu-fix-write-to-disk-synchronous |   66 +++++++++++++++++
 tools/ioemu/patches/series                             |    1 
 2 files changed, 67 insertions(+)

diff -r 3ea0a6847198 -r c6b2761633c6 tools/ioemu/patches/series
--- a/tools/ioemu/patches/series        Fri Aug 04 10:28:51 2006 +0100
+++ b/tools/ioemu/patches/series        Fri Aug 04 10:29:18 2006 +0100
@@ -39,3 +39,4 @@ xenstore-write-vnc-port
 xenstore-write-vnc-port
 qemu-allow-disable-sdl
 qemu-fix-memset-args
+qemu-fix-write-to-disk-synchronous
diff -r 3ea0a6847198 -r c6b2761633c6 
tools/ioemu/patches/qemu-fix-write-to-disk-synchronous
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/ioemu/patches/qemu-fix-write-to-disk-synchronous    Fri Aug 04 
10:29:18 2006 +0100
@@ -0,0 +1,78 @@
+Index: ioemu/block-vmdk.c
+===================================================================
+--- ioemu.orig/block-vmdk.c    2006-07-14 13:43:45.000000000 +0100
++++ ioemu/block-vmdk.c 2006-08-04 10:27:15.368803650 +0100
+@@ -96,7 +96,7 @@
+     uint32_t magic;
+     int l1_size;
+ 
+-    fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE);
++    fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE | O_SYNC);
+     if (fd < 0) {
+         fd = open(filename, O_RDONLY | O_BINARY | O_LARGEFILE);
+         if (fd < 0)
+Index: ioemu/block-qcow.c
+===================================================================
+--- ioemu.orig/block-qcow.c    2006-07-14 13:43:45.000000000 +0100
++++ ioemu/block-qcow.c 2006-08-04 10:27:15.367803766 +0100
+@@ -95,7 +95,7 @@
+     int fd, len, i, shift;
+     QCowHeader header;
+     
+-    fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE);
++    fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE | O_SYNC);
+     if (fd < 0) {
+         fd = open(filename, O_RDONLY | O_BINARY | O_LARGEFILE);
+         if (fd < 0)
+Index: ioemu/block-bochs.c
+===================================================================
+--- ioemu.orig/block-bochs.c   2006-07-14 13:43:45.000000000 +0100
++++ ioemu/block-bochs.c        2006-08-04 10:27:15.345806311 +0100
+@@ -91,7 +91,7 @@
+     int fd, i;
+     struct bochs_header bochs;
+ 
+-    fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE);
++    fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE | O_SYNC);
+     if (fd < 0) {
+         fd = open(filename, O_RDONLY | O_BINARY | O_LARGEFILE);
+         if (fd < 0)
+Index: ioemu/block.c
+===================================================================
+--- ioemu.orig/block.c 2006-08-03 19:19:39.000000000 +0100
++++ ioemu/block.c      2006-08-04 10:27:15.357804923 +0100
+@@ -677,7 +677,7 @@
+     int rv;
+ #endif
+ 
+-    fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE);
++    fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE | O_SYNC);
+     if (fd < 0) {
+         fd = open(filename, O_RDONLY | O_BINARY | O_LARGEFILE);
+         if (fd < 0)
+Index: ioemu/block-cow.c
+===================================================================
+--- ioemu.orig/block-cow.c     2006-07-14 13:43:45.000000000 +0100
++++ ioemu/block-cow.c  2006-08-04 10:27:15.366803882 +0100
+@@ -69,7 +69,7 @@
+     struct cow_header_v2 cow_header;
+     int64_t size;
+ 
+-    fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE);
++    fd = open(filename, O_RDWR | O_BINARY | O_LARGEFILE | O_SYNC);
+     if (fd < 0) {
+         fd = open(filename, O_RDONLY | O_BINARY | O_LARGEFILE);
+         if (fd < 0)
+Index: ioemu/block-cloop.c
+===================================================================
+--- ioemu.orig/block-cloop.c   2006-07-14 13:43:45.000000000 +0100
++++ ioemu/block-cloop.c        2006-08-04 10:27:15.365803997 +0100
+@@ -55,7 +55,7 @@
+     BDRVCloopState *s = bs->opaque;
+     uint32_t offsets_size,max_compressed_block_size=1,i;
+ 
+-    s->fd = open(filename, O_RDONLY | O_BINARY | O_LARGEFILE);
++    s->fd = open(filename, O_RDONLY | O_BINARY | O_LARGEFILE | O_SYNC);
+     if (s->fd < 0)
+         return -1;
+     bs->read_only = 1;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [qemu patches] Update patches for changeset 10931:3ea0a6847198., Xen patchbot-unstable <=