* There is no legacy path any more. All static information is retrieved in
the first pass.
* d->arch.cpuids[] doesn't exist any more.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
* First pass:
* - Perform max_leaf/subleaf calculations. Out-of-range leaves return
* all zeros, following the AMD model.
- * - Fill in *res for leaves no longer handled on the legacy path.
+ * - Fill in *res with static data.
* - Dispatch the virtualised leaves to their respective handlers.
*/
switch ( leaf )
bool call_policy_changed = false; /* Avoid for_each_vcpu() unnecessarily */
/*
- * Skip update for leaves we don't care about. This avoids the overhead
- * of recalculate_cpuid_policy() and making d->arch.cpuids[] needlessly
- * longer to search.
+ * Skip update for leaves we don't care about, to avoid the overhead of
+ * recalculate_cpuid_policy().
*/
switch ( ctl->input[0] )
{