Home
last modified time | relevance | path

Searched refs:vhost_net (Results 1 – 25 of 164) sorted by relevance

1234567

/dports/emulators/qemu60/qemu-6.0.0/net/
H A Dvhost-vdpa.c31 VHostNetState *vhost_net; member
66 return s->vhost_net; in vhost_vdpa_get_vhost_net()
97 if (s->vhost_net) { in vhost_vdpa_del()
105 struct vhost_net *net = NULL; in vhost_vdpa_add()
121 if (s->vhost_net) { in vhost_vdpa_add()
123 g_free(s->vhost_net); in vhost_vdpa_add()
125 s->vhost_net = net; in vhost_vdpa_add()
143 if (s->vhost_net) { in vhost_vdpa_cleanup()
145 g_free(s->vhost_net); in vhost_vdpa_cleanup()
146 s->vhost_net = NULL; in vhost_vdpa_cleanup()
[all …]
H A Dvhost-user.c28 VHostNetState *vhost_net; member
38 return s->vhost_net; in vhost_user_get_vhost_net()
58 if (s->vhost_net) { in vhost_user_stop()
73 struct vhost_net *net = NULL; in vhost_user_start()
103 if (s->vhost_net) { in vhost_user_start()
107 s->vhost_net = net; in vhost_user_start()
154 if (s->vhost_net) { in net_vhost_user_cleanup()
156 g_free(s->vhost_net); in net_vhost_user_cleanup()
157 s->vhost_net = NULL; in net_vhost_user_cleanup()
241 if (s->vhost_net) { in chr_closed_bh()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/net/
H A Dvhost-vdpa.c31 VHostNetState *vhost_net; member
66 return s->vhost_net; in vhost_vdpa_get_vhost_net()
97 if (s->vhost_net) { in vhost_vdpa_del()
105 struct vhost_net *net = NULL; in vhost_vdpa_add()
121 if (s->vhost_net) { in vhost_vdpa_add()
123 g_free(s->vhost_net); in vhost_vdpa_add()
125 s->vhost_net = net; in vhost_vdpa_add()
143 if (s->vhost_net) { in vhost_vdpa_cleanup()
145 g_free(s->vhost_net); in vhost_vdpa_cleanup()
146 s->vhost_net = NULL; in vhost_vdpa_cleanup()
[all …]
H A Dvhost-user.c28 VHostNetState *vhost_net; member
38 return s->vhost_net; in vhost_user_get_vhost_net()
58 if (s->vhost_net) { in vhost_user_stop()
73 struct vhost_net *net = NULL; in vhost_user_start()
103 if (s->vhost_net) { in vhost_user_start()
107 s->vhost_net = net; in vhost_user_start()
154 if (s->vhost_net) { in net_vhost_user_cleanup()
156 g_free(s->vhost_net); in net_vhost_user_cleanup()
157 s->vhost_net = NULL; in net_vhost_user_cleanup()
241 if (s->vhost_net) { in chr_closed_bh()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/net/
H A Dvhost_net.c40 struct vhost_net { struct
147 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init()
222 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
307 struct vhost_net *net; in vhost_net_start()
379 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
407 VHostNetState *vhost_net = 0; in get_vhost_net() local
415 vhost_net = tap_get_vhost_net(nc); in get_vhost_net()
418 vhost_net = vhost_user_get_vhost_net(nc); in get_vhost_net()
419 assert(vhost_net); in get_vhost_net()
425 return vhost_net; in get_vhost_net()
[all …]
/dports/emulators/qemu/qemu-6.2.0/hw/net/
H A Dvhost_net-stub.c28 struct vhost_net *vhost_net_init(VhostNetOptions *options) in vhost_net_init()
46 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
50 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features()
55 int vhost_net_get_config(struct vhost_net *net, uint8_t *config, in vhost_net_get_config()
60 int vhost_net_set_config(struct vhost_net *net, const uint8_t *data, in vhost_net_set_config()
66 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features()
85 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done()
100 int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu) in vhost_net_set_mtu()
H A Dvhost_net.c159 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init()
241 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
328 struct vhost_net *net; in vhost_net_start()
434 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
462 VHostNetState *vhost_net = 0; in get_vhost_net() local
470 vhost_net = tap_get_vhost_net(nc); in get_vhost_net()
474 vhost_net = vhost_user_get_vhost_net(nc); in get_vhost_net()
475 assert(vhost_net); in get_vhost_net()
480 vhost_net = vhost_vdpa_get_vhost_net(nc); in get_vhost_net()
481 assert(vhost_net); in get_vhost_net()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/hw/net/
H A Dvhost_net-stub.c28 struct vhost_net *vhost_net_init(VhostNetOptions *options) in vhost_net_init()
46 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
50 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features()
55 int vhost_net_get_config(struct vhost_net *net, uint8_t *config, in vhost_net_get_config()
60 int vhost_net_set_config(struct vhost_net *net, const uint8_t *data, in vhost_net_set_config()
66 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features()
85 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done()
100 int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu) in vhost_net_set_mtu()
H A Dvhost_net.c155 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init()
232 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
319 struct vhost_net *net; in vhost_net_start()
403 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
431 VHostNetState *vhost_net = 0; in get_vhost_net() local
439 vhost_net = tap_get_vhost_net(nc); in get_vhost_net()
443 vhost_net = vhost_user_get_vhost_net(nc); in get_vhost_net()
444 assert(vhost_net); in get_vhost_net()
449 vhost_net = vhost_vdpa_get_vhost_net(nc); in get_vhost_net()
450 assert(vhost_net); in get_vhost_net()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/hw/net/
H A Dvhost_net-stub.c28 struct vhost_net *vhost_net_init(VhostNetOptions *options) in vhost_net_init()
46 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
50 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features()
55 int vhost_net_get_config(struct vhost_net *net, uint8_t *config, in vhost_net_get_config()
60 int vhost_net_set_config(struct vhost_net *net, const uint8_t *data, in vhost_net_set_config()
66 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features()
85 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done()
100 int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu) in vhost_net_set_mtu()
H A Dvhost_net.c155 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init()
232 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
319 struct vhost_net *net; in vhost_net_start()
403 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
431 VHostNetState *vhost_net = 0; in get_vhost_net() local
439 vhost_net = tap_get_vhost_net(nc); in get_vhost_net()
443 vhost_net = vhost_user_get_vhost_net(nc); in get_vhost_net()
444 assert(vhost_net); in get_vhost_net()
449 vhost_net = vhost_vdpa_get_vhost_net(nc); in get_vhost_net()
450 assert(vhost_net); in get_vhost_net()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/net/
H A Dvhost_net-stub.c28 struct vhost_net *vhost_net_init(VhostNetOptions *options) in vhost_net_init()
46 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
50 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features()
55 int vhost_net_get_config(struct vhost_net *net, uint8_t *config, in vhost_net_get_config()
60 int vhost_net_set_config(struct vhost_net *net, const uint8_t *data, in vhost_net_set_config()
66 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features()
85 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done()
100 int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu) in vhost_net_set_mtu()
H A Dvhost_net.c159 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init()
239 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
323 struct vhost_net *net; in vhost_net_start()
407 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
435 VHostNetState *vhost_net = 0; in get_vhost_net() local
443 vhost_net = tap_get_vhost_net(nc); in get_vhost_net()
447 vhost_net = vhost_user_get_vhost_net(nc); in get_vhost_net()
448 assert(vhost_net); in get_vhost_net()
453 vhost_net = vhost_vdpa_get_vhost_net(nc); in get_vhost_net()
454 assert(vhost_net); in get_vhost_net()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/net/
H A Dvhost-user.c28 VHostNetState *vhost_net; member
38 return s->vhost_net; in vhost_user_get_vhost_net()
58 if (s->vhost_net) { in vhost_user_stop()
73 struct vhost_net *net = NULL; in vhost_user_start()
103 if (s->vhost_net) { in vhost_user_start()
107 s->vhost_net = net; in vhost_user_start()
154 if (s->vhost_net) { in net_vhost_user_cleanup()
156 g_free(s->vhost_net); in net_vhost_user_cleanup()
157 s->vhost_net = NULL; in net_vhost_user_cleanup()
238 if (s->vhost_net) { in chr_closed_bh()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/net/
H A Dvhost-user.c28 VHostNetState *vhost_net; member
38 return s->vhost_net; in vhost_user_get_vhost_net()
58 if (s->vhost_net) { in vhost_user_stop()
73 struct vhost_net *net = NULL; in vhost_user_start()
103 if (s->vhost_net) { in vhost_user_start()
107 s->vhost_net = net; in vhost_user_start()
154 if (s->vhost_net) { in net_vhost_user_cleanup()
156 g_free(s->vhost_net); in net_vhost_user_cleanup()
157 s->vhost_net = NULL; in net_vhost_user_cleanup()
238 if (s->vhost_net) { in chr_closed_bh()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/hw/net/
H A Dvhost_net.c36 struct vhost_net { struct
145 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init()
222 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
285 static void vhost_net_stop_one(struct vhost_net *net, in vhost_net_stop_one()
317 struct vhost_net *net; in vhost_net_start()
389 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
417 VHostNetState *vhost_net = 0; in get_vhost_net() local
425 vhost_net = tap_get_vhost_net(nc); in get_vhost_net()
429 vhost_net = vhost_user_get_vhost_net(nc); in get_vhost_net()
430 assert(vhost_net); in get_vhost_net()
[all …]
H A Dvhost_net-stub.c28 struct vhost_net *vhost_net_init(VhostNetOptions *options) in vhost_net_init()
46 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
50 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features()
55 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features()
74 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done()
89 int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu) in vhost_net_set_mtu()
/dports/emulators/qemu-utils/qemu-4.2.1/hw/net/
H A Dvhost_net.c36 struct vhost_net { struct
145 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init()
222 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
285 static void vhost_net_stop_one(struct vhost_net *net, in vhost_net_stop_one()
317 struct vhost_net *net; in vhost_net_start()
389 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
417 VHostNetState *vhost_net = 0; in get_vhost_net() local
425 vhost_net = tap_get_vhost_net(nc); in get_vhost_net()
429 vhost_net = vhost_user_get_vhost_net(nc); in get_vhost_net()
430 assert(vhost_net); in get_vhost_net()
[all …]
H A Dvhost_net-stub.c28 struct vhost_net *vhost_net_init(VhostNetOptions *options) in vhost_net_init()
46 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
50 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features()
55 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features()
74 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done()
89 int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu) in vhost_net_set_mtu()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/net/
H A Dvhost_net.c36 struct vhost_net { struct
145 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init()
222 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
285 static void vhost_net_stop_one(struct vhost_net *net, in vhost_net_stop_one()
317 struct vhost_net *net; in vhost_net_start()
389 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
417 VHostNetState *vhost_net = 0; in get_vhost_net() local
425 vhost_net = tap_get_vhost_net(nc); in get_vhost_net()
429 vhost_net = vhost_user_get_vhost_net(nc); in get_vhost_net()
430 assert(vhost_net); in get_vhost_net()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/net/
H A Dvhost_net.c36 struct vhost_net { struct
145 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init()
222 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
285 static void vhost_net_stop_one(struct vhost_net *net, in vhost_net_stop_one()
317 struct vhost_net *net; in vhost_net_start()
389 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
417 VHostNetState *vhost_net = 0; in get_vhost_net() local
425 vhost_net = tap_get_vhost_net(nc); in get_vhost_net()
429 vhost_net = vhost_user_get_vhost_net(nc); in get_vhost_net()
430 assert(vhost_net); in get_vhost_net()
[all …]
/dports/emulators/qemu/qemu-6.2.0/net/
H A Dvhost-user.c28 VHostNetState *vhost_net; member
38 return s->vhost_net; in vhost_user_get_vhost_net()
58 if (s->vhost_net) { in vhost_user_stop()
73 struct vhost_net *net = NULL; in vhost_user_start()
104 if (s->vhost_net) { in vhost_user_start()
108 s->vhost_net = net; in vhost_user_start()
155 if (s->vhost_net) { in net_vhost_user_cleanup()
157 g_free(s->vhost_net); in net_vhost_user_cleanup()
158 s->vhost_net = NULL; in net_vhost_user_cleanup()
256 if (s->vhost_net) { in chr_closed_bh()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/net/
H A Dvhost-user.c28 VHostNetState *vhost_net; member
38 return s->vhost_net; in vhost_user_get_vhost_net()
58 if (s->vhost_net) { in vhost_user_stop()
73 struct vhost_net *net = NULL; in vhost_user_start()
103 if (s->vhost_net) { in vhost_user_start()
107 s->vhost_net = net; in vhost_user_start()
154 if (s->vhost_net) { in net_vhost_user_cleanup()
156 g_free(s->vhost_net); in net_vhost_user_cleanup()
157 s->vhost_net = NULL; in net_vhost_user_cleanup()
238 if (s->vhost_net) { in chr_closed_bh()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/net/
H A Dvhost-user.c28 VHostNetState *vhost_net; member
38 return s->vhost_net; in vhost_user_get_vhost_net()
58 if (s->vhost_net) { in vhost_user_stop()
73 struct vhost_net *net = NULL; in vhost_user_start()
103 if (s->vhost_net) { in vhost_user_start()
107 s->vhost_net = net; in vhost_user_start()
154 if (s->vhost_net) { in net_vhost_user_cleanup()
156 g_free(s->vhost_net); in net_vhost_user_cleanup()
157 s->vhost_net = NULL; in net_vhost_user_cleanup()
238 if (s->vhost_net) { in chr_closed_bh()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/net/
H A Dvhost-user.c28 VHostNetState *vhost_net; member
38 return s->vhost_net; in vhost_user_get_vhost_net()
58 if (s->vhost_net) { in vhost_user_stop()
73 struct vhost_net *net = NULL; in vhost_user_start()
104 if (s->vhost_net) { in vhost_user_start()
108 s->vhost_net = net; in vhost_user_start()
155 if (s->vhost_net) { in net_vhost_user_cleanup()
157 g_free(s->vhost_net); in net_vhost_user_cleanup()
158 s->vhost_net = NULL; in net_vhost_user_cleanup()
242 if (s->vhost_net) { in chr_closed_bh()
[all …]

1234567