From 2014bc7f0f6a56d47b2001e16397a43c92c7ca78 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 29 Nov 2013 12:27:11 +0100 Subject: [PATCH] add vma-writer.o to block-obj-y --- debian/patches/backup-add-vma-binary.patch | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/debian/patches/backup-add-vma-binary.patch b/debian/patches/backup-add-vma-binary.patch index 57eda45..55f7e1e 100644 --- a/debian/patches/backup-add-vma-binary.patch +++ b/debian/patches/backup-add-vma-binary.patch @@ -25,7 +25,7 @@ Signed-off-by: Dietmar Maurer Index: new/Makefile =================================================================== --- new.orig/Makefile 2013-11-29 08:45:24.000000000 +0100 -+++ new/Makefile 2013-11-29 10:08:41.000000000 +0100 ++++ new/Makefile 2013-11-29 12:25:23.000000000 +0100 @@ -128,7 +128,7 @@ include $(SRC_PATH)/libcacard/Makefile endif @@ -39,7 +39,7 @@ Index: new/Makefile qemu-img$(EXESUF): qemu-img.o $(block-obj-y) libqemuutil.a libqemustub.a qemu-nbd$(EXESUF): qemu-nbd.o $(block-obj-y) libqemuutil.a libqemustub.a qemu-io$(EXESUF): qemu-io.o $(block-obj-y) libqemuutil.a libqemustub.a -+vma$(EXESUF): vma.o vma-writer.o vma-reader.o $(block-obj-y) libqemuutil.a libqemustub.a ++vma$(EXESUF): vma.o vma-reader.o $(block-obj-y) libqemuutil.a libqemustub.a qemu-bridge-helper$(EXESUF): qemu-bridge-helper.o @@ -75,7 +75,7 @@ Index: new/docs/specs/vma_spec.txt Index: new/vma-reader.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ new/vma-reader.c 2013-11-29 10:18:49.000000000 +0100 ++++ new/vma-reader.c 2013-11-29 12:10:53.000000000 +0100 @@ -0,0 +1,799 @@ +/* + * VMA: Virtual Machine Archive @@ -1756,7 +1756,7 @@ Index: new/vma-writer.c Index: new/vma.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ new/vma.c 2013-11-29 10:18:49.000000000 +0100 ++++ new/vma.c 2013-11-29 12:10:53.000000000 +0100 @@ -0,0 +1,623 @@ +/* + * VMA: Virtual Machine Archive @@ -2384,7 +2384,7 @@ Index: new/vma.c Index: new/vma.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ new/vma.h 2013-11-29 10:18:49.000000000 +0100 ++++ new/vma.h 2013-11-29 12:10:53.000000000 +0100 @@ -0,0 +1,144 @@ +/* + * VMA: Virtual Machine Archive @@ -2530,3 +2530,15 @@ Index: new/vma.h + Error **errp); + +#endif /* BACKUP_VMA_H */ +Index: new/Makefile.objs +=================================================================== +--- new.orig/Makefile.objs 2013-11-29 12:10:45.000000000 +0100 ++++ new/Makefile.objs 2013-11-29 12:24:55.000000000 +0100 +@@ -14,6 +14,7 @@ + block-obj-y += block/ + block-obj-y += qapi-types.o qapi-visit.o + block-obj-y += qemu-io-cmds.o ++block-obj-y += vma-writer.o + + block-obj-y += qemu-coroutine.o qemu-coroutine-lock.o qemu-coroutine-io.o + block-obj-y += qemu-coroutine-sleep.o -- 2.39.2