diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-11-04 02:38:31 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-11-04 12:04:32 +0100 |
commit | 11efaefa1edc340fc3948726893ff81630370744 (patch) | |
tree | 4c3eb91e641f1f81abd5b26132a549105e867933 /tap.c | |
parent | 6c1697764ccd0ae0596fcad0ad5c8434430f8b23 (diff) | |
download | passt-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.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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"); } /** |