Re: [libvirt] 答复: Re: [PATCH] qemu: change the name of tap device for a tapand bridge network

2017-05-09 Thread Daniel P. Berrange
FYI your replies to messages on the list are almost impossible to read & understand. Your email client is sending HTML and badly mangled plain text. Please make it send plain text only to public mailing lists, with line wrapping and sensibly trim & quote text you are replying to. I can't see any

[libvirt] 答复: Re: [PATCH] qemu: change the name of tap device for a tapand bridge network

2017-05-08 Thread lu.zhipeng
On Mon, May 08, 2017 at 03:03:30PM +0800, ZhiPeng Lu wrote:>> In qemuProcessStop we explicitly remove the port from the openvswitch bridge after>> qemuProcessKill is called. But there is a certain interval of time between>> deleting tap device and removing it from bridge. The problem occurs whe

Re: [libvirt] 答复: Re: [PATCH] qemu: change the name of tap device for a tapand bridge network

2017-05-04 Thread Daniel P. Berrange
On Thu, May 04, 2017 at 08:28:03AM +0800, lu.zhip...@zte.com.cn wrote: > I'm worried that the network packet loss rate will increase after > reversing the order. I don't see why that is relevant - we're killing the guest or unplugging the NIC, so there's no traffic being sent on this tap device.

[libvirt] 答复: Re: [PATCH] qemu: change the name of tap device for a tapand bridge network

2017-05-03 Thread lu.zhipeng
I'm worried that the network packet loss rate will increase after reversing the order. 为了让您的VPlat虚拟化故障得到高效的处理,请上报故障到: $VPlat技术支持。 芦志朋 luzhipeng IT开发工程师 IT Development Engineer 操作系统产品部/中心研究院/系统产品 OS Product Dept./Central R&D Institute/System Product 深圳市南山区科技南路55号中兴

Re: [libvirt] 答复: Re: [PATCH] qemu: change the name of tap device for a tapand bridge network

2017-04-28 Thread Joel Wirāmu Pauling
I'll try and explain the steps/situation where this is an issue. Say for example you have your router/dhcpd done inside a VM guest - you use macvtap devices and vlans off the hypervisor to get the traffic in and out (WAN and LAN). And you want the LAN side to provide connectivity to the host as we

Re: [libvirt] 答复: Re: [PATCH] qemu: change the name of tap device for a tapand bridge network

2017-04-28 Thread Laine Stump
On 04/28/2017 07:23 PM, Joel Wirāmu Pauling wrote: > Possibly related I notice race conditions caused by vnic never getting > loaded if an existing bridge is already up (by OS init scripts etc) and > stopping VM's from getting started. Can you explain this more exactly? In particular, by "vnic" do

Re: [libvirt] 答复: Re: [PATCH] qemu: change the name of tap device for a tapand bridge network

2017-04-28 Thread Joel Wirāmu Pauling
Possibly related I notice race conditions caused by vnic never getting loaded if an existing bridge is already up (by OS init scripts etc) and stopping VM's from getting started. Often this is behavior you want ; i.e having Host Hypervisor NIC's added and up before libvirtd sets up it's nics/bridg

[libvirt] 答复: Re: [PATCH] qemu: change the name of tap device for a tapand bridge network

2017-04-28 Thread lu.zhipeng
>On Fri, Apr 28, 2017 at 05:23:19PM +0800, ZhiPeng Lu wrote:>> Creating tap device and adding the device to bridge are not atomic operation.>> Similarly deleting tap device and removing it from bridge are not atomic operation.>>The Problem occurs when two vms start and shutdown. When one vm with