Lines Matching refs:ver_msg
4261 * Check whether the major/minor version specified in "ver_msg" is supported
4265 vds_supported_version(vio_ver_msg_t *ver_msg)
4279 if (ver_msg->ver_major == vds_version[i].major) {
4280 if (ver_msg->ver_minor > vds_version[i].minor) {
4282 ver_msg->ver_minor, vds_version[i].minor);
4283 ver_msg->ver_minor = vds_version[i].minor;
4295 if (ver_msg->ver_major > vds_version[i].major) {
4296 ver_msg->ver_major = vds_version[i].major;
4297 ver_msg->ver_minor = vds_version[i].minor;
4312 ver_msg->ver_major = 0;
4313 ver_msg->ver_minor = 0;
4327 vio_ver_msg_t *ver_msg = (vio_ver_msg_t *)msg;
4337 if (msglen != sizeof (*ver_msg)) {
4339 "received %lu bytes", sizeof (*ver_msg), msglen);
4343 if (ver_msg->dev_class != VDEV_DISK) {
4345 VDEV_DISK, ver_msg->dev_class);
4353 ver_msg->dev_class = VDEV_DISK_SERVER;
4362 if (!vds_supported_version(ver_msg))
4371 vd->sid = ver_msg->tag.vio_sid;
4379 vd->version.major = ver_msg->ver_major;
4380 vd->version.minor = ver_msg->ver_minor;
4383 ver_msg->ver_major, ver_msg->ver_minor);