[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qemu-xen master] fuzz: add missing header for rcu_enable_atfork



commit 230225eaaa47f23acffef2f21f9bfb1e99b27b31
Author:     Alexander Bulekov <alxndr@xxxxxx>
AuthorDate: Wed Jul 8 16:01:04 2020 -0400
Commit:     Thomas Huth <thuth@xxxxxxxxxx>
CommitDate: Mon Jul 13 11:40:52 2020 +0200

    fuzz: add missing header for rcu_enable_atfork
    
    In 45222b9a90, I fixed a broken check for rcu_enable_atfork introduced
    in d6919e4cb6. I added a call to rcu_enable_atfork after the
    call to qemu_init in fuzz.c, but forgot to include the corresponding
    header, breaking --enable-fuzzing --enable-werror builds.
    
    Fixes: 45222b9a90 ("fuzz: fix broken qtest check at rcu_disable_atfork")
    Signed-off-by: Alexander Bulekov <alxndr@xxxxxx>
    Message-Id: <20200708200104.21978-3-alxndr@xxxxxx>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
    Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>
    Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
---
 tests/qtest/fuzz/fuzz.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/qtest/fuzz/fuzz.c b/tests/qtest/fuzz/fuzz.c
index a36d9038e0..0b66e43409 100644
--- a/tests/qtest/fuzz/fuzz.c
+++ b/tests/qtest/fuzz/fuzz.c
@@ -19,6 +19,7 @@
 #include "sysemu/runstate.h"
 #include "sysemu/sysemu.h"
 #include "qemu/main-loop.h"
+#include "qemu/rcu.h"
 #include "tests/qtest/libqtest.h"
 #include "tests/qtest/libqos/qgraph.h"
 #include "fuzz.h"
--
generated by git-patchbot for /home/xen/git/qemu-xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.