Summary: bring up KVM network bridge immediately Detail: Users can experience long delays during VM migration, because the linux bridge by default will have a forwarding delay set. This means that the network will likely miss any gratuitous ARP from qemu notifying the network that the MAC has moved. This change is a common reccommendation for virtualization running on Linux bridges.
Signed-off-by: Marcus Sorensen <[email protected]> 1357259186 -0700 Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9c5c6265 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9c5c6265 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9c5c6265 Branch: refs/heads/ui-plugins Commit: 9c5c626546b414c6990fef8b04291c1a28264559 Parents: 6ce01c4 Author: Marcus Sorensen <[email protected]> Authored: Thu Jan 3 17:26:26 2013 -0700 Committer: Marcus Sorensen <[email protected]> Committed: Thu Jan 3 17:26:26 2013 -0700 ---------------------------------------------------------------------- scripts/vm/network/vnet/modifyvlan.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9c5c6265/scripts/vm/network/vnet/modifyvlan.sh ---------------------------------------------------------------------- diff --git a/scripts/vm/network/vnet/modifyvlan.sh b/scripts/vm/network/vnet/modifyvlan.sh index 5577825..8ed3905 100755 --- a/scripts/vm/network/vnet/modifyvlan.sh +++ b/scripts/vm/network/vnet/modifyvlan.sh @@ -67,6 +67,8 @@ addVlan() { return 2 fi fi + + brctl setfd $vlanBr 0 fi #pif is eslaved into vlanBr?
