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. I think, as workaround, we can simply write the state to the config file net0: ,linkstate=on|off and use set_link to enable|disable it, and update the config. at vm start, we can simply call qmp set_link if the link need to be set off. - Mail original - De: "Wolfgang Link" À: "aderumier" Cc: "pve-devel" 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 < aderum...@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" < wolfg...@linksystems.org > À: "aderumier" < aderum...@odiso.com > Cc: "pve-devel" < pve-devel@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 < aderum...@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" < wolfg...@linksystems.org > À: "pve-devel" < pve-devel@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@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Qemu nic link status
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" À: "aderumier" Cc: "pve-devel" 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 < aderum...@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" < wolfg...@linksystems.org > À: "aderumier" < aderum...@odiso.com > Cc: "pve-devel" < pve-devel@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 < aderum...@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" < wolfg...@linksystems.org > À: "pve-devel" < pve-devel@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@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
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 : > >>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" > À: "aderumier" > Cc: "pve-devel" > 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 < aderum...@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" < wolfg...@linksystems.org > > À: "pve-devel" < pve-devel@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@pve.proxmox.com > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > > > > > ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Qemu nic link status
>>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" À: "aderumier" Cc: "pve-devel" 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 < aderum...@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" < wolfg...@linksystems.org > À: "pve-devel" < pve-devel@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@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
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 : > 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" > À: "pve-devel" > 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@pve.proxmox.com > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > > ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Qemu nic link status
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" À: "pve-devel" 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@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
[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@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel