Map memory at destination .load_setup in vDPA-net migration
v2 cover Map memory at destination .load_setup in vDPA-net migration
Current memory operations like pinning may take a lot of time at the destination. Currently they are done after the source of the migration is stopped, and before the workload is resumed at the destination. This is a period where neigher traffic can flow, nor the VM workload can continue (downtime).
We can do better as we know the memory layout of the guest RAM at the destination from the moment the migration starts. Moving that operation allows QEMU to communicate the kernel the maps while the workload is still running in the source, so Linux can start mapping them.
Also, the destination of the guest memory may finish before the destination QEMU maps all the memory. In this case, the rest of the memory will be mapped at the same time as before applying this series, when the device is starting. So we're only improving with this series.
RFC TODO: We should be able to not finish the migration while the memory is still not mapped, but I still need to find how. Suggestions are welcome.
Note that further devices setup at the end of the migration may alter the guest memory layout. But same as the previous point, many operations are still done incrementally, like memory pinning, so we're saving time anyway.
Only tested with vdpa_sim. I'm sending this before full benchmark, as some work like [1] can be based on it, and Si-Wei agreed on benchmark this series with his experience.
This needs to be applied on top of [2], which perform some code reorganization that allows to map the memory without knowing the queue layout the guest configure on the device.
Future directions on top of this series may include:
* Iterative migration of virtio-net devices, as it may reduce downtime per [1]. vhost-vdpa net can apply the configuration through CVQ in the destination while the source is still migrating.
* Move more things ahead of migration time, like DRIVER_OK.
* Check that the devices of the destination are valid, and cancel the migration in case it is not.
RFC v2:
* Delegate map to another thread so it does no block QMP.
* Fix not allocating iova_tree if x-svq=on at the destination.
* Rebased on latest master.
* More cleanups of current code, that might be split from this series too.
[1] https://lore.kernel.org/qemu-devel/[email protected]/T/
[2] https://lists.nongnu.org/archive/html/qemu-devel/2023-11/msg05331.html
Eugenio Pérez (10):
vdpa: do not set virtio status bits if unneeded
vdpa: make batch_begin_once early return
vdpa: merge _begin_batch into _batch_begin_once
vdpa: extract out _dma_end_batch from _listener_commit
vdpa: factor out stop path of vhost_vdpa_dev_start
vdpa: check for iova tree initialized at net_client_start
vdpa: set backend capabilities at vhost_vdpa_init
vdpa: add vhost_vdpa_load_setup
vdpa: add vhost_vdpa_net_load_setup NetClient callback
virtio_net: register incremental migration handlers
include/hw/virtio/vhost-vdpa.h | 25 ++++ include/net/net.h | 6 + hw/net/virtio-net.c | 35 +++++ hw/virtio/vhost-vdpa.c | 257 +++++++++++++++++++++++++++------ net/vhost-vdpa.c | 37 ++++- 5 files changed, 312 insertions(+), 48 deletions(-)
Signature · 1 line
2.39.3
RFC PATCH v2 1/10 vdpa: do not set virtio status bits if unneeded
Next commits will set DRIVER and ACKNOWLEDGE flags repeatedly in the case of a migration destination. Let's save ioctls with this.
--- hw/virtio/vhost-vdpa.c | 4 ++++ 1 file changed, 4 insertions(+)
hw/virtio/vhost-vdpa.c +4 -0
@@ -510,6 +510,10 @@ static int vhost_vdpa_add_status(struct vhost_dev *dev, uint8_t status)if (ret <0 ) {return ret; } +if ((s & status) == status) { +/* Don't set bits already set */ +return 0 ; + } s |= status;
Signature · 1 line
2.39.3
RFC PATCH v2 2/10 vdpa: make batch_begin_once early return
In reply to Eugenio PérezPrefer early return so it is easier to merge vhost_vdpa_listener_begin_batch here and make iotlb baches begin and end symmetrical.
--- hw/virtio/vhost-vdpa.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
hw/virtio/vhost-vdpa.c +4 -3
@@ -160,11 +160,12 @@ static void vhost_vdpa_listener_begin_batch(VhostVDPAShared *s)static void vhost_vdpa_iotlb_batch_begin_once (VhostVDPAShared *s) { -if (s->backend_cap & (0x1ULL <<VHOST_BACKEND_F_IOTLB_BATCH ) && - !s->iotlb_batch_begin_sent) { -vhost_vdpa_listener_begin_batch (s); +if (!(s->backend_cap & (0x1ULL <<VHOST_BACKEND_F_IOTLB_BATCH )) || + s->iotlb_batch_begin_sent) { +return ; } +vhost_vdpa_listener_begin_batch (s); s->iotlb_batch_begin_sent = true; }
Signature · 1 line
2.39.3
RFC PATCH v2 3/10 vdpa: merge _begin_batch into _batch_begin_once
In reply to Eugenio PérezThere was only one call. This way we can make the begin and end of the batch symmetrical.
--- hw/virtio/vhost-vdpa.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-)
hw/virtio/vhost-vdpa.c +6 -11
@@ -143,7 +143,7 @@ int vhost_vdpa_dma_unmap(VhostVDPAShared *s, uint32_t asid, hwaddr iova,return ret; } -static void vhost_vdpa_listener_begin_batch (VhostVDPAShared *s) +static void vhost_vdpa_iotlb_batch_begin_once (VhostVDPAShared *s) {int fd = s->device_fd;struct vhost_msg_v2 msg = {
@@ -151,21 +151,16 @@ static void vhost_vdpa_listener_begin_batch(VhostVDPAShared *s) .iotlb.type = VHOST_IOTLB_BATCH_BEGIN, }; -trace_vhost_vdpa_listener_begin_batch (s, fd, msg.type, msg.iotlb.type); -if (write (fd, &msg,sizeof (msg)) !=sizeof (msg)) { -error_report ("failed to write, fd=%d, errno=%d (%s)" , - fd, errno,strerror (errno)); - } -} - -static void vhost_vdpa_iotlb_batch_begin_once (VhostVDPAShared *s) -{if (!(s->backend_cap & (0x1ULL <<VHOST_BACKEND_F_IOTLB_BATCH )) || s->iotlb_batch_begin_sent) {return ; } -vhost_vdpa_listener_begin_batch (s); +trace_vhost_vdpa_listener_begin_batch (s, fd, msg.type, msg.iotlb.type); +if (write (fd, &msg,sizeof (msg)) !=sizeof (msg)) { +error_report ("failed to write, fd=%d, errno=%d (%s)" , + fd, errno,strerror (errno)); + } s->iotlb_batch_begin_sent = true; }
Signature · 1 line
2.39.3
RFC PATCH v2 4/10 vdpa: extract out _dma_end_batch from _listener_commit
In reply to Eugenio PérezSo we can call out vhost_vdpa_dma_end_batch out of the listener callbacks.
--- hw/virtio/vhost-vdpa.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
hw/virtio/vhost-vdpa.c +8 -2
@@ -164,9 +164,8 @@ static void vhost_vdpa_iotlb_batch_begin_once(VhostVDPAShared *s) s->iotlb_batch_begin_sent = true; } -static void vhost_vdpa_listener_commit (MemoryListener *listener) +static void vhost_vdpa_dma_end_batch (VhostVDPAShared *s) { -VhostVDPAShared *s =container_of (listener, VhostVDPAShared, listener);struct vhost_msg_v2 msg = {};int fd = s->device_fd;
@@ -190,6 +189,13 @@ static void vhost_vdpa_listener_commit(MemoryListener *listener) s->iotlb_batch_begin_sent = false; } +static void vhost_vdpa_listener_commit (MemoryListener *listener) +{ +VhostVDPAShared *s =container_of (listener, VhostVDPAShared, listener); + +vhost_vdpa_dma_end_batch (s); +} +static void vhost_vdpa_iommu_map_notify (IOMMUNotifier *n,IOMMUTLBEntry *iotlb) { struct vdpa_iommu *iommu = container_of(n, struct vdpa_iommu, n);
Signature · 1 line
2.39.3
RFC PATCH v2 5/10 vdpa: factor out stop path of vhost_vdpa_dev_start
In reply to Eugenio PérezThis makes easier to build an error path in next patches. No functional change.
--- hw/virtio/vhost-vdpa.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
hw/virtio/vhost-vdpa.c +7 -3
@@ -1302,7 +1302,7 @@ static void vhost_vdpa_suspend(struct vhost_dev *dev)static int vhost_vdpa_dev_start (struct vhost_dev *dev,bool started) {struct vhost_vdpa *v = dev->opaque; -bool ok; +bool ok = true;trace_vhost_vdpa_dev_start (dev, started);if (started) {
@@ -1313,8 +1313,7 @@ static int vhost_vdpa_dev_start(struct vhost_dev *dev, bool started) } }else {vhost_vdpa_suspend (dev); -vhost_vdpa_svqs_stop (dev); -vhost_vdpa_host_notifiers_uninit (dev, dev->nvqs); + goto out_stop; }if (dev->vq_index + dev->nvqs != dev->vq_index_end) {
@@ -1333,6 +1332,11 @@ static int vhost_vdpa_dev_start(struct vhost_dev *dev, bool started) }return 0 ; + +out_stop: +vhost_vdpa_svqs_stop (dev); +vhost_vdpa_host_notifiers_uninit (dev, dev->nvqs); +return ok ?0 :-1 ; }static void vhost_vdpa_reset_status (struct vhost_dev *dev)
Signature · 1 line
2.39.3
RFC PATCH v2 6/10 vdpa: check for iova tree initialized at net_client_start
In reply to Eugenio PérezTo map the guest memory while it is migrating we need to create the iova_tree, as long as the destination uses x-svq=on. Checking to not override it.
The function vhost_vdpa_net_client_stop clear it if the device is stopped. If the guest starts the device again, the iova tree is recreated by vhost_vdpa_net_data_start_first or vhost_vdpa_net_cvq_start if needed, so old behavior is kept.
--- net/vhost-vdpa.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
net/vhost-vdpa.c +3 -1
@@ -341,7 +341,9 @@ static void vhost_vdpa_net_data_start_first(VhostVDPAState *s)migration_add_notifier (&s->migration_state, vdpa_net_migration_state_notifier); -if (v->shadow_vqs_enabled) { + +/* iova_tree may be initialized by vhost_vdpa_net_load_setup */ +if (v->shadow_vqs_enabled && !v->shared->iova_tree) { v->shared->iova_tree =vhost_iova_tree_new (v->shared->iova_range.first, v->shared->iova_range.last); }
Signature · 1 line
2.39.3
RFC PATCH v2 7/10 vdpa: set backend capabilities at vhost_vdpa_init
In reply to Eugenio PérezThe backend does not reset them until the vdpa file descriptor is closed so there is no harm in doing it only once.
This allows the destination of a live migration to premap memory in batches, using VHOST_BACKEND_F_IOTLB_BATCH.
--- hw/virtio/vhost-vdpa.c | 50 ++++++++++++++++-------------------------- 1 file changed, 19 insertions(+), 31 deletions(-)
hw/virtio/vhost-vdpa.c +19 -31
@@ -587,11 +587,25 @@ static int vhost_vdpa_init(struct vhost_dev *dev, void *opaque, Error **errp)struct vhost_vdpa *v = opaque;assert (dev->vhost_ops->backend_type ==VHOST_BACKEND_TYPE_VDPA );trace_vhost_vdpa_init (dev, v->shared, opaque); +uint64_t backend_features; +uint64_t qemu_backend_features =0x1ULL <<VHOST_BACKEND_F_IOTLB_MSG_V2 | +0x1ULL <<VHOST_BACKEND_F_IOTLB_BATCH | +0x1ULL <<VHOST_BACKEND_F_IOTLB_ASID | +0x1ULL <<VHOST_BACKEND_F_SUSPEND ;int ret; v->dev = dev; dev->opaque = opaque ; v->shared->listener = vhost_vdpa_memory_listener; + +if (vhost_vdpa_call (dev,VHOST_GET_BACKEND_FEATURES , &backend_features)) { +return -EFAULT ; + } + + backend_features &= qemu_backend_features; + + dev->backend_cap = backend_features; + v->shared->backend_cap = backend_features;vhost_vdpa_init_svq (dev, v);error_propagate (&dev->migration_blocker, v->migration_blocker);
@@ -599,6 +613,11 @@ static int vhost_vdpa_init(struct vhost_dev *dev, void *opaque, Error **errp)return 0 ; } + ret =vhost_vdpa_call (dev,VHOST_SET_BACKEND_FEATURES , &backend_features); +if (ret) { +return -EFAULT ; + } +/* * If dev->shadow_vqs_enabled at initialization that means the device has * been started with x-svq=on, so don't block migration
@@ -829,36 +848,6 @@ static int vhost_vdpa_set_features(struct vhost_dev *dev,return vhost_vdpa_add_status (dev,VIRTIO_CONFIG_S_FEATURES_OK ); } -static int vhost_vdpa_set_backend_cap (struct vhost_dev *dev) -{ -struct vhost_vdpa *v = dev->opaque; - -uint64_t features; -uint64_t f =0x1ULL <<VHOST_BACKEND_F_IOTLB_MSG_V2 | -0x1ULL <<VHOST_BACKEND_F_IOTLB_BATCH | -0x1ULL <<VHOST_BACKEND_F_IOTLB_ASID | -0x1ULL <<VHOST_BACKEND_F_SUSPEND ; -int r; - -if (vhost_vdpa_call (dev,VHOST_GET_BACKEND_FEATURES , &features)) { -return -EFAULT ; - } - - features &= f; - -if (vhost_vdpa_first_dev (dev)) { - r =vhost_vdpa_call (dev,VHOST_SET_BACKEND_FEATURES , &features); -if (r) { -return -EFAULT ; - } - } - - dev->backend_cap = features; - v->shared->backend_cap = features; - -return 0 ; -} -static int vhost_vdpa_get_device_id (struct vhost_dev *dev,uint32_t *device_id) {
@@ -1512,7 +1501,6 @@ const VhostOps vdpa_ops = { .vhost_set_vring_kick = vhost_vdpa_set_vring_kick, .vhost_set_vring_call = vhost_vdpa_set_vring_call, .vhost_get_features = vhost_vdpa_get_features, - .vhost_set_backend_cap = vhost_vdpa_set_backend_cap, .vhost_set_owner = vhost_vdpa_set_owner, .vhost_set_vring_endian = NULL, .vhost_backend_memslots_limit = vhost_vdpa_memslots_limit,
Signature · 1 line
2.39.3
RFC PATCH v2 8/10 vdpa: add vhost_vdpa_load_setup
In reply to Eugenio PérezCallers can use this function to setup the incoming migration thread.
This thread is able to map the guest memory while the migration is ongoing, without blocking QMP or other important tasks. While this allows the destination QEMU not to block, it expands the mapping time during migration instead of making it pre-migration.
This thread joins at vdpa backend device start, so it could happen that the guest memory is so large that we still have guest memory to map before this time. This can be improved in later iterations, when the destination device can inform QEMU that it is not ready to complete the migration.
If the device is not started, the clean of the mapped memory is done at .load_cleanup. This is far from ideal, as the destination machine has mapped all the guest ram for nothing, and now it needs to unmap it. However, we don't have information about the state of the device so its the best we can do. Once iterative migration is supported, this will be improved as we know the virtio state of the device.
TODO RFC: if the VM migrates before finishing all the maps, the source will stop but the destination is still not ready to continue, and it will wait until all guest RAM is mapped. It is still an improvement over doing all the map when the migration finish, but it should be easy to forbid the guest to stop until a condition is met.
TODO RFC: The memory unmapping if the device is not started is weird too, as ideally nothing would be mapped. This can be fixed when we migrate the device state iteratively, and we know for sure if the device is started or not. At this moment we don't have such information so there is no better alternative.
Other options considered:
* Coroutines: Overkill? What thread can I assign them, as vdpa does not have any dedicated iothread for the moment?
* QemuEvent or Mutex + Cond: Need to synchronize list access then, complicating the synchronization. As maps ops are heavier enough, it is not worth.
---
RFC v2:
* Use a dedicated thread for map instead of doing all in .load_setup, blocking QMP etc.
--- include/hw/virtio/vhost-vdpa.h | 25 +++++ hw/virtio/vhost-vdpa.c | 167 ++++++++++++++++++++++++++++++++- 2 files changed, 191 insertions(+), 1 deletion(-)
include/hw/virtio/vhost-vdpa.h +25 -0
@@ -17,6 +17,7 @@#include "hw/virtio/vhost-iova-tree.h" #include "hw/virtio/vhost-shadow-virtqueue.h" #include "hw/virtio/virtio.h" +#include "qemu/thread.h" #include "standard-headers/linux/vhost_types.h" /*
@@ -43,8 +44,30 @@ typedef struct vhost_vdpa_shared {/* Copy of backend features */ uint64_t backend_cap; +/* +* Thread to map memory in QEMU incoming migration. +* +* Incoming migration calls devices ->load_setup in the main thread, but +* map operations can take a long time. This forbids the main thread to +* serve other requests like QMP. +* +* It works by fetching jobs from map_queue until it receives +* VhostVDPAShared, signalling the end of thread job. From that point, +* thread is joined and maps requests are synchronous again. These new +* maps are not served from main thread, so there is no danger there. +*/ +QemuThread map_thread; +GAsyncQueue *map_queue; +bool map_thread_enabled; +bool iotlb_batch_begin_sent; +/* +* The memory listener has been registered, so DMA maps have been sent to +* the device. +*/ +bool listener_registered; +/* Vdpa must send shadow addresses as IOTLB key for data queues, not GPA */ bool shadow_data; } VhostVDPAShared;
@@ -73,6 +96,8 @@ int vhost_vdpa_dma_map(VhostVDPAShared *s, uint32_t asid, hwaddr iova, hwaddr size, void *vaddr, bool readonly);int vhost_vdpa_dma_unmap (VhostVDPAShared *s,uint32_t asid,hwaddr iova,hwaddr size); +int vhost_vdpa_load_setup (VhostVDPAShared *s,AddressSpace *dma_as); +int vhost_vdpa_load_cleanup (VhostVDPAShared *s,bool vhost_will_start); typedef struct vdpa_iommu { VhostVDPAShared *dev_shared;
hw/virtio/vhost-vdpa.c +166 -1
212 lines not on this page · raw message
Signature · 1 line
2.39.3
RFC PATCH v2 9/10 vdpa: add vhost_vdpa_net_load_setup NetClient callback
In reply to Eugenio PérezSo the vDPA backend knows when a migration incoming starts. NicState argument is needed so we can get the dma address space.
---
RFC v2:
* Solve git conflict with .set_steering_ebpf
* Fix x-svq=on use case which did not allocated iova_tree.
--- include/net/net.h | 6 ++++++ net/vhost-vdpa.c | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+)
include/net/net.h +6 -0
@@ -42,6 +42,7 @@ typedef struct NICConf {/* Net clients */ +struct NICState ;typedef void (NetPoll )(NetClientState *,bool enable);typedef bool (NetCanReceive )(NetClientState *);typedef int (NetStart )(NetClientState *);
@@ -69,6 +70,9 @@ typedef void (SocketReadStateFinalize)(SocketReadState *rs);typedef void (NetAnnounce )(NetClientState *);typedef bool (SetSteeringEBPF )(NetClientState *,int );typedef bool (NetCheckPeerType )(NetClientState *,ObjectClass *,Error **); +/* This can be called before start & pair, so get also the peer */ +typedef int (NetMigrationLoadSetup )(NetClientState *,struct NICState *); +typedef int (NetMigrationLoadCleanup )(NetClientState *,struct NICState *); typedef struct NetClientInfo { NetClientDriver type;
@@ -98,6 +102,8 @@ typedef struct NetClientInfo {NetAnnounce *announce;SetSteeringEBPF *set_steering_ebpf;NetCheckPeerType *check_peer_type; +NetMigrationLoadSetup *load_setup; +NetMigrationLoadCleanup *load_cleanup; } NetClientInfo;struct NetClientState {
net/vhost-vdpa.c +33 -0
@@ -407,6 +407,37 @@ static void vhost_vdpa_net_client_stop(NetClientState *nc) } } +static int vhost_vdpa_net_load_setup (NetClientState *nc,NICState *nic) +{ +VhostVDPAState *s =DO_UPCAST (VhostVDPAState, nc, nc); +VirtIONet *n =qemu_get_nic_opaque (&nic->ncs[0 ]); +VhostVDPAShared *shared = s->vhost_vdpa.shared; +int r; + +if (s->always_svq) { +/* iova tree is needed because of SVQ */ + shared->iova_tree =vhost_iova_tree_new (shared->iova_range.first, + shared->iova_range.last); + } + + r =vhost_vdpa_load_setup (shared, n->parent_obj.dma_as); +if (unlikely (r <0 )) { +g_clear_pointer (&s->vhost_vdpa.shared->iova_tree, + vhost_iova_tree_delete); + } + +return r; +} + +static int vhost_vdpa_net_load_cleanup (NetClientState *nc,NICState *nic) +{ +VhostVDPAState *s =DO_UPCAST (VhostVDPAState, nc, nc); +VirtIONet *n =qemu_get_nic_opaque (&nic->ncs[0 ]); + +return vhost_vdpa_load_cleanup (s->vhost_vdpa.shared, + n->parent_obj.status &VIRTIO_CONFIG_S_DRIVER_OK ); +} +static NetClientInfo net_vhost_vdpa_info = { .type =NET_CLIENT_DRIVER_VHOST_VDPA , .size =sizeof (VhostVDPAState),
@@ -419,6 +450,8 @@ static NetClientInfo net_vhost_vdpa_info = { .has_ufo = vhost_vdpa_has_ufo, .check_peer_type = vhost_vdpa_check_peer_type, .set_steering_ebpf = vhost_vdpa_set_steering_ebpf, + .load_setup = vhost_vdpa_net_load_setup, + .load_cleanup = vhost_vdpa_net_load_cleanup, }; static int64_t vhost_vdpa_get_vring_group(int device_fd, unsigned vq_index,
Signature · 1 line
2.39.3
RFC PATCH v2 10/10 virtio_net: register incremental migration handlers
In reply to Eugenio PérezThis way VirtIONet can detect when the incoming migration starts.
While registering in the backend (nc->peer) seems more logical, we need nic dma address space, and we cannot get it from the backend.
---
This could be done in vhost_vdpa or VirtIODevice struct, but future series will add state restore through CVQ so it's easier to start in VirtIONet directly. If we need to make this more generic, we can move to VirtIODevice and expose callbacks from VirtIONet class.
Also, the pointer may not be the best id, but there are not a lot of things initialized in n.
--- hw/net/virtio-net.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+)
hw/net/virtio-net.c +35 -0
@@ -38,6 +38,7 @@#include "qapi/qapi-events-migration.h" #include "hw/virtio/virtio-access.h" #include "migration/misc.h" +#include "migration/register.h" #include "standard-headers/linux/ethtool.h" #include "sysemu/sysemu.h" #include "trace.h"
@@ -3810,9 +3811,39 @@ static void virtio_net_device_unrealize(DeviceState *dev)virtio_cleanup (vdev); } +static int virtio_net_load_setup (QEMUFile *f,void *opaque) +{ +VirtIONet *n = opaque; +NetClientState *nc =qemu_get_subqueue (n->nic,0 ); + +if (nc->peer->info->load_setup) { +return nc->peer->info->load_setup (nc->peer, n->nic); + } + +return 0 ; +} + +static int virtio_net_load_cleanup (void *opaque) +{ +VirtIONet *n = opaque; +NetClientState *nc =qemu_get_subqueue (n->nic,0 ); + +if (nc->peer->info->load_cleanup) { +return nc->peer->info->load_cleanup (nc->peer, n->nic); + } + +return 0 ; +} + +static const SaveVMHandlers savevm_virtio_net_handlers = { + .load_setup = virtio_net_load_setup, + .load_cleanup = virtio_net_load_cleanup, +}; +static void virtio_net_instance_init (Object *obj) {VirtIONet *n =VIRTIO_NET (obj); +g_autoptr (GString) id =g_string_new (NULL );/* * The default config_size is sizeof(struct virtio_net_config).
@@ -3824,6 +3855,10 @@ static void virtio_net_instance_init(Object *obj) DEVICE(n));ebpf_rss_init (&n->ebpf_rss); + +g_string_printf (id,"%p" , n); +register_savevm_live (id->str,VMSTATE_INSTANCE_ID_ANY ,1 , + &savevm_virtio_net_handlers, n); }static int virtio_net_pre_save (void *opaque)
Signature · 1 line
2.39.3