examples/power: set core type in guest app
The changes here are minimal, as the guest app functionality is not changing at all, but there is a new element in the channel_packet struct that needs to have a default set (channel_packet->core_type). Signed-off-by: David Hunt <david.hunt@intel.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
This commit is contained in:
parent
757bf2e7cf
commit
39701c19dd
@ -92,6 +92,7 @@ set_policy_defaults(struct channel_packet *pkt)
|
||||
pkt->timer_policy.hours_to_use_traffic_profile[0] = 8;
|
||||
pkt->timer_policy.hours_to_use_traffic_profile[1] = 10;
|
||||
|
||||
pkt->core_type = CORE_TYPE_VIRTUAL;
|
||||
pkt->workload = LOW;
|
||||
pkt->policy_to_use = TIME;
|
||||
pkt->command = PKT_POLICY;
|
||||
|
Loading…
Reference in New Issue
Block a user