Message ID | 20231114163123.74888-1-philmd@linaro.org (mailing list archive) |
---|---|
Headers | show |
Series | hw/xen: Have ARM targets use common xen_memory_listener | expand |
ping? On 14/11/23 17:31, Philippe Mathieu-Daudé wrote: > Hi, > > While looking at Xen target-specific code, I noticed some > generic code used by x86 which is not implemented for ARM. > > Maybe ARM machines don't need it, I don't know. But I > wanted to see if I can get this common code target agnostic > and build it once, possibly bringing smth useful to ARM. > > The changes don't break CI testing and Avocado local tests. > If this xen_memory_listener feature isn't required for ARM, > I'll send follow up patch that keep this series with common > xen_memory_listener but with a runtime flag to disable. > > Patches do the usual "change target-specific API to a > target-agnostic one", in particular using "exec/target_page.h" > at runtime. Then non-x86 code is extracted, then merged to > the generic xen/xen-hvm-common.c. > > Thoughts? > > Regards, > > Phil. > > Based-on: <20231114143816.71079-1-philmd@linaro.org>
ping ^ 2 On 13/12/23 18:00, Philippe Mathieu-Daudé wrote: > ping? > > On 14/11/23 17:31, Philippe Mathieu-Daudé wrote: >> Hi, >> >> While looking at Xen target-specific code, I noticed some >> generic code used by x86 which is not implemented for ARM. >> >> Maybe ARM machines don't need it, I don't know. But I >> wanted to see if I can get this common code target agnostic >> and build it once, possibly bringing smth useful to ARM. >> >> The changes don't break CI testing and Avocado local tests. >> If this xen_memory_listener feature isn't required for ARM, >> I'll send follow up patch that keep this series with common >> xen_memory_listener but with a runtime flag to disable. >> >> Patches do the usual "change target-specific API to a >> target-agnostic one", in particular using "exec/target_page.h" >> at runtime. Then non-x86 code is extracted, then merged to >> the generic xen/xen-hvm-common.c. >> >> Thoughts? >> >> Regards, >> >> Phil. >> >> Based-on: <20231114143816.71079-1-philmd@linaro.org> >