All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] question about patch "send the gratuitous by guest"
@ 2014-02-11  7:43 Huangweidong (C)
  2014-02-11  8:22 ` Jason Wang
  0 siblings, 1 reply; 7+ messages in thread
From: Huangweidong (C) @ 2014-02-11  7:43 UTC (permalink / raw)
  To: jasowang; +Cc: chenliang (T), qemu-devel

[-- Attachment #1: Type: text/plain, Size: 517 bytes --]

Hi,
    I found the network was broken after migrating the vm, the same as you said in "Send the
gratuitous by guest".The vm modify the mac of network card.IN the scenario with
vlan the network was broken too.
    The guest driver of virtio-net in linux kernel 3.10 has included the feature
which your patch refer to. But qemu has not included the feature. I want to use your
patch to resolve this problem. Could you give me some advice? And what's the plan about next version?
Thanks.


Best Regards!



[-- Attachment #2: Type: text/html, Size: 4394 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] question about patch "send the gratuitous by guest"
  2014-02-11  7:43 [Qemu-devel] question about patch "send the gratuitous by guest" Huangweidong (C)
@ 2014-02-11  8:22 ` Jason Wang
  2014-02-11  8:45   ` [Qemu-devel] 答复: " Huangweidong (C)
  2014-02-15  3:01   ` [Qemu-devel] " Weidong Huang
  0 siblings, 2 replies; 7+ messages in thread
From: Jason Wang @ 2014-02-11  8:22 UTC (permalink / raw)
  To: Huangweidong (C); +Cc: chenliang (T), qemu-devel

On 02/11/2014 03:43 PM, Huangweidong (C) wrote:
>
> Hi,
>
> I found the network was broken after migrating the vm, the same as you
> said in "Send the
>
> gratuitous by guest".The vm modify the mac of network card.IN the
> scenario with
>
> vlan the network was broken too.
>
> The guest driver of virtio-net in linux kernel 3.10 has included the
> feature
>
> which your patch refer to. But qemu has not included the feature. I
> want to use your
>
> patch to resolve this problem. Could you give me some advice? And
> what’s the plan about next version?
>
> Thanks.
>
> Best Regards!
>

I'm not sure whether or not it's easy to rebase my old series. Or you
can wait for few days for me to post the new version.

Thanks

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] 答复: question about patch "send the gratuitous by guest"
  2014-02-11  8:22 ` Jason Wang
@ 2014-02-11  8:45   ` Huangweidong (C)
  2014-02-15  3:01   ` [Qemu-devel] " Weidong Huang
  1 sibling, 0 replies; 7+ messages in thread
From: Huangweidong (C) @ 2014-02-11  8:45 UTC (permalink / raw)
  To: Jason Wang; +Cc: chenliang (T), qemu-devel

Glad to see your serial patch soon!

THX.

-----邮件原件-----
发件人: Jason Wang [mailto:jasowang@redhat.com] 
发送时间: 2014年2月11日 16:23
收件人: Huangweidong (C)
抄送: chenliang (T); qemu-devel@nongnu.org
主题: Re: question about patch "send the gratuitous by guest"

On 02/11/2014 03:43 PM, Huangweidong (C) wrote:
>
> Hi,
>
> I found the network was broken after migrating the vm, the same as you 
> said in "Send the
>
> gratuitous by guest".The vm modify the mac of network card.IN the 
> scenario with
>
> vlan the network was broken too.
>
> The guest driver of virtio-net in linux kernel 3.10 has included the 
> feature
>
> which your patch refer to. But qemu has not included the feature. I 
> want to use your
>
> patch to resolve this problem. Could you give me some advice? And 
> what’s the plan about next version?
>
> Thanks.
>
> Best Regards!
>

I'm not sure whether or not it's easy to rebase my old series. Or you can wait for few days for me to post the new version.

Thanks

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] question about patch "send the gratuitous by guest"
  2014-02-11  8:22 ` Jason Wang
  2014-02-11  8:45   ` [Qemu-devel] 答复: " Huangweidong (C)
@ 2014-02-15  3:01   ` Weidong Huang
  2014-02-18  2:48     ` Jason Wang
  1 sibling, 1 reply; 7+ messages in thread
From: Weidong Huang @ 2014-02-15  3:01 UTC (permalink / raw)
  To: Jason Wang; +Cc: chenliang (T), Huangweidong (C), qemu-devel

Hi,

after testing your patch,the guest will send arp packet when it
configure vlan or alias on the virtio net.

But bridge or bond do not send arp. what's your opinion?

BTW,this feature need modify the driver of virtio net.

Only the newest linux kernel support it. So what's about old guest os?

Thanks.


On 2014/2/11 16:22, Jason Wang wrote:
> On 02/11/2014 03:43 PM, Huangweidong (C) wrote:
>> Hi,
>>
>> I found the network was broken after migrating the vm, the same as you
>> said in "Send the
>>
>> gratuitous by guest".The vm modify the mac of network card.IN the
>> scenario with
>>
>> vlan the network was broken too.
>>
>> The guest driver of virtio-net in linux kernel 3.10 has included the
>> feature
>>
>> which your patch refer to. But qemu has not included the feature. I
>> want to use your
>>
>> patch to resolve this problem. Could you give me some advice? And
>> what’s the plan about next version?
>>
>> Thanks.
>>
>> Best Regards!
>>
> I'm not sure whether or not it's easy to rebase my old series. Or you
> can wait for few days for me to post the new version.
>
> Thanks
>
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] question about patch "send the gratuitous by guest"
  2014-02-15  3:01   ` [Qemu-devel] " Weidong Huang
