Merge pull request #287438 from fricklerhandwerk/qemu-docs-link

This commit is contained in:
Valentin Gagarin 2024-02-09 15:37:35 +01:00 committed by GitHub
commit e385b36a32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -701,7 +701,10 @@ in
type = types.listOf types.str; type = types.listOf types.str;
default = []; default = [];
example = [ "-vga std" ]; example = [ "-vga std" ];
description = lib.mdDoc "Options passed to QEMU."; description = lib.mdDoc ''
Options passed to QEMU.
See [QEMU User Documentation](https://www.qemu.org/docs/master/system/qemu-manpage) for a complete list.
'';
}; };
consoles = mkOption { consoles = mkOption {
@ -732,6 +735,7 @@ in
description = lib.mdDoc '' description = lib.mdDoc ''
Networking-related command-line options that should be passed to qemu. Networking-related command-line options that should be passed to qemu.
The default is to use userspace networking (SLiRP). The default is to use userspace networking (SLiRP).
See the [QEMU Wiki on Networking](https://wiki.qemu.org/Documentation/Networking) for details.
If you override this option, be advised to keep If you override this option, be advised to keep
''${QEMU_NET_OPTS:+,$QEMU_NET_OPTS} (as seen in the example) ''${QEMU_NET_OPTS:+,$QEMU_NET_OPTS} (as seen in the example)