Skip to content

uq/master: Introduce KVM PIT support

Jan Kiszka kvm qemu-devel 2 versions – Applied

Status from this message: Applied to uq/master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyApplied
  2. v14 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- Rebased over recent upstream master
- Aligned license of hw/kvm/i8254.c to the other PIT files

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4i8254: Factor out base class for KVM reuseMakefile.objs hw/i8254.c hw/i8254_common.c +1 more+424 -2390 replies
2/4i8254: Open-code timer restorehw/i8254.c hw/i8254_common.c+19 -30 replies
3/4kvm: Add kvm_has_pit_state2 helperkvm-all.c kvm-stub.c kvm.h+16 -00 replies
4/4kvm: x86: Add user space part for in-kernel i8254Makefile.target hw/i8254.h hw/kvm/i8254.c +1 more+278 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] uq/master: Introduce KVM PIT support

This adds another piece of qemu-kvm to upstream: The accelerated in-kernel model of the i8254. It does this in the same fashion as the interrupt controllers were already introduced. And it even has one bug less than qemu-kvm: PC speaker output still works with KVM acceleration enabled.

Changes in v3:
- Rebased over recent upstream master
- Aligned license of hw/kvm/i8254.c to the other PIT files

The patches apply on top of upstream commit 88e6c60671, thus require an uq/master update.

Please merge.

Jan Kiszka (4):
i8254: Factor out base class for KVM reuse
i8254: Open-code timer restore
kvm: Add kvm_has_pit_state2 helper
kvm: x86: Add user space part for in-kernel i8254

 Makefile.objs       |    2 +-
 Makefile.target     |    2 +-
 hw/i8254.c          |  281 +++++++---------------------------------------
 hw/i8254.h          |   11 ++
 hw/i8254_common.c   |  311 +++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/i8254_internal.h |   85 ++++++++++++++
 hw/kvm/i8254.c      |  254 +++++++++++++++++++++++++++++++++++++++++
 hw/pc.c             |   14 ++-
 kvm-all.c           |   10 ++
 kvm-stub.c          |    5 +
 kvm.h               |    1 +
 11 files changed, 734 insertions(+), 242 deletions(-)
 create mode 100644 hw/i8254_common.c
 create mode 100644 hw/i8254_internal.h
 create mode 100644 hw/kvm/i8254.c
Signature · 1 line
1.7.3.4