!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

593 Members
NixOS ❤️ systemd165 Servers

Load older messages


SenderMessageTime
6 Mar 2025
@gdamjan:spodeli.orggdamjan raitobezarius: note 258 will have one more vsock implementation vsock-mux/
https://github.com/systemd/systemd/pull/32941
19:58:12
@gdamjan:spodeli.orggdamjanor was that in 257? :D19:59:03
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgok a lot more stuff is making a lot more sense19:59:07
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgstill need to look at the ssh generator pr19:59:27
@gdamjan:spodeli.orggdamjanyes, one per connection20:00:00
@gdamjan:spodeli.orggdamjan(in classic inetd mode, so to speak)20:00:09
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthanks20:00:21
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI have a lot to learn about vsock I think20:00:29
@gdamjan:spodeli.orggdamjanman 7 vsock :D20:00:42
@gdamjan:spodeli.orggdamjanugh, I remember it, the man page, was longer20:01:13
@elvishjerricco:matrix.org@elvishjerricco:matrix.org"No manual entry for vsock in section 7" I'm sure it's out there :P20:01:13
@gdamjan:spodeli.orggdamjan raitobezarius: I think you DO need the vscok module for the AF_VSOCK 20:02:04
@gdamjan:spodeli.orggdamjan * raitobezarius: I think you DO need the vsock module for the AF_VSOCK 20:02:17
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthis is a tangent but I'm interested in what you mean20:03:00
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI quite like generators20:03:12
@gdamjan:spodeli.orggdamjan but python -c 'import socket;socket.socket(socket.AF_VSOCK, socket.SOCK_STREAM, 0)' did load the modules automatically 20:03:26
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgspecifically because they don't need nixos20:03:26
@gdamjan:spodeli.orggdamjanright, and they take the "live" environment into consideration20:04:08
@gdamjan:spodeli.orggdamjanso if I move the same nixos image from bare metal to a vm vsock will start working20:04:49
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgyea it's "discoverable" in a way20:05:35
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI just had a nice conversation with Kent Overstreet about systemd generators20:07:27
@raitobezarius:matrix.orgraitobezarius
In reply to @gdamjan:spodeli.org
raitobezarius: note 258 will have one more vsock implementation vsock-mux/
https://github.com/systemd/systemd/pull/32941
oh gosh i needed that so hard
20:07:38
@raitobezarius:matrix.orgraitobezariusi just fixed it in my thing20:07:45
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwhich is unusual. He's normally quite difficuult20:08:04
@arianvp:matrix.orgArianThingOS20:08:04
@elvishjerricco:matrix.org@elvishjerricco:matrix.org* which is unusual. He's normally quite difficult20:08:09
@raitobezarius:matrix.orgraitobezarius gdamjan i decided to stop to rely on my shitty memory and fact checked the kernel 20:08:35
@raitobezarius:matrix.orgraitobezariusyou're right that vsock is a driver in vhost/20:08:39
@raitobezarius:matrix.orgraitobezarius
config VHOST_VSOCK
	tristate "vhost virtio-vsock driver"
	depends on VSOCKETS && EVENTFD
	select VHOST
	select VIRTIO_VSOCKETS_COMMON
	default n
	help
	This kernel module can be loaded in the host kernel to provide AF_VSOCK
	sockets for communicating with guests.  The guests must have the
	virtio_transport.ko driver loaded to use the virtio-vsock device.

	To compile this driver as a module, choose M here: the module will be called
	vhost_vsock.

20:09:19
@raitobezarius:matrix.orgraitobezariusvsock is a either a kernel driver or baked into the kernel20:09:27

Show newer messages


Back to Room ListRoom Version: 6