[pve-devel] IFF_VNET_HDR ioctl on tap device

Alexandre DERUMIER aderumier at odiso.com
Wed Apr 18 06:27:02 CEST 2012


Hi, you are right, this is because they pass a file descriptor.

So it's already ok with current implementation.


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 17 Avril 2012 12:50:30 
Objet: RE: [pve-devel] IFF_VNET_HDR ioctl on tap device 

AFAIK Libvirt always pass a file descriptor, so they need that hack. 

> -----Original Message----- 
> From: Alexandre DERUMIER [mailto:aderumier at odiso.com] 
> Sent: Dienstag, 17. April 2012 12:40 
> To: Dietmar Maurer 
> Cc: pve-devel at pve.proxmox.com 
> Subject: Re: [pve-devel] IFF_VNET_HDR ioctl on tap device 
> 
> The debian bugreport of user was about a string change in qemu , which 
> cause libvirt to not doing ioctl, and perfs was slower. 
> So i'm not sure qemu do it himself. 
> I'll try to investigate about it this week,doing some iperf stats. 
> 
> -Alexandre 
> 
> 
> ----- Mail original ----- 
> 
> De: "Dietmar Maurer" <dietmar at proxmox.com> 
> À: "Alexandre DERUMIER" <aderumier at odiso.com> 
> Cc: pve-devel at pve.proxmox.com 
> Envoyé: Mardi 17 Avril 2012 12:23:18 
> Objet: RE: [pve-devel] IFF_VNET_HDR ioctl on tap device 
> 
> 
> 
> > -----Original Message----- 
> > From: Alexandre DERUMIER [mailto:aderumier at odiso.com] 
> > Sent: Dienstag, 17. April 2012 12:12 
> > To: Dietmar Maurer 
> > Cc: pve-devel at pve.proxmox.com 
> > Subject: Re: [pve-devel] IFF_VNET_HDR ioctl on tap device 
> > 
> > I thinked to put it somewhere in /var/lib/qemu-server/pve-bridge after 
> > tap device creation ? 
> 
> Are you sure we need that. Seem that is already in 
> 
> qemu-kvm/net/tap-linux.c (line 57) 
> 
> Or is that something else? 
> 
> - Dietmar 
> 
> 
> 
> 
> 
> -- 
> 
> -- 
> 
> 
> 
> 
> Alexandre D erumier 
> Ingénieur Système 
> Fixe : 03 20 68 88 90 
> Fax : 03 20 68 90 81 
> 45 Bvd du Général Leclerc 59100 Roubaix - France 
> 12 rue Marivaux 75002 Paris - France 
> 




-- 

-- 




	Alexandre D erumier 
Ingénieur Système 
Fixe : 03 20 68 88 90 
Fax : 03 20 68 90 81 
45 Bvd du Général Leclerc 59100 Roubaix - France 
12 rue Marivaux 75002 Paris - France 
	



More information about the pve-devel mailing list