]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386: hvf: refactor event injection code for hvf
authorSergio Andres Gomez Del Real <sergio.g.delreal@gmail.com>
Wed, 13 Sep 2017 09:05:21 +0000 (04:05 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Dec 2017 14:01:48 +0000 (15:01 +0100)
commitb7394c8394d38cb38b6db14eb431cac7a91e7140
tree68ed6476103dfb40f8e214d33f2a2ad362f0434d
parentbabfa20ca4721e950d8096f32b1dc091763a8837
i386: hvf: refactor event injection code for hvf

This patch refactors the event-injection code for hvf by using the
appropriate fields already provided by CPUX86State. At vmexit, it fills
these fields so that hvf_inject_interrupts can just retrieve them without
calling into hvf.

Signed-off-by: Sergio Andres Gomez Del Real <Sergio.G.DelReal@gmail.com>
Message-Id: <20170913090522.4022-14-Sergio.G.DelReal@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/hvf-all.c
target/i386/hvf-utils/vmcs.h
target/i386/hvf-utils/vmx.h
target/i386/hvf-utils/x86hvf.c
target/i386/kvm.c