| 7 Jul 2021 |
Astro | beware that the qemu is configured to 8GB RAM | 19:19:46 |
Mic92 (Old) | I have a usecase for that, for vmsh :) | 21:00:27 |
Mic92 (Old) | Do you keep the kernel configurable? | 21:01:01 |
Mic92 (Old) | Astro: how do you think about -nographics for the qemu vm? https://github.com/astro/microvm.nix/blob/3821238f101c84eb8741ca305f580769208e268b/flake.nix#L288 | 21:28:48 |
Mic92 (Old) | is -enable-kvm not the default? | 21:29:15 |
Astro | how would you like to use graphics? | 21:32:02 |
Astro | is -enable-kvm really the default? I found the qemu manpage to be quite incomplete. | 21:39:37 |
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 |