Displaying 10 results from an estimated 10 matches for "failover_existing_slave_register".
2018 Jun 13
2
[PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
...ks to me it's still a bug of
> guest:
>
> E.g primary could be probed before failover_register() in guest. Then
> we will miss the enslaving of primary forever.
That is not an issue. Even if the primary is probed before failover driver, it will
enslave the primary via the call to failover_existing_slave_register() as part of
failover_register() routine.
>
> Thanks
>
>>
>>> Thanks
>>>
>>>> We can move some of this code to management as well,
>>>> architecturally it
>>>> does not make too much sense but it might be easier
>>>>...
2018 Jun 13
2
[PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
...ks to me it's still a bug of
> guest:
>
> E.g primary could be probed before failover_register() in guest. Then
> we will miss the enslaving of primary forever.
That is not an issue. Even if the primary is probed before failover driver, it will
enslave the primary via the call to failover_existing_slave_register() as part of
failover_register() routine.
>
> Thanks
>
>>
>>> Thanks
>>>
>>>> We can move some of this code to management as well,
>>>> architecturally it
>>>> does not make too much sense but it might be easier
>>>>...
2018 May 24
0
[PATCH net-next v12 1/5] net: Introduce generic failover module
...WN:
+ case NETDEV_CHANGE:
+ return failover_slave_link_change(event_dev);
+ case NETDEV_CHANGENAME:
+ return failover_slave_name_change(event_dev);
+ default:
+ return NOTIFY_DONE;
+ }
+}
+
+static struct notifier_block failover_notifier = {
+ .notifier_call = failover_event,
+};
+
+static void
+failover_existing_slave_register(struct net_device *failover_dev)
+{
+ struct net *net = dev_net(failover_dev);
+ struct net_device *dev;
+
+ rtnl_lock();
+ for_each_netdev(net, dev) {
+ if (netif_is_failover(dev))
+ continue;
+ if (ether_addr_equal(failover_dev->perm_addr, dev->perm_addr))
+ failover_slave_register(de...
2018 Jun 21
2
[PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
...; > E.g primary could be probed before failover_register() in guest.
> > > Then we will miss the enslaving of primary forever.
> >
> > That is not an issue. Even if the primary is probed before failover
> > driver, it will
> > enslave the primary via the call to failover_existing_slave_register()
> > as part of
> > failover_register() routine.
>
> Aha I get it. So the enumeration order is not an issue.
>
> Consider primary may still be seen by guest kernel even if we delay its
> visibility, I wonder whether we can control the lifecycle of primary through
>...
2018 Jun 13
0
[PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
...t;> guest:
>>
>> E.g primary could be probed before failover_register() in guest. Then
>> we will miss the enslaving of primary forever.
>
> That is not an issue. Even if the primary is probed before failover
> driver, it will
> enslave the primary via the call to failover_existing_slave_register()
> as part of
> failover_register() routine.
Aha I get it. So the enumeration order is not an issue.
Consider primary may still be seen by guest kernel even if we delay its
visibility, I wonder whether we can control the lifecycle of primary
through driver but not qemu. This can simplif...
2018 Jun 22
0
[virtio-dev] Re: [PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
...could be probed before failover_register() in guest.
>> > > Then we will miss the enslaving of primary forever.
>> >
>> > That is not an issue. Even if the primary is probed before failover
>> > driver, it will
>> > enslave the primary via the call to failover_existing_slave_register()
>> > as part of
>> > failover_register() routine.
>>
>> Aha I get it. So the enumeration order is not an issue.
>>
>> Consider primary may still be seen by guest kernel even if we delay its
>> visibility, I wonder whether we can control the lifecycl...
2018 Jun 12
4
[PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
On Wed, Jun 06, 2018 at 10:29:03AM +0800, Jason Wang wrote:
>
>
> On 2018?06?05? 20:33, Michael S. Tsirkin wrote:
> > I don't think this is sufficient.
> >
> > If both primary and standby devices are present, a legacy guest without
> > support for the feature might see two devices with same mac and get
> > confused.
> >
> > I think that we
2018 Jun 12
4
[PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
On Wed, Jun 06, 2018 at 10:29:03AM +0800, Jason Wang wrote:
>
>
> On 2018?06?05? 20:33, Michael S. Tsirkin wrote:
> > I don't think this is sufficient.
> >
> > If both primary and standby devices are present, a legacy guest without
> > support for the feature might see two devices with same mac and get
> > confused.
> >
> > I think that we
2018 May 22
7
[PATCH net-next v11 0/5] Enable virtio_net to act as a standby for a passthru device
The main motivation for this patch is to enable cloud service providers
to provide an accelerated datapath to virtio-net enabled VMs in a
transparent manner with no/minimal guest userspace changes. This also
enables hypervisor controlled live migration to be supported with VMs that
have direct attached SR-IOV VF devices.
Patch 1 introduces a failover module that provides a generic interface for
2018 May 24
11
[PATCH net-next v12 0/5] Enable virtio_net to act as a standby for a passthru device
The main motivation for this patch is to enable cloud service providers
to provide an accelerated datapath to virtio-net enabled VMs in a
transparent manner with no/minimal guest userspace changes. This also
enables hypervisor controlled live migration to be supported with VMs that
have direct attached SR-IOV VF devices.
Patch 1 introduces a failover module that provides a generic interface for