|
@@ -201,7 +201,7 @@ struct vhost_net *vhost_net_init(VhostNetOptions *options)
|
|
net->dev.features &= ~(1ULL << VIRTIO_NET_F_MRG_RXBUF);
|
|
net->dev.features &= ~(1ULL << VIRTIO_NET_F_MRG_RXBUF);
|
|
}
|
|
}
|
|
if (~net->dev.features & net->dev.backend_features) {
|
|
if (~net->dev.features & net->dev.backend_features) {
|
|
- fprintf(stderr, "vhost lacks feature mask %" PRIu64
|
|
|
|
|
|
+ fprintf(stderr, "vhost lacks feature mask 0x%" PRIx64
|
|
" for backend\n",
|
|
" for backend\n",
|
|
(uint64_t)(~net->dev.features & net->dev.backend_features));
|
|
(uint64_t)(~net->dev.features & net->dev.backend_features));
|
|
goto fail;
|
|
goto fail;
|
|
@@ -213,7 +213,7 @@ struct vhost_net *vhost_net_init(VhostNetOptions *options)
|
|
if (net->nc->info->type == NET_CLIENT_DRIVER_VHOST_USER) {
|
|
if (net->nc->info->type == NET_CLIENT_DRIVER_VHOST_USER) {
|
|
features = vhost_user_get_acked_features(net->nc);
|
|
features = vhost_user_get_acked_features(net->nc);
|
|
if (~net->dev.features & features) {
|
|
if (~net->dev.features & features) {
|
|
- fprintf(stderr, "vhost lacks feature mask %" PRIu64
|
|
|
|
|
|
+ fprintf(stderr, "vhost lacks feature mask 0x%" PRIx64
|
|
" for backend\n",
|
|
" for backend\n",
|
|
(uint64_t)(~net->dev.features & features));
|
|
(uint64_t)(~net->dev.features & features));
|
|
goto fail;
|
|
goto fail;
|