qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH v2 0/3] virtio-net: graceful drop of vhost for TAP


From: Jason Wang
Subject: Re: [RFC PATCH v2 0/3] virtio-net: graceful drop of vhost for TAP
Date: Thu, 25 Mar 2021 14:59:24 +0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.8.1


在 2021/3/22 下午8:24, Yuri Benditovich 写道:
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


Hi Yuri:

Have a quick glance at the series. A questions is why we need to do the fallback only during load?

I think we should do it in the device initializating. E.g when the vhost features can not satisfy, we should disable vhost since there.

Thanks



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(-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]