cpus: make icount warp behave well with respect to stop/cont
This patch makes icount warp use the new QEMU_CLOCK_VIRTUAL_RT clock. This way, icount's QEMU_CLOCK_VIRTUAL will never count time during which the virtual machine is stopped. Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
4e7fa73ec2
commit
bf2a7ddb0a
@@ -41,7 +41,8 @@
|
||||
*
|
||||
* Outside icount mode, this clock is the same as @QEMU_CLOCK_VIRTUAL.
|
||||
* In icount mode, this clock counts nanoseconds while the virtual
|
||||
* machine is running.
|
||||
* machine is running. It is used to increase @QEMU_CLOCK_VIRTUAL
|
||||
* while the CPUs are sleeping and thus not executing instructions.
|
||||
*/
|
||||
|
||||
typedef enum {
|
||||
|
Reference in New Issue
Block a user