qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] Extensible VCPU state IOCTL
@ 2009-11-06 18:39 Jan Kiszka
  2009-11-06 18:39 ` [Qemu-devel] [PATCH 1/5] kvm: x86: Fix merge artifact of f8d926e9 about mp_state Jan Kiszka
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Jan Kiszka @ 2009-11-06 18:39 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Marcelo Tosatti, qemu-devel, Avi Kivity

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-09 19:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-06 18:39 [Qemu-devel] [PATCH 0/5] Extensible VCPU state IOCTL Jan Kiszka
2009-11-06 18:39 ` [Qemu-devel] [PATCH 1/5] kvm: x86: Fix merge artifact of f8d926e9 about mp_state Jan Kiszka
2009-11-06 18:39 ` [Qemu-devel] [PATCH 3/5] kvm: x86: Refactor use of interrupt_bitmap Jan Kiszka
2009-11-06 18:39 ` [Qemu-devel] [PATCH 2/5] kvm: Add arch reset handler Jan Kiszka
2009-11-06 18:39 ` [Qemu-devel] [PATCH 5/5] kvm: x86: Add support for event states Jan Kiszka
2009-11-06 18:39 ` [Qemu-devel] [PATCH 4/5] kvm: x86: Add support for KVM_GET/PUT_VCPU_STATE Jan Kiszka
2009-11-09 19:02   ` [Qemu-devel] [PATCH v2 " Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).