[pve-devel] Qemu nic link status

Alexandre DERUMIER aderumier at odiso.com
Wed Dec 10 09:38:46 CET 2014





	

Alexandre Derumier 
Ingénieur système et stockage 


Fixe : 03 20 68 90 88 
Fax : 03 20 68 90 81 


45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 


MonSiteEstLent.com - Blog dédié à la webperformance et la gestion de pics de trafic 


De: "Wolfgang Link" <wolfgang at linksystems.org> 
À: "aderumier" <aderumier at odiso.com> 
Cc: "pve-devel" <pve-devel at pve.proxmox.com> 
Envoyé: Mercredi 10 Décembre 2014 08:45:47 
Objet: Re: [pve-devel] Qemu nic link status 

I want to make a new feature where you can control the nic link. 

for the gui we need to show the status. 


2014-12-10 8:34 GMT+01:00 Alexandre DERUMIER < aderumier at odiso.com > : 


>>Is there something I have been missed? 

No, links status is not implemented. 

Maybe can we make a qemu patch for this ? 

(They are some example in net.c , qmp_set_link (), to get the current status link.) 

Why do you need it exactly ? 



----- Mail original ----- 
De: "Wolfgang Link" < wolfgang at linksystems.org > 
À: "aderumier" < aderumier at odiso.com > 
Cc: "pve-devel" < pve-devel at pve.proxmox.com > 
Envoyé: Mardi 9 Décembre 2014 15:32:40 
Objet: Re: [pve-devel] Qemu nic link status 

Hi Alexandre, 

thanks for your answer. 
When i use hmp "info network" i get only informations about the network settings. 
nothing about the status. 

>qm> info network 
>net0: index=0,type=nic,model=virtio-net-pci,macaddr=e2:cf:7e:db:6f:e0 
>net0: index=0,type=tap,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript= >/var/lib/qemu-server/pve-bridgedown 

Is there something I have been missed? 

Regrades 
Wolfgang 

2014-12-09 12:38 GMT+01:00 Alexandre DERUMIER < aderumier at odiso.com > : 


Hi, 

>>is there a way to get the Nic Link status from Qemu? 

I have check the qemu code (net/net.c), I don't think it's implemented. 

we can only have info through hmp "info network", qmp not implemented. 

and we can only set the status with qmp "set_link" 



----- Mail original ----- 
De: "Wolfgang Link" < wolfgang at linksystems.org > 
À: "pve-devel" < pve-devel at pve.proxmox.com > 
Envoyé: Mardi 9 Décembre 2014 11:36:09 
Objet: [pve-devel] Qemu nic link status 

Hallo, 

is there a way to get the Nic Link status from Qemu? 

Thanks for replying. 

Regrades 
Wolfgang 

_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20141210/f4470635/attachment.htm>


More information about the pve-devel mailing list