From fa2d20908d061fc7a4c56e793487da861af58aca Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sat, 18 Jul 2020 01:02:39 +0200 Subject: merd: Switch to AF_UNIX for qemu tap, provide wrapper We can bypass a full-fledged network interface between qemu and merd by connecting the qemu tap file descriptor to a provided UNIX domain socket: this could be implemented in qemu eventually, qrap covers this meanwhile. This also avoids the need for the AF_PACKET socket towards the guest. Signed-off-by: Stefano Brivio --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6d96f47..e5942dc 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,13 @@ CFLAGS += -Wall -Wextra -pedantic -all: merd +all: merd qrap -merd: merd.c +merd: merd.c merd.h $(CC) $(CFLAGS) merd.c -o merd +qrap: qrap.c merd.h + $(CC) $(CFLAGS) qrap.o -o qrap + .PHONY: clean clean: - -${RM} merd + -${RM} merd qrap -- cgit v1.2.3