[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 18/19] spapr: add a 'pseries-4.0-xive' machin
Cédric Le Goater
Re: [Qemu-devel] [PATCH v7 18/19] spapr: add a 'pseries-4.0-xive' machine type
Wed, 12 Dec 2018 08:26:20 +0100
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1
[ ... ]
>>> So, instead I think we want a machine option which can be set to
>>> xics/xive/dual, with xics being the default for earlier machine types
>>> and dual the default for 4.0 onwards.
>> I will revive an old patch doing just that.
>> The question now is how to link the sPAPRMachineState instance to
>> the selected sPAPR IRQ backend.
>> I don't think we can move 'smc->irq' to sPAPRMachineState.
> I think you could..
>> So we will
>> need an helper returning the appropriate backend depending on the machine
>> option and 'smc->irq' should disappear.
> ..but this approach might be easier.
I proposed the first approach in v8. We can add the missing wrappers
in a second round and move then under spapr_irq.h. These are :
spapr->irq->cpu_intc_create (this name is too long)
[Qemu-devel] [PATCH v7 18/19] spapr: add a 'pseries-4.0-xive' machine type, Cédric Le Goater, 2018/12/09
[Qemu-devel] [PATCH v7 19/19] spapr: add a 'pseries-4.0-dual' machine type, Cédric Le Goater, 2018/12/09