!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
126 Servers

Load older messages


SenderMessageTime
17 Aug 2021
@sternenseemann:systemli.orgsterni (he/him)ah yeah right21:47:32
18 Aug 2021
@piper:lutris.engineeringPiper McCorkle (she/her or they/them) changed their display name from Piper McCorkle to Piper McCorkle (she/her or they/them).07:12:42
@siraben:matrix.orgsiraben (he/him) changed their display name from siraben to siraben (he/him).19:37:16
19 Aug 2021
@mic92:nixos.devMic92 Alyssa Ross: Hi. In my current project I am building a tool that can spawn processes and block devices in hypervisor using ptrace: https://github.com/Mic92/vmsh My current prototype works on qemu, and I am currently looking into crosvm. I am wondering if crosvm uses multiple processes rather than threads? 07:09:45
@yuka:yuka.devYuka (she/her) changed their display name from Yuka to Yuka (she/her).07:11:06
@mic92:nixos.devMic92Yeah. A quick look in their docs confirms that.07:12:03
@yuka:yuka.devYuka (she/her) changed their display name from Yuka (she/her) to Yuka(she/her).07:13:34
@yuka:yuka.devYuka (she/her) changed their display name from Yuka(she/her) to Yuka (she/her).07:14:15
@jamie:memes.nzJamie hahaha 07:15:09
@jamie:memes.nzJamiethat’s really cool07:15:24
@jamie:memes.nzJamiegot any docs about how it’s implemented?07:15:37
@mic92:nixos.devMic92 Jamie: we will submit a paper in less than two months 07:38:07
@qyliss:fairydust.spaceAlyssa Rossoh wow that's interesting09:43:05
@mic92:nixos.devMic92qyliss: have you seen https://github.com/astro/microvm.nix already?10:42:31
@mic92:nixos.devMic92quite useful to evaluate a wider range of hypervisors10:42:48
@qyliss:fairydust.spaceAlyssa Rossoh that's neat10:45:20
@qyliss:fairydust.spaceAlyssa RossI just have the command line arguments for qemu, crosvm, and cloud-hypervisor burned into my brain10:45:35
@mic92:nixos.devMic92Is crosvm still your favorite?10:45:59
@qyliss:fairydust.spaceAlyssa Rosscloud-hypervisor is my favourite now10:46:09
@sandro:supersandro.deSandro
In reply to @mic92:nixos.dev
qyliss: have you seen https://github.com/astro/microvm.nix already?
Astro has some problems with the kernel where I couldn't help him. Did he ask you already?
11:08:15
@mic92:nixos.devMic92no11:08:34
@mic92:nixos.devMic92we chatted a bit yesterday so11:08:58
@sandro:supersandro.deSandroah okay. I think it was something with network throughput in the microvm kernel or something. Can't remember11:13:13
@mic92:nixos.devMic92If one wants to get decent throughput with VMs than SR-IOV is the way to go11:16:29
@mic92:nixos.devMic92Used 10Gbit/s/40Gbit/s NICs became quite affordable now and support this11:17:41
@symphorien:xlumurb.eusymphorienI'm trying to cross compile ocaml with host=build=x86 and target=musl (for pkgsStatic) and when trying to link the stdlib ocaml tries to use the prefixed compiler for target, which is not in $PATH18:56:25
@symphorien:xlumurb.eusymphorienhow do I add it to the $PATH ?18:56:38
@sternenseemann:systemli.orgsterni (he/him) My intuition would be that you need pkgsBuildTarget.targetPackages.stdenv.cc 18:57:55
@symphorien:xlumurb.eusymphoriendo I add it to the path with export or in buildInputs or ???18:58:49
@sternenseemann:systemli.orgsterni (he/him)would belong in nativeBuildInputs18:59:17

Show newer messages


Back to Room ListRoom Version: 6