Status of query-netdev QMP command
Hello,
I've read from the GSoC/2010 that some work was being done creating a query-netdev QMP command:
http://wiki.qemu.org/Google_Summer_of_Code_2010/QMP#query-netdev
The status says that "mentor has merged it into his tree", but I cannot see this command anywhere upstream, and it will come really handy for what I'm trying to do, do someone know where this has gone?
Thanks, Roger.
Quoted 8 lines · Roger Pau Monne
I've read from the GSoC/2010 that some work was being done creating a query-netdev QMP command:
http://wiki.qemu.org/Google_Summer_of_Code_2010/QMP#query-netdev
The status says that "mentor has merged it into his tree", but I cannot see this command anywhere upstream, and it will come really handy for what I'm trying to do, do someone know where this has gone?
I checked qemu.git/master and don't see it either. The HMP "info net" command lists the net devices but I'm not aware of a QMP equivalent. What are you trying to do?
Stefan
Quoted 6 lines · Stefan Hajnoczi
Quoted 5 lines · Roger Pau Monne
I've read from the GSoC/2010 that some work was being done creating a query-netdev QMP command:
http://wiki.qemu.org/Google_Summer_of_Code_2010/QMP#query-netdev
Quoted 7 lines
Quoted 3 lines
The status says that "mentor has merged it into his tree", but I cannot see this command anywhere upstream, and it will come really handy for what I'm trying to do, do someone know where this has gone?
I checked qemu.git/master and don't see it either. The HMP "info net" command lists the net devices but I'm not aware of a QMP equivalent. What are you trying to do?
On Linux you can pass the name of the tap device you wish to create, and Qemu honors that, but on BSD systems you have no way of creating a tap device with a specific name, they are assigned based on the lowest free number (tap2 for example).
I need the query-netdev command in order to get the name of the device that Qemu creates, so I can use it in my scripts afterwards.
Roger.
Quoted 22 lines · Roger Pau Monne
Quoted 16 lines · Stefan Hajnoczi
Quoted 11 lines · Roger Pau Monne
I've read from the GSoC/2010 that some work was being done creating a query-netdev QMP command:
http://wiki.qemu.org/Google_Summer_of_Code_2010/QMP#query-netdev
The status says that "mentor has merged it into his tree", but I cannot see
this command anywhere upstream, and it will come really handy for what I'm
trying to do, do someone know where this has gone?Quoted 3 lines
I checked qemu.git/master and don't see it either. The HMP "info net" command lists the net devices but I'm not aware of a QMP equivalent. What are you trying to do?
Quoted 7 lines
On Linux you can pass the name of the tap device you wish to create, and Qemu honors that, but on BSD systems you have no way of creating a tap device with a specific name, they are assigned based on the lowest free number (tap2 for example).
I need the query-netdev command in order to get the name of the device that Qemu creates, so I can use it in my scripts afterwards.
Can you use -netdev tap,script=mycallback.sh to do that? It gets passed the interface name as argv[1].
Stefan