]> 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>
Fri, 20 Jan 2023 12:28:52 +0000 (12:28 +0000)
commit0f94ec6d1591869d3f61d5389d1e483c9d6c65ee
treed0d8fb6a42c0e9df91ec431e3a528eb35b8ff8fe
parent69d8c8968a04c7e08eda6e90a36db091d63e1656
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