diff options
author | Paul Spooren <mail@aparcar.org> | 2020-12-30 18:11:54 -1000 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-01-10 12:29:23 -1000 |
commit | 5876ba6460f14b4467812bdd76b9f3db323afb33 (patch) | |
tree | 069640e4713c95b7c706ab0bc60fa5972ab61c1f /tools/qemu/patches/0007-VMDK-flush-multiple-extents.patch | |
parent | ca289e322d87bd14271de84b25291c2979f96781 (diff) | |
download | upstream-5876ba6460f14b4467812bdd76b9f3db323afb33.tar.gz upstream-5876ba6460f14b4467812bdd76b9f3db323afb33.tar.bz2 upstream-5876ba6460f14b4467812bdd76b9f3db323afb33.zip |
qemu: remove obsolete package
Instead of using an ancient qemu version in-tree the building machine
should just have qemu-utils installed.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'tools/qemu/patches/0007-VMDK-flush-multiple-extents.patch')
-rw-r--r-- | tools/qemu/patches/0007-VMDK-flush-multiple-extents.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/tools/qemu/patches/0007-VMDK-flush-multiple-extents.patch b/tools/qemu/patches/0007-VMDK-flush-multiple-extents.patch deleted file mode 100644 index b228236517..0000000000 --- a/tools/qemu/patches/0007-VMDK-flush-multiple-extents.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 49885608e66c1e76a2b715fb36fd2f27f73e5202 Mon Sep 17 00:00:00 2001 -From: Fam Zheng <famcool@gmail.com> -Date: Tue, 12 Jul 2011 19:56:33 +0800 -Subject: [PATCH 07/12] VMDK: flush multiple extents - -Flush all the file that referenced by the image. - -Signed-off-by: Fam Zheng <famcool@gmail.com> -Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> -Signed-off-by: Kevin Wolf <kwolf@redhat.com> ---- - block/vmdk.c | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - ---- a/block/vmdk.c -+++ b/block/vmdk.c -@@ -1072,7 +1072,17 @@ static void vmdk_close(BlockDriverState - - static int vmdk_flush(BlockDriverState *bs) - { -- return bdrv_flush(bs->file); -+ int i, ret, err; -+ BDRVVmdkState *s = bs->opaque; -+ -+ ret = bdrv_flush(bs->file); -+ for (i = 0; i < s->num_extents; i++) { -+ err = bdrv_flush(s->extents[i].file); -+ if (err < 0) { -+ ret = err; -+ } -+ } -+ return ret; - } - - |