summaryrefslogtreecommitdiffstats
path: root/qom
diff options
context:
space:
mode:
authorAndreas Färber2013-08-26 05:39:29 +0200
committerAndreas Färber2014-03-13 19:20:46 +0100
commitefee734004c42ba185098086e5185d8a85ed02af (patch)
treec833ce3ecabba6aa1595db4e5312ccd023b639b6 /qom
parentcpu: Move can_do_io field from CPU_COMMON to CPUState (diff)
downloadqemu-efee734004c42ba185098086e5185d8a85ed02af.tar.gz
qemu-efee734004c42ba185098086e5185d8a85ed02af.tar.xz
qemu-efee734004c42ba185098086e5185d8a85ed02af.zip
cpu: Move icount_extra field from CPU_COMMON to CPUState
Reset it. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'qom')
-rw-r--r--qom/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qom/cpu.c b/qom/cpu.c
index e7d59997ee..a4f6a784af 100644
--- a/qom/cpu.c
+++ b/qom/cpu.c
@@ -241,6 +241,7 @@ static void cpu_common_reset(CPUState *cpu)
cpu->halted = 0;
cpu->mem_io_pc = 0;
cpu->mem_io_vaddr = 0;
+ cpu->icount_extra = 0;
cpu->can_do_io = 0;
}