Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SUBDIRS = librawstorstd \
librawstorio \
src \
cli \
vu
vhost

if ENABLE_TESTS
SUBDIRS += tests
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ AC_CONFIG_FILES(
[src/Makefile]
[src/rawstor.pc]
[cli/Makefile]
[vu/Makefile]
[vhost/Makefile]
[tests/Makefile]
[deb/control]
[rpm/librawstor.spec]
Expand Down
2 changes: 1 addition & 1 deletion vu/.gitignore → vhost/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/Makefile
/Makefile.in
/rawstor-vu
/rawstor-vhost
30 changes: 30 additions & 0 deletions vhost/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
bin_PROGRAMS = rawstor-vhost

AM_CXXFLAGS = $(GENERIC_CXXFLAGS) \
$(ASAN_CFLAGS) \
-I$(top_srcdir)/librawstorstd/include \
-I$(top_srcdir)/include

AM_LDFLAGS = $(ASAN_LDFLAGS)


rawstor_vhost_SOURCES = stdheaders/linux/types.h \
stdheaders/linux/vhost_types.h \
stdheaders/linux/virtio_blk.h \
stdheaders/linux/virtio_config.h \
stdheaders/linux/virtio_ring.h \
stdheaders/linux/virtio_types.h \
device.cpp \
device.hpp \
devregion.cpp \
devregion.hpp \
main.cpp \
protocol.h \
ring.cpp \
ring.hpp \
server.cpp \
server.hpp \
virtqueue.cpp \
virtqueue.hpp

rawstor_vhost_LDADD = $(top_builddir)/src/librawstor.la
1 change: 1 addition & 0 deletions vhost/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# rawstor-vhost
Loading