aboutgitcodebugslistschat
path: root/tap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-11-04 02:38:31 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-11-04 12:04:32 +0100
commit11efaefa1edc340fc3948726893ff81630370744 (patch)
tree4c3eb91e641f1f81abd5b26132a549105e867933 /tap.c
parent6c1697764ccd0ae0596fcad0ad5c8434430f8b23 (diff)
downloadpasst-11efaefa1edc340fc3948726893ff81630370744.tar
passt-11efaefa1edc340fc3948726893ff81630370744.tar.gz
passt-11efaefa1edc340fc3948726893ff81630370744.tar.bz2
passt-11efaefa1edc340fc3948726893ff81630370744.tar.lz
passt-11efaefa1edc340fc3948726893ff81630370744.tar.xz
passt-11efaefa1edc340fc3948726893ff81630370744.tar.zst
passt-11efaefa1edc340fc3948726893ff81630370744.zip
passt, qrap, README: Update notes and documentation for AF_UNIX support in qemu
We can't get rid of qrap quite yet, but at least we should start telling users it's not going to be needed anymore starting from qemu 7.2. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.c')
-rw-r--r--tap.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/tap.c b/tap.c
index cbf58d4..f8314ef 100644
--- a/tap.c
+++ b/tap.c
@@ -944,13 +944,11 @@ static void tap_sock_unix_init(struct ctx *c)
ev.events = EPOLLIN | EPOLLET | EPOLLRDHUP;
epoll_ctl(c->epollfd, EPOLL_CTL_ADD, c->fd_tap_listen, &ev);
- info("You can now start qrap:");
- info(" ./qrap 5 kvm ... -net socket,fd=5 -net nic,model=virtio");
- info("or directly qemu, patched with:");
- info(" qemu/0001-net-Allow-also-UNIX-domain-sockets-to-be-used-as-net.patch");
- info("as follows:");
- info(" kvm ... -net socket,connect=%s -net nic,model=virtio",
+ info("You can now start qemu (>= 7.2, with commit 13c6be96618c):");
+ info(" kvm ... -device virtio-net-pci,netdev=s -netdev stream,id=s,server=off,addr.type=unix,addr.path=%s",
addr.sun_path);
+ info("or qrap, for earlier qemu versions:");
+ info(" ./qrap 5 kvm ... -net socket,fd=5 -net nic,model=virtio");
}
/**