On Wed, 5 Feb 2020 17:06:34 +1100 David Gibson <da...@gibson.dropbear.id.au> wrote:
> On Tue, Feb 04, 2020 at 12:26:32AM +0100, Paolo Bonzini wrote: > > You can generalize and reuse the s390 code. All you have to write is the > > PCI scan and virtio-pci setup. > > If we assume virtio only. In any case it sounds like the s390 code is > actually based on the SLOF code anyway. Only the netboot part. Device discovery/setup etc. had been written from scratch, but I'm not sure how much reusable infrastructure remains once you strip all the s390x-specific stuff.