Re: [PATCH v11 47/59] i386/xen: handle PV timer hypercalls

2023-02-20 Thread David Woodhouse
On Mon, 2023-02-20 at 14:29 +, Paul Durrant wrote: > [snip] > >    static bool kvm_xen_hcall_vcpu_op(struct kvm_xen_exit *exit, X86CPU *cpu, > > int cmd, int vcpu_id, uint64_t arg) > >    { > > -    CPUState *dest = qemu_get_cpu(vcpu_id); > >    CPUState

Re: [PATCH v11 47/59] i386/xen: handle PV timer hypercalls

2023-02-20 Thread Paul Durrant
On 16/02/2023 06:24, David Woodhouse wrote: From: Joao Martins 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 f

[PATCH v11 47/59] i386/xen: handle PV timer hypercalls

2023-02-15 Thread David Woodhouse
From: Joao Martins 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 hype