On 11/12/2017 16:22, Christoffer Dall wrote: > I find the special casing with the immediate return a bit ugly. Maybe > introduce a helper async_vcpu_ioctl() or so that sets -ENOIOCTLCMD in > its default case and return here if ret != -ENOIOCTLCMD? Christian, > what do you think? I'll post my attempt at it shortly. Thanks, Paolo