You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be more specific about version errors, raise min required viona API
The recent multiqueue work includes an unconditional ioctl that was
introduced in V6 of the viona API. Propolis' expectation should have
been raised then, but it was missed in review; instead, trying to create
a vNIC on a too-old OS results in propolis panicking about
`Inappropriate ioctl for device`.
So, raise the minimum viona API as required. propolis-server will exit
at start if the OS is too old.
The message wasn't super clear though, complaining that:
> viona API version mismatch 4 != 6
so this comes with some adjustments to the version error reporting that
now produce this error on a too-old host:
> 0: checking version of viona
> 1: API version 4 is not at or above 6. OS is too old?
propolis-standalone allows you to try running something on a too-old
host on the expectation you're actively hacking on either the host or
Propolis, so it just offers
> ERRO viona: API version 4 is not at or above 6. OS is too old?
before continuing on (and in this case, panicking about the an
inappropriate ioctl).
0 commit comments