Allow fallback to userspace only upon migration, only for specific features
and only if 'vhostforce' is not requested.

Changes from v1:
Patch 1 dropeed (will be submitted in another series)
Added device callback in case the migration should fail due to missing features

Yuri Benditovich (3):
  net: add ability to hide (disable) vhost_net
  virtio: introduce 'missing_features_migrated' device callback
  virtio-net: implement missing_features_migrated callback

 hw/net/vhost_net.c         |  4 ++-
 hw/net/virtio-net.c        | 51 ++++++++++++++++++++++++++++++++++++++
 hw/virtio/virtio.c         |  8 ++++++
 include/hw/virtio/virtio.h |  8 ++++++
 include/net/net.h          |  1 +
 5 files changed, 71 insertions(+), 1 deletion(-)

-- 
2.26.2


Reply via email to