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

+
+startfunc(){
+    preparefunc
+    systemctl stop libvirtd virtlogd 2>/dev/null
+    echo "Stop libvirtd virtlogd"
+    lcov --directory "$WORKPATH" --zerocounters >/dev/null 2>&1
+    echo "Clear exist gcda file"
+    systemctl start libvirtd virtlogd 2>/dev/null
+    echo "Start libvirtd virtlogd"
+    gengcdafunc
+    echo "create empty gcda file"
+    echo "Done!"

From 088df627ac076870cbf6d251254ddbaf8d734778 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~

Signed-off-by: Luyao Huang <lhuang@redhat.com>
---
