qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH V2 3/3] virtio-net: announce self by guest


From: Amit Shah
Subject: Re: [Qemu-devel] [PATCH V2 3/3] virtio-net: announce self by guest
Date: Tue, 10 Jun 2014 11:50:33 +0530

On (Tue) 20 May 2014 [14:01:44], Jason Wang wrote:
> It's hard to track all mac addresses and their configurations (e.g
> vlan or ipv6) in qemu. Without this information, it's impossible to
> build proper garp packet after migration. The only possible solution
> to this is let guest (who knows all configurations) to do this.
> 
> So, this patch introduces a new readonly config status bit of virtio-net,
> VIRTIO_NET_S_ANNOUNCE which is used to notify guest to announce
> presence of its link through config update interrupt.When guest has
> done the announcement, it should ack the notification through
> VIRTIO_NET_CTRL_ANNOUNCE_ACK cmd. This feature is negotiated by a new
> feature bit VIRTIO_NET_F_ANNOUNCE (which has already been supported by
> Linux guest).
> 
> During load, a counter of announcing rounds is set so that after the vm is
> running it can trigger rounds of config interrupts to notify the guest to 
> build
> and send the correct garps.

Live migration is supposed to be transparent to guests.

Doing things this way makes the guest involved in live migration.
It's not desirable.  For networking, this may well be not possible.
Are there any ways of doing this w/o involving the guest that have
been considered?


                Amit



reply via email to

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