Re: [Qemu-devel] Monitor socket will close after parse command error. Qemu-2.6.2

2017-09-12 Thread Dr. David Alan Gilbert
* Sam (batmanu...@gmail.com) wrote: > [gangyewei-3@yf-mos-test-net07 tests]$ telnet 127.0.0.1 55919 > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > QEMU 2.6.2 monitor - type 'help' for more information > (qemu) chardev-add > socket,id=char-test_intf1,path=/usr/local/va

Re: [Qemu-devel] Monitor socket will close after parse command error. Qemu-2.6.2

2017-09-07 Thread Sam
[gangyewei-3@yf-mos-test-net07 tests]$ telnet 127.0.0.1 55919 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. QEMU 2.6.2 monitor - type 'help' for more information (qemu) chardev-add socket,id=char-test_intf1,path=/usr/local/var/run/openvswitch/test_intf1,server=on chardev-add

Re: [Qemu-devel] Monitor socket will close after parse command error. Qemu-2.6.2

2017-09-07 Thread Sam
BTW, same result while using `telnet 127.0.0.1 55919`, which means also have the two problem in the email before. 2017-09-08 11:23 GMT+08:00 Sam : > Hi all, > > I'm using HMP socket to send command to add netdev, my command like this: > > [gangyewei-3@yf-mos-test-net07 tests]$ sudo python monito

[Qemu-devel] Monitor socket will close after parse command error. Qemu-2.6.2

2017-09-07 Thread Sam
Hi all, I'm using HMP socket to send command to add netdev, my command like this: [gangyewei-3@yf-mos-test-net07 tests]$ sudo python monitor.py 55919 > (qemu): > Connected to qemu monitor ... > on_monitor_open > ds > (qemu): > {'return': ["unknown command: 'ds'"]} > chardev-add > socket,id=char