Statistics
| Branch: | Revision:

root / hw / kvm @ cff0cfbe

Name Size
apic.c 5.9 kB
clock.c 3.6 kB
clock.h 420 Bytes
i8254.c 8.6 kB
i8259.c 3.6 kB
ioapic.c 3.1 kB

Latest revisions

# Date Author Comment
0cdd3d14 06/11/2012 02:18 pm Jan Kiszka

kvm: i8254: Fix conversion of in-kernel to userspace state

Due to a offset between the clock used to generate the in-kernel
count_load_time (CLOCK_MONOTONIC) and the clock used for processing this
in userspace (vm_clock), reading back the output of PIT channel 2 via...

0614cb82 06/11/2012 12:57 pm Jim Meyering

kvm/apic: correct short memset

kvm_put_apic_state's attempt to clear kapic before setting its
bits cleared sizeof(void
) bytes (no more than 8) rather than the
intended 1024 (KVM_APIC_REG_SIZE) bytes. Spotted by coverity.

Signed-off-by: Jim Meyering <>...

ffb8d429 05/17/2012 12:04 am Jan Kiszka

kvm: x86: Wire up MSI support for in-kernel irqchip

Catch writes to the MSI MMIO region in the KVM APIC and forward them to
the kernel. Provide the kernel support GSI routing, this allows to
enable MSI support also for in-kernel irqchip mode.

Signed-off-by: Jan Kiszka <>...

f349c12c 04/13/2012 01:01 am Eric B Munson

kvmclock: guest stop notification

Often when a guest is stopped from the qemu console, it will report spurious
soft lockup warnings on resume. There are kernel patches being discussed that
will give the host the ability to tell the guest that it is being stopped and...

4a8fa5dc 03/14/2012 11:20 pm Andreas Färber

i386 hw/: Don't use CPUState

Scripted conversion:
for file in hw/apic.h hw/kvm/apic.c hw/kvmvapic.c hw/pc.c hw/vmport.c hw/xen_machine_pv.c; do
sed -i "s/CPUState/CPUX86State/g" $file
done

Signed-off-by: Andreas Färber <>
Acked-by: Anthony Liguori <>

03f48b07 03/13/2012 08:23 pm Andreas Färber

kvmclock: Always register type

Currently, the "kvmclock" type is only registered when kvm_enabled().

This breaks when moving type registration to before command line
parsing (so that QOM types can be used for CPU and machine).

Since the QOM classes are lazy-initialized anyway and kvmclock_create()...

5d17c0d2 03/07/2012 12:27 pm Jan Kiszka

kvm: x86: Add user space part for in-kernel i8254

This provides the required user space stubs to enable the in-kernel
i8254 emulation of KVM.

The in-kernel model supports lost tick compensation according to the
"delay" policy. This is enabled by default and can be switched off via a...

5918ff68 03/01/2012 11:26 pm Anthony Liguori

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

  • qemu-kvm/uq/master:
    pc-bios: update kvmvapic.bin
    kvmvapic: Use optionrom helpers
    optionsrom: Reserve space for checksum
    kvmvapic: Simplify mp/up_set_tpr
    kvmvapic: Introduce TPR access optimization for Windows guests...
e5ad936b 02/18/2012 12:15 pm Jan Kiszka

kvmvapic: Introduce TPR access optimization for Windows guests

This enables acceleration for MMIO-based TPR registers accesses of
32-bit Windows guest systems. It is mostly useful with KVM enabled,
either on older Intel CPUs (without flexpriority feature, can also be...

aa24822b 02/17/2012 05:58 pm Jan Kiszka

i8259: Do not clear level-triggered lines in IRR on init

When an input line is handled as level-triggered, it will immediately
raise an IRQ on the output of a PIC again that goes through an init
reset. So only clear the edge-triggered inputs from IRR in that...

View revisions

Also available in: Atom