]> www.infradead.org Git - users/dwmw2/qemu.git/commit
i386/xen: handle PV timer hypercalls xenfv-kvm-4
authorJoao Martins <joao.m.martins@oracle.com>
Mon, 17 Sep 2018 11:04:54 +0000 (07:04 -0400)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 21 Dec 2022 00:43:14 +0000 (00:43 +0000)
commit10b0831c1c0d9625947a57c96e77ab71ddb1b8ff
tree1e6b74db416f4228d5de7916f50cac7dc2b9f932
parente0a350fc0dd50a7f1801064a0499e3546621a801
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