]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: use external virtual timers
authorPavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Mon, 29 Mar 2021 08:06:03 +0000 (11:06 +0300)
committerMax Reitz <mreitz@redhat.com>
Mon, 29 Mar 2021 16:04:29 +0000 (18:04 +0200)
commitad0ce642799c15e3e5783bfcad60450c3f5687e1
treec25f0cc5121246bb3eed13dbb2c7467f252c2af3
parentd751448d4fe904d82db52d454fe85534992d167a
qcow2: use external virtual timers

Regular virtual timers are used to emulate timings
related to vCPU and peripheral states. QCOW2 uses timers
to clean the cache. These timers should have external
flag. In the opposite case they affect the execution
and it can't be recorded and replayed.
This patch adds external flag to the timer for qcow2
cache clean.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <161700516327.1141158.8366564693714562536.stgit@pasha-ThinkPad-X280>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2.c