-From 5d90d09a7c257f0dee5544084a80f287d153dce5 Mon Sep 17 00:00:00 2001
+From 57c39cf4123fc96d3a6a2a822455665ed31a2312 Mon Sep 17 00:00:00 2001
 From: Luyao Huang <lhuang@redhat.com>
 Date: Thu, 17 Nov 2016 14:27:59 +0800
 Subject: [PATCH] Virtcov for v0.10.2~

+# <http://www.gnu.org/licenses/>.
+
+version="@VERSION@"
+COVPATH="/usr/share/doc/libvirt-devel-${version}/gcno/"
+WORKPATH="/usr/coverage/BUILD/libvirt-${version}/"
+COVERAGE_POOL="127.0.0.1:8000"
+

 		$(PIE_LDFLAGS) \
diff --git a/tools/virtcov.in b/tools/virtcov.in
new file mode 100644
index 0000000..9ebb06e
--- /dev/null
+++ b/tools/virtcov.in
@@ -0,0 +1,208 @@
