Detecting it isn't enough though, we will need a new ioctl to notifyWell, although I think adding an ioctl is doable, may I know what the use case there will be for kernel to leverage such info directly? Is there a case QEMU can't do with dedicate ioctls later if there's indeed differentiation (legacy v.s. modern) needed?
the kernel that it's a legacy guest. Ugh :(
One of the reason I asked is if this ioctl becomes a mandate for vhost-vdpa kernel. QEMU would reject initialize vhost-vdpa if doesn't see this ioctl coming?
If it's optional, suppose the kernel may need it only when it becomes necessary?
Thanks,
-Siwei