[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 03/11] x86/vlapic: introduce an EOI callback mechanism
On 31.03.2021 12:32, Roger Pau Monne wrote: > Add a new vlapic_set_irq_callback helper in order to inject a vector > and set a callback to be executed when the guest performs the end of > interrupt acknowledgment. > > Such functionality will be used to migrate the current ad hoc handling > done in vlapic_handle_EOI for the vectors that require some logic to > be executed when the end of interrupt is performed. > > The setter of the callback will be in charge for setting the callback > again on resume. That is the reason why vlapic_set_callback is not a > static function. I'm struggling with your use of "resume" here: Resuming from S3 doesn't require re-doing anything that's kept in memory, does it? So what meaning does the word have here? Apart from this, and with the xzalloc_array() change requested by Andrew, this looks good to me. Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |