diff options
author | Jason J. Herne <jjherne@linux.vnet.ibm.com> | 2015-09-08 13:12:33 -0400 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-09-30 09:42:04 +0200 |
commit | 2adcc85d407c1ab985f5abed808c78dbb84f4773 (patch) | |
tree | cb610b80d3a637771959daa9eb9da7297a07c90f /ioport.c | |
parent | 2a6e6e59dfdeb0b98e744eb8f110a236f26a3ea4 (diff) | |
download | qemu-2adcc85d407c1ab985f5abed808c78dbb84f4773.tar.gz qemu-2adcc85d407c1ab985f5abed808c78dbb84f4773.tar.bz2 qemu-2adcc85d407c1ab985f5abed808c78dbb84f4773.zip |
cpu: Provide vcpu throttling interface
Provide a method to throttle guest cpu execution. CPUState is augmented with
timeout controls and throttle start/stop functions. To throttle the guest cpu
the caller simply has to call the throttle set function and provide a percentage
of throttle time.
Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'ioport.c')
0 files changed, 0 insertions, 0 deletions