qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 14/28] hw/xen: add get_frontend_path() method to XenDevice


From: Durrant, Paul
Subject: Re: [PATCH v3 14/28] hw/xen: add get_frontend_path() method to XenDeviceClass
Date: Fri, 27 Oct 2023 08:31:56 +0100
User-agent: Mozilla Thunderbird

On 25/10/2023 15:50, David Woodhouse wrote:
From: David Woodhouse <dwmw@amazon.co.uk>

The primary Xen console is special. The guest's side is set up for it by
the toolstack automatically and not by the standard PV init sequence.

Accordingly, its *frontend* doesn't appear in …/device/console/0 either;
instead it appears under …/console in the guest's XenStore node.

To allow the Xen console driver to override the frontend path for the
primary console, add a method to the XenDeviceClass which can be used
instead of the standard xen_device_get_frontend_path()

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
---
  hw/xen/xen-bus.c         | 11 ++++++++++-
  include/hw/xen/xen-bus.h |  2 ++
  2 files changed, 12 insertions(+), 1 deletion(-)


Reviewed-by: Paul Durrant <paul@xen.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]