7 Jul 2021 |
Mic92 (Old) | In reply to @astro:envs.net how would you like to use graphics? https://github.com/astro/microvm.nix/pull/1 | 21:40:07 |
Mic92 (Old) | In reply to @astro:envs.net is -enable-kvm really the default? I found the qemu manpage to be quite incomplete. not in qemu but in our virtualisation module | 21:40:21 |
Mic92 (Old) | Amended to the pr | 21:41:39 |
Mic92 (Old) | You can see from ps aux | grep qemu that there is -enable-kvm twice | 21:41:57 |
Mic92 (Old) | If you don't mind a bit blow than there is xterm's resize command that sets columns/rows correctly when being connected to qemu console | 21:43:06 |
Mic92 (Old) | But I think one can also do this in bash with some ansi escapes | 21:43:33 |
Astro | nice, thank you | 21:44:00 |
Astro | so how do I attach to the serial console? unix socket? | 21:44:56 |
Mic92 (Old) | You can if you configure it that way, by default it just uses the current console. | 21:45:23 |
Mic92 (Old) | *terminal | 21:45:26 |
Mic92 (Old) | and than you can use Ctrl-a to jump to qemu monitor | 21:45:51 |
Astro | I'd like some service that opens the socket to buffer the last n lines | 21:46:20 |
Astro | * I'd like to have some service that opens the socket to buffer the last n lines | 21:46:28 |
Mic92 (Old) | What do you want to buffer? | 21:46:45 |
Astro | console output | 21:46:55 |
Mic92 (Old) | You get kernel boot logged as well on their | 21:46:57 |
Mic92 (Old) | So everything from /dev/kmsg | 21:47:07 |
Mic92 (Old) | I use this for kernel debugging. | 21:47:15 |
Mic92 (Old) | It's not just a login tty | 21:47:40 |
Mic92 (Old) | * You get kernel boot logged as well on there | 21:48:02 |
Astro | is it going to block if you don't open the socket with a reader? | 22:05:56 |
Astro | oh | 22:09:47 |
Astro | I assumed this was about the microvms consoles | 22:10:06 |
Astro | any ideas about them? | 22:10:47 |
8 Jul 2021 |
Mic92 (Old) | In reply to @astro:envs.net any ideas about them? Do you want to access those via serial console? Having universal support is a bit tricky due to different feature set, but you could provide universal access with some additional socat instances. | 06:00:09 |
Mic92 (Old) | There is also vsock but it requires some permission changes on the host in /dev/vhost-vsock to work. But than at least firecracker implements this differently by implementing vsock -> unix socket. | 06:02:17 |
| Las joined the room. | 14:50:20 |
9 Jul 2021 |
| vika (she/her) 🏳️⚧️ set a profile picture. | 16:39:01 |
10 Jul 2021 |
| Mic92 (Old) changed their display name from Mic92 to Mic92 (Old). | 14:02:25 |
| Mic92 (Old) joined the room. | 14:36:03 |