At Thu, 29 May 2025 17:37:10 -0400, Chuck Zmudzinski <[email protected]> wrote: Subject: Re: Xen boot strangeness (Was: Re: [SOLVED] Re: Xen 4.18.5_20250521nb0 not ELF binary (Was: Re: EFI and Xen)) > > It seems to me our DOM0 config assumes Xen is not successfully hiding the > serial console used by Xen from DOM0, not even the normal ISA com ports, > and that is why we comment out com0 in the XEN3_DOM0 config. If Xen was > hiding that device from DOM0, we would not need to do that would we?
Ah ha! Sorry, I forgot to check that, and I didn't twig to what Manuel
meant by "As noted in the kernel config file...".
So, yes, indeed, Xen is not hiding the device it uses as the serial console.
> If we could fix this on the Xen side by hiding whatever com device Xen is
> using for its console, whether that be a normal com device, a PCI device,
> AMT device or whatever, that would be great.
Yes, for sure, I think that's the way to go
If I'm understanding the code correctly there does seem to be a way to
hide a PCI device from the kernel, so that might be a start....
On the other hand the fact that an attempt by the kernel to attach the
device causes a crash suggests that there should be some way to detect
that it is already in use -- i.e. fix the crash by not attaching the
device in that case!
--
Greg A. Woods <[email protected]>
Kelowna, BC +1 250 762-7675 RoboHack <[email protected]>
Planix, Inc. <[email protected]> Avoncote Farms <[email protected]>
pgpRkEiFdo0aG.pgp
Description: OpenPGP Digital Signature
