|
@@ -165,7 +165,6 @@ static int net_vhost_vdpa_init(NetClientState *peer, const char *device,
|
|
|
assert(name);
|
|
|
nc = qemu_new_net_client(&net_vhost_vdpa_info, peer, device, name);
|
|
|
snprintf(nc->info_str, sizeof(nc->info_str), TYPE_VHOST_VDPA);
|
|
|
- nc->queue_index = 0;
|
|
|
s = DO_UPCAST(VhostVDPAState, nc, nc);
|
|
|
vdpa_device_fd = qemu_open_old(vhostdev, O_RDWR);
|
|
|
if (vdpa_device_fd == -1) {
|