On 19/10/2023 5:21 pm, David Woodhouse wrote: > From: David Woodhouse <[email protected]> > > In shim mode there is no hardware_domain. Dereferencing the pointer > doesn't end well. > > Signed-off-by: David Woodhouse <[email protected]> > --- > This is about as far as I got in my abortive attempt to use the PV shim > without an actual PV console being provided by the HVM hosting > environment. It still doesn't pass the guest's console through to > serial; that only seems to shim to an actual PV console.
There's no such thing as a Xen VM without a PV console. And yes, this is an error, but that horse bolted 2 decades ago. It would be nice if having a "real" serial didn't crash like this, but PV Shim is specialised to transplant one normal-looking PV guest, and the interposition logic is tied to the PV console. ~Andrew
