diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2020-07-18 01:02:39 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-02-16 07:57:51 +0100 |
commit | fa2d20908d061fc7a4c56e793487da861af58aca (patch) | |
tree | 3f0fbf127cee167f113b82586488d3081a85a38b /Makefile | |
parent | cefcf0bc2c73ecdbfc44c07b08df2ed69db57e2b (diff) | |
download | passt-fa2d20908d061fc7a4c56e793487da861af58aca.tar passt-fa2d20908d061fc7a4c56e793487da861af58aca.tar.gz passt-fa2d20908d061fc7a4c56e793487da861af58aca.tar.bz2 passt-fa2d20908d061fc7a4c56e793487da861af58aca.tar.lz passt-fa2d20908d061fc7a4c56e793487da861af58aca.tar.xz passt-fa2d20908d061fc7a4c56e793487da861af58aca.tar.zst passt-fa2d20908d061fc7a4c56e793487da861af58aca.zip |
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 <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |