]> 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>
Sat, 28 Jan 2023 07:58:37 +0000 (08:58 +0100)
commit5a1b55c1cd39dfa136d359a7ae00556a419d58db
tree718c3a6414e483441147cec19726a8500c762544
parent874532b0259ba74991c78ec3319a82b178abfa46
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