]> www.infradead.org Git - users/dwmw2/qemu.git/commit
i386/xen: handle PV timer hypercalls
authorJoao Martins <joao.m.martins@oracle.com>
Mon, 17 Sep 2018 11:04:54 +0000 (07:04 -0400)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 30 Jan 2023 20:21:31 +0000 (20:21 +0000)
commit29d8891e2dc1aa6f69fb4bf3cc214bd128f04cf5
treee75d75b1e571936d9aeb824ab56bf0a80cbdf66c
parenta5f53db5aaac42703d2772e49d45b66191f52cb5
i386/xen: handle PV timer hypercalls

Introduce support for one shot and periodic mode of Xen PV timers,
whereby timer interrupts come through a special virq event channel
with deadlines being set through:

1) set_timer_op hypercall (only oneshot)
2) vcpu_op hypercall for {set,stop}_{singleshot,periodic}_timer
hypercalls

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/i386/kvm/xen_evtchn.c
hw/i386/kvm/xen_evtchn.h
target/i386/cpu.h
target/i386/kvm/xen-emu.c
target/i386/machine.c