diff options
| author | Mihail Abakumov | 2017-05-19 11:36:15 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2017-06-07 18:22:02 +0200 |
| commit | 5b003a40bb1ab14d0398e91f03393d3c6b9577cd (patch) | |
| tree | e823d36ee2bfd4dc9d9769409eabdaaaba42909a /linux-headers/linux | |
| parent | target/i386: use multiple CPU AddressSpaces (diff) | |
| download | qemu-5b003a40bb1ab14d0398e91f03393d3c6b9577cd.tar.gz qemu-5b003a40bb1ab14d0398e91f03393d3c6b9577cd.tar.xz qemu-5b003a40bb1ab14d0398e91f03393d3c6b9577cd.zip | |
i386: fix read/write cr with icount option
Running Windows with icount causes a crash in instruction of write cr.
This patch fixes it.
Reading and writing cr cause an icount read because there are called
cpu_get_apic_tpr and cpu_set_apic_tpr functions. So, there is need
gen_io_start()/gen_io_end() calls.
Signed-off-by: Mihail Abakumov <mikhail.abakumov@ispras.ru>
Message-Id: <ffb376034ff184f2fcbe93d5317d9e76@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions
