qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v7 26/51] hw/xen: Add xen_evtchn device for event channel emu


From: David Woodhouse
Subject: Re: [PATCH v7 26/51] hw/xen: Add xen_evtchn device for event channel emulation
Date: Tue, 17 Jan 2023 10:23:03 +0000
User-agent: Evolution 3.44.4-0ubuntu1

On Tue, 2023-01-17 at 10:00 +0000, Paul Durrant wrote:
> 
> > @@ -712,6 +717,11 @@ static int kvm_xen_soft_reset(void)
> >        CPUState *cpu;
> >        int err;
> >    
> > +    err = xen_evtchn_set_callback_param(0);
> 
> Doesn't this always result in -ENOSYS?

Hm?

Even at this point in the series, HVM_PARAM_CALLBACK_TYPE_VECTOR works
and doesn't result in -ENOSYS.

But even if xen_evtchn_set_callback_param() *was* a stub that just
returned -ENOSYS at this point, that would be OK, surely? We add the
(other) HVM_PARAM_CALLBACK_TYPE_* support later, which warrants
separate review because of the GSI and iothread lock fun.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]