Applied, thanks!
Damien Zammit, le sam. 04 juil. 2026 03:58:57 +0000, a ecrit:
> Relax the panic to a warning when attempting to run gnumach as dom0.
> This can allow someone to further debug gnumach as dom0 using the test
> framework.
> ---
> i386/i386at/model_dep.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
> index eea98754..36cd3ae6 100644
> --- a/i386/i386at/model_dep.c
> +++ b/i386/i386at/model_dep.c
> @@ -536,7 +536,7 @@ void c_boot_entry(vm_offset_t bi)
> #ifdef MACH_XEN
> printf("Running on %s.\n", boot_info.magic);
> if (boot_info.flags & SIF_PRIVILEGED)
> - panic("Mach can't run as dom0.");
> + printf("WARNING: Mach running as dom0.\n");
> #ifdef MACH_PSEUDO_PHYS
> mfn_list = (void*)boot_info.mfn_list;
> #endif
> --
> 2.47.3
>
>
>
--
Samuel
La carte réseau fournie par cybercable (sn2000) ne va-t-elle que sur
bus isa ou peut-on aussi la mettre sur bus PCI.
Merci de m'éclairer.
-+- JP in le Neuneu Pète un Câble : Une carte dans chaque port -+-