diff --git a/Makefile b/Makefile index e4c493ef..2812cb47 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ qemu_driver.o: qemu_driver.c qemu_proxy.h -I qemu/include $(CXXFLAGS) -c -o $@ $< qemu_driver.so: qemu_driver.o qemu_proxy.o $(FIO_CLUSTER_OBJS) - g++ $(CXXFLAGS) -ltcmalloc_minimal -shared -o $@ $< $(FIO_CLUSTER_OBJS) qemu_driver.o qemu_proxy.o -luring + g++ $(CXXFLAGS) -ltcmalloc_minimal -shared -o $@ $(FIO_CLUSTER_OBJS) qemu_driver.o qemu_proxy.o -luring test_blockstore: ./libblockstore.so test_blockstore.cpp timerfd_interval.o g++ $(CXXFLAGS) -o test_blockstore test_blockstore.cpp timerfd_interval.o ./libblockstore.so -ltcmalloc_minimal -luring diff --git a/qemu_driver.c b/qemu_driver.c index a9c6edba..e5330ff3 100644 --- a/qemu_driver.c +++ b/qemu_driver.c @@ -3,6 +3,7 @@ // QEMU block driver +#define BUILD_DSO #define _GNU_SOURCE #include "qemu/osdep.h" #include "qemu/units.h" @@ -19,6 +20,14 @@ #include "qemu_proxy.h" +void qemu_module_dummy(void) +{ +} + +void DSO_STAMP_FUN(void) +{ +} + typedef struct VitastorClient { void *proxy;