--- wikisrc/ports/xen/howto.mdwn 2021/03/03 14:22:24 1.193 +++ wikisrc/ports/xen/howto.mdwn 2021/03/03 14:59:32 1.194 @@ -176,6 +176,9 @@ want to set it as default. It is highly trouble at some point, and keeping an up-to-date GENERIC for use in fixing problems is the standard prudent approach. +\todo Explain why rndseed is not set with Xen as part of the dom0 +subconfiguration. + ### Console selection See boot_console(8). Understand that you should start from a place of @@ -197,20 +200,23 @@ must also configure it for Xen. By default, the hypervisor (Xen itself) will use some sort of vga device as the console, much like GENERIC uses by default. The vga console is relinquished at the conclusion of hypervisor boot, before -the dom0 is started. - -\todo Explain if there is any notion of input to the Xen console; -there is something about 3 CTRL-As in a row. Perhaps this is about -the serial console which is not relinquished? +the dom0 is started. Xen when using a vga console does not process +console input. The hypervisor can be configured to use a serial port console, e.g. [[!template id=filecontent name="/boot.cfg" text=""" menu=Xen:losad /netbsd-XEN3_DOM0.gz console=com0;multiboot /xen.gz dom0_mem=512M console=com1 com1=9600,8n1 """]] -This exampulee uses the first serial port (Xen counts from 1; this is +This example uses the first serial port (Xen counts from 1; this is what NetBSD would call com0), and sets speed and parity. (The dom0 is then configured to use the same serial port in this example.) +With the hypervisor configured for a serial console, it can get input, +and there is a notion of passing this input to the dom0. \todo +Explain why, if Xen has a serial console, the dom0 console is +typically also configured to open that same serial port, instead of +getting the passthrough input via the xen console. + One also configures the console for the dom0. While one might expect console=pc to be default, following behavior of GENERIC, a hasty read of the code suggests there is no default and booting without a