qemu-e2k/hw/i386
Pavel Dovgalyuk 076893d3d0 kvmvapic: patch_instruction fix
When QEMU works in icount mode cpu_restore_state function performs two actions:
restoring the program counter and updating icount to the correct value.
kvmvapic's patch_instruction function is called by cpu_report_tpr_access
function which also invokes cpu_restore_state. It results to calling
cpu_restore_state twice - in cpu_report_tpr_access and in patch_instruction.
When icount is disabled second call is safe. But when icount is enabled,
cpu_restore_state modifies instructions counter twice, which leads to incorrect
behavior. This patch removes useless cpu_restore_state call from kvmvapic.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
2014-10-31 11:29:02 +01:00
..
kvm bootindex: move calling add_boot_device_patch to bootindex setter function 2014-10-15 10:46:01 +02:00
xen hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
acpi-build.c Access BusState::allow_hotplug using wraper qbus_is_hotpluggable() 2014-10-15 05:03:13 +02:00
acpi-build.h
acpi-defs.h intel-iommu: add DMAR table to ACPI tables 2014-08-28 23:10:22 +02:00
acpi-dsdt-cpu-hotplug.dsl
acpi-dsdt-dbug.dsl
acpi-dsdt-hpet.dsl
acpi-dsdt-isa.dsl
acpi-dsdt-pci-crs.dsl
acpi-dsdt.dsl
acpi-dsdt.hex.generated
bios-linker-loader.c
bios-linker-loader.h
intel_iommu_internal.h intel-iommu: add IOTLB using hash table 2014-08-28 23:10:22 +02:00
intel_iommu.c intel-iommu: add IOTLB using hash table 2014-08-28 23:10:22 +02:00
kvmvapic.c kvmvapic: patch_instruction fix 2014-10-31 11:29:02 +01:00
Makefile.objs intel-iommu: introduce Intel IOMMU (VT-d) emulation 2014-08-28 23:10:22 +02:00
multiboot.c
multiboot.h
pc_piix.c -machine vmport=off: Allow disabling of VMWare ioport emulation 2014-10-31 11:29:01 +01:00
pc_q35.c -machine vmport=off: Allow disabling of VMWare ioport emulation 2014-10-31 11:29:01 +01:00
pc_sysfw.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
pc.c -machine vmport=off: Allow disabling of VMWare ioport emulation 2014-10-31 11:29:01 +01:00
q35-acpi-dsdt.dsl
q35-acpi-dsdt.hex.generated
smbios.c
ssdt-mem.dsl
ssdt-mem.hex.generated
ssdt-misc.dsl
ssdt-misc.hex.generated
ssdt-pcihp.dsl
ssdt-pcihp.hex.generated
ssdt-proc.dsl
ssdt-proc.hex.generated
ssdt-tpm.dsl
ssdt-tpm.hex.generated ssdt-tpm: add generated hex file to git 2014-08-25 00:16:06 +02:00