commit | e300a5eef43ed25dc415b47d67cdf8d8987a9bf8 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Sun Apr 03 20:37:59 2016 +1000 |
committer | Will Deacon <will.deacon@arm.com> | Mon Apr 11 11:59:57 2016 +0100 |
tree | 15758cd4717875a68c6b2d14748e87d7124f394a | |
parent | 62a15bd19897dd7cbcc35e74037bcba9dec39d02 [diff] |
Add basic infrastructure to run tasks on vCPUs This patch adds kvm_cpu__run_on_all_cpus() to run a task on each vCPU. This infrastructure uses signals to signal the vCPU to allow a task to be added to each vCPU's task. The vCPU executes any pending tasks in the cpu run loop Signed-off-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Will Deacon <will.deacon@arm.com>