Re: [Qemu-devel] [QGA] Bug of qga?

2017-09-12 Thread Sameeh Jubran
Hi Sam, Can you share the whole python script you use in order to execute the commands? This wasn't clear from what you've sent earlier, however we already tried to reproduce the issue using ncat while manually inserting the JSON strings for the route -n and the ping commands. Here is the test

Re: [Qemu-devel] [QGA] Bug of qga?

2017-08-30 Thread Sam
Qemu-2.6.0 2017-08-30 14:20 GMT+08:00 Sam : > Hi all, > > I could repeat it, host os and guest os is Centos-7, qemu-ga is alive in > guest. the step to repeat it is: > > 1. run python script just like the first email. > 2. send qmp command1(cmd in the python script, like

Re: [Qemu-devel] [QGA] Bug of qga?

2017-08-30 Thread Sam
Hi all, I could repeat it, host os and guest os is Centos-7, qemu-ga is alive in guest. the step to repeat it is: 1. run python script just like the first email. 2. send qmp command1(cmd in the python script, like `route -n` command or something, of course it's qmp format), and interrupt it

Re: [Qemu-devel] [QGA] Bug of qga?

2017-08-29 Thread Sameeh Jubran
Hi Sam, Thanks for reporting this, in order to debug this efficiently I need you to provide me with more info, if you can provide it that would be great. Can you reproduce the issue with ncat? You can use ncat to connect to the socket by running the following command: nc -U /tmp/qga.sock Which

Re: [Qemu-devel] [QGA] Bug of qga?

2017-08-29 Thread Sam
So how to fix this bug? And where should I to report bug? 2017-08-29 13:52 GMT+08:00 Sam : > I could repeat this several times, I think it's mis-order of qmp in qga > socket. > > 2017-08-25 11:09 GMT+08:00 Sam : > >> Also I found: >> >> when I use

Re: [Qemu-devel] [QGA] Bug of qga?

2017-08-28 Thread Sam
I could repeat this several times, I think it's mis-order of qmp in qga socket. 2017-08-25 11:09 GMT+08:00 Sam : > Also I found: > > when I use `socat` to take a qga socket, then I use `socat` to communicate > it will got error. > But also SOMETIMES, I will not got error

Re: [Qemu-devel] [QGA] Bug of qga?

2017-08-24 Thread Sam
Also I found: when I use `socat` to take a qga socket, then I use `socat` to communicate it will got error. But also SOMETIMES, I will not got error and will communicate OK. If one user take qga socket, another user should got error, is it? But why sometimes, the communicate is OK? 2017-08-25

[Qemu-devel] [QGA] Bug of qga?

2017-08-24 Thread Sam
Hi all, I'm using qga to send `route -n` and `ping` command to guest. But I found SOMETIMES, the second `ping` command's result is the same as `route -n` command. So I guess is there some cache mechanism of qga command result? So when I send the second command, and receive from qga socket, I