<div dir="ltr">I want to make a new feature where you can control the nic link.<br><br>for the gui we need to show the status. <br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-10 8:34 GMT+01:00 Alexandre DERUMIER <span dir="ltr"><<a href="mailto:aderumier@odiso.com" target="_blank">aderumier@odiso.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">>>Is there something I have been missed?<br>
<br>
</span>No, links status is not implemented.<br>
<br>
Maybe can we make a qemu patch for this ?<br>
<br>
(They are some example in net.c , qmp_set_link (), to get the current status link.)<br>
<br>
Why do you need it exactly ?<br>
<span class=""><br>
<br>
<br>
----- Mail original -----<br>
De: "Wolfgang Link" <<a href="mailto:wolfgang@linksystems.org">wolfgang@linksystems.org</a>><br>
</span>À: "aderumier" <<a href="mailto:aderumier@odiso.com">aderumier@odiso.com</a>><br>
Cc: "pve-devel" <<a href="mailto:pve-devel@pve.proxmox.com">pve-devel@pve.proxmox.com</a>><br>
Envoyé: Mardi 9 Décembre 2014 15:32:40<br>
Objet: Re: [pve-devel] Qemu nic link status<br>
<div class="HOEnZb"><div class="h5"><br>
Hi Alexandre,<br>
<br>
thanks for your answer.<br>
When i use hmp "info network" i get only informations about the network settings.<br>
nothing about the status.<br>
<br>
>qm> info network<br>
>net0: index=0,type=nic,model=virtio-net-pci,macaddr=e2:cf:7e:db:6f:e0<br>
>net0: index=0,type=tap,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript= >/var/lib/qemu-server/pve-bridgedown<br>
<br>
Is there something I have been missed?<br>
<br>
Regrades<br>
Wolfgang<br>
<br>
2014-12-09 12:38 GMT+01:00 Alexandre DERUMIER < <a href="mailto:aderumier@odiso.com">aderumier@odiso.com</a> > :<br>
<br>
<br>
Hi,<br>
<br>
>>is there a way to get the Nic Link status from Qemu?<br>
<br>
I have check the qemu code (net/net.c), I don't think it's implemented.<br>
<br>
we can only have info through hmp "info network", qmp not implemented.<br>
<br>
and we can only set the status with qmp "set_link"<br>
<br>
<br>
<br>
----- Mail original -----<br>
De: "Wolfgang Link" < <a href="mailto:wolfgang@linksystems.org">wolfgang@linksystems.org</a> ><br>
À: "pve-devel" < <a href="mailto:pve-devel@pve.proxmox.com">pve-devel@pve.proxmox.com</a> ><br>
Envoyé: Mardi 9 Décembre 2014 11:36:09<br>
Objet: [pve-devel] Qemu nic link status<br>
<br>
Hallo,<br>
<br>
is there a way to get the Nic Link status from Qemu?<br>
<br>
Thanks for replying.<br>
<br>
Regrades<br>
Wolfgang<br>
<br>
_______________________________________________<br>
pve-devel mailing list<br>
<a href="mailto:pve-devel@pve.proxmox.com">pve-devel@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel</a><br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>