@ 2014-02-18  2:48     ` Jason Wang
  2014-02-18  4:25       ` Weidong Huang
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Wang @ 2014-02-18  2:48 UTC (permalink / raw)
  To: Weidong Huang; +Cc: chenliang (T), Huangweidong (C), qemu-devel

On 02/15/2014 11:01 AM, Weidong Huang wrote:
> it
> configure vlan or alias on the virtio net.
>
> But bridge or bond do not send arp. what's your opinion?

Do you mean bridge or bond in guest?
>
> BTW,this feature need modify the driver of virtio net.
>
> Only the newest linux kernel support it. So what's about old guest os?
>

It will be hard for the legacy device to know about migration. One
workaround is:

- enable arp_notify
- toggle link status after migration

> Thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] question about patch "send the gratuitous by guest"
  2014-02-18  2:48     ` Jason Wang
@ 2014-02-18  4:25       ` Weidong Huang
  2014-02-18  5:14         ` Jason Wang
  0 siblings, 1 reply; 7+ messages in thread
From: Weidong Huang @ 2014-02-18  4:25 UTC (permalink / raw)
  To: Jason Wang; +Cc: chenliang (T), Huangweidong (C), qemu-devel

On 2014/2/18 10:48, Jason Wang wrote:

> On 02/15/2014 11:01 AM, Weidong Huang wrote:
>> it
>> configure vlan or alias on the virtio net.
>>
>> But bridge or bond do not send arp. what's your opinion?
> 
> Do you mean bridge or bond in guest?

yes.

>>
>> BTW,this feature need modify the driver of virtio net.
>>
>> Only the newest linux kernel support it. So what's about old guest os?
>>
> 
> It will be hard for the legacy device to know about migration. One
> workaround is:
> 
> - enable arp_notify
> - toggle link status after migration
> 
>> Thanks.
> 
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] question about patch "send the gratuitous by guest"
  2014-02-18  4:25       ` Weidong Huang
@ 2014-02-18  5:14         ` Jason Wang
  0 siblings, 0 replies; 7+ messages in thread
From: Jason Wang @ 2014-02-18  5:14 UTC (permalink / raw)
  To: Weidong Huang; +Cc: chenliang (T), Huangweidong (C), qemu-devel

On 02/18/2014 12:25 PM, Weidong Huang wrote:
> On 2014/2/18 10:48, Jason Wang wrote:
>
>> > On 02/15/2014 11:01 AM, Weidong Huang wrote:
>>> >> it
>>> >> configure vlan or alias on the virtio net.
>>> >>
>>> >> But bridge or bond do not send arp. what's your opinion?
>> > 
>> > Do you mean bridge or bond in guest?
> yes.
>

I'm not quite understand the issue.

For bonding, doesn't it depend on the mac address of lower device to
work? Btw, it's a little strange to use bonding in guest, since you may
lose the falilover function because there's no MII support for
virtio-net or emulated card.

For bridge, the questions is the same.

So, it should work, if garp was sent by lower devices?

Thanks

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-18  5:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-11  7:43 [Qemu-devel] question about patch "send the gratuitous by guest" Huangweidong (C)
2014-02-11  8:22 ` Jason Wang
2014-02-11  8:45   ` [Qemu-devel] 答复: " Huangweidong (C)
2014-02-15  3:01   ` [Qemu-devel] " Weidong Huang
2014-02-18  2:48     ` Jason Wang
2014-02-18  4:25       ` Weidong Huang
2014-02-18  5:14         ` Jason Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.