[pve-devel] Qemu nic link status

Alexandre DERUMIER aderumier at odiso.com
Wed Dec 10 08:34:32 CET 2014


>>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 







More information about the pve-devel mailing list