[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 16/24] hw/xen: handle soft reset for primary console
From: |
David Woodhouse |
Subject: |
Re: [PATCH v2 16/24] hw/xen: handle soft reset for primary console |
Date: |
Tue, 24 Oct 2023 16:48:07 +0100 |
User-agent: |
Evolution 3.44.4-0ubuntu2 |
On Tue, 2023-10-24 at 16:44 +0100, Paul Durrant wrote:
> On 19/10/2023 16:40, David Woodhouse wrote:
> > From: David Woodhouse <dwmw@amazon.co.uk>
> >
> > On soft reset, the prinary console event channel needs to be rebound to
> > the backend port (in the xen-console driver). We could put that into the
> > xen-console driver itself, but it's slightly less ugly to keep it within
> > the KVM/Xen code, by stashing the backend port# on event channel reset
> > and then rebinding in the primary console reset when it has to recreate
> > the guest port anyway.
>
> Does Xen re-bind the primary console on EVTCHNOP_reset? That's news to
> me. I go check.
I spent an unhapp hour trying to work out how Xen actually does any of
this :)
In the short term I'm more interested in having soft reset work, than
an explicit EVTCHNOP_reset. And I can't work out *how*, but we do seem
to have console again after a kexec in real Xen.
smime.p7s
Description: S/MIME cryptographic signature
- [PATCH v2 12/24] hw/xen: add get_frontend_path() method to XenDeviceClass, (continued)
- [PATCH v2 12/24] hw/xen: add get_frontend_path() method to XenDeviceClass, David Woodhouse, 2023/10/19
- [PATCH v2 07/24] hw/xen: Clean up event channel 'type_val' handling to use union, David Woodhouse, 2023/10/19
- [PATCH v2 03/24] hw/xen: select kernel mode for per-vCPU event channel upcall vector, David Woodhouse, 2023/10/19
- [PATCH v2 04/24] hw/xen: don't clear map_track[] in xen_gnttab_reset(), David Woodhouse, 2023/10/19
- [PATCH v2 24/24] docs: update Xen-on-KVM documentation, David Woodhouse, 2023/10/19
- [PATCH v2 08/24] include: update Xen public headers to Xen 4.17.2 release, David Woodhouse, 2023/10/19
- [PATCH v2 16/24] hw/xen: handle soft reset for primary console, David Woodhouse, 2023/10/19
[PATCH v2 09/24] i386/xen: advertise XEN_HVM_CPUID_UPCALL_VECTOR in CPUID, David Woodhouse, 2023/10/19
[PATCH v2 02/24] i386/xen: fix per-vCPU upcall vector for Xen emulation, David Woodhouse, 2023/10/19
[PATCH v2 18/24] hw/xen: update Xen PV NIC to XenDevice model, David Woodhouse, 2023/10/19
[PATCH v2 22/24] tests/avocado: switch to using xen-net-device for Xen guest tests, David Woodhouse, 2023/10/19
[PATCH v2 17/24] hw/xen: only remove peers of PCI NICs on unplug, David Woodhouse, 2023/10/19
[PATCH v2 23/24] xen-platform: unplug AHCI disks, David Woodhouse, 2023/10/19
[PATCH v2 14/24] hw/xen: update Xen console to XenDevice model, David Woodhouse, 2023/10/19