[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/5] Extensible VCPU state IOCTL
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PATCH 0/5] Extensible VCPU state IOCTL |
Date: |
Fri, 06 Nov 2009 19:39:23 +0100 |
User-agent: |
StGIT/0.14.3 |
This series adds support for the upcoming new KVM IOCTL to get/set VPCU
states as a set up substates. See [1] for more details on this KVM
extension.
While I did not fully convert the corresponding qemu-kvm part (it is
expected to morph into upstream soon), QEMU should receive a complete
conversion. So this series first fixes, cleans up, and refactors some
KVM code, and then adds KVM_GET/SET_VCPU_STATE as an alternative to the
classic multi-IOCTL state getting and setting. I did this full
conversion with all its #ifdefs in order to be able to drop legacy
support at some (still distant) point in the future.
Along with the conversion a few fragile migration, save/restore and
reset cases are fixed. We now have access to all missing exception,
interrupt, and NMI states KVM kept private so far. See [2] for details.
Find this series also at git://git.kiszka.org/qemu.git queues/kvm
Jan Kiszka (5):
kvm: x86: Fix merge artifact of f8d926e9 about mp_state
kvm: Add arch reset handler
kvm: x86: Refactor use of interrupt_bitmap
kvm: x86: Add support for KVM_GET/PUT_VCPU_STATE
kvm: x86: Add support for event states
kvm-all.c | 13 ++
kvm.h | 3 +
target-i386/cpu.h | 8 +-
target-i386/kvm.c | 514 ++++++++++++++++++++++++++++++-------------------
target-i386/machine.c | 29 +--
target-ppc/kvm.c | 4 +
6 files changed, 346 insertions(+), 225 deletions(-)
[1] http://thread.gmane.org/gmane.comp.emulators.kvm.devel/42699
[2] http://thread.gmane.org/gmane.comp.emulators.kvm.devel/42699/focus=42926
- [Qemu-devel] [PATCH 0/5] Extensible VCPU state IOCTL,
Jan Kiszka <=
- [Qemu-devel] [PATCH 2/5] kvm: Add arch reset handler, Jan Kiszka, 2009/11/06
- [Qemu-devel] [PATCH 4/5] kvm: x86: Add support for KVM_GET/PUT_VCPU_STATE, Jan Kiszka, 2009/11/06
- [Qemu-devel] [PATCH 3/5] kvm: x86: Refactor use of interrupt_bitmap, Jan Kiszka, 2009/11/06
- [Qemu-devel] [PATCH 1/5] kvm: x86: Fix merge artifact of f8d926e9 about mp_state, Jan Kiszka, 2009/11/06
- [Qemu-devel] [PATCH 5/5] kvm: x86: Add support for event states, Jan Kiszka, 2009/11/06