Il mar 13 dic 2022, 01:59 David Woodhouse <dw...@infradead.org> ha scritto:
> There was *also* a call to xen_emulated_machine_init() added to > pc_init1() by the 'pc_piix: handle XEN_EMULATE backend init' patch. > I've dropped that for now; once we are ready to hook up the xenbus and > PV drivers, that seems like it can go into mc->kvm_type too. Or maybe I > should have kept that, and initialised the overlay and evtchn devices > from xen_emulated_machine_init() instead of mc->kvm_type() ? > I think that would be too early. mc->kvm_type, which really should be called mc->accel_created, is the first place where you can look at xen_mode. Paolo Paolo >