Re: [Qemu-devel] [qemu-devel]The problem of QMP command getfd.

2013-01-29 Thread Li Zhang
On 2013年01月29日 00:30, Eric Blake wrote: On 01/28/2013 07:16 AM, Li Zhang wrote: The QMP client must send '{ "execute": "getfd", "arguments": { "fdname": "fd1" } }' together with SCM_RIGHTS CMSG. You are getting the error because you sent the "getfd" command but forgot to include a file descript

Re: [Qemu-devel] [qemu-devel]The problem of QMP command getfd.

2013-01-28 Thread Eric Blake
On 01/28/2013 07:16 AM, Li Zhang wrote: >> >> The QMP client must send '{ "execute": "getfd", "arguments": { "fdname": >> "fd1" } }' together with SCM_RIGHTS CMSG. You are getting the error >> because you sent the "getfd" command but forgot to include a file >> descriptor using SCM_RIGHTS. >> >> S

Re: [Qemu-devel] [qemu-devel]The problem of QMP command getfd.

2013-01-28 Thread Li Zhang
On 2013年01月28日 21:28, Stefan Hajnoczi wrote: On Mon, Jan 28, 2013 at 03:27:01PM +0800, Li Zhang wrote: Hi all, I am trying to executing qmp command getfd according to qmp-commands.hx. { "execute": "getfd", "arguments": { "fdname": "fd1" } } Every time, it returns the error. { "error": {

Re: [Qemu-devel] [qemu-devel]The problem of QMP command getfd.

2013-01-28 Thread Stefan Hajnoczi
On Mon, Jan 28, 2013 at 03:27:01PM +0800, Li Zhang wrote: > Hi all, > > I am trying to executing qmp command getfd according to qmp-commands.hx. > > { "execute": "getfd", "arguments": { "fdname": "fd1" } } > > Every time, it returns the error. > > { > "error": { > "class": "GenericE

[Qemu-devel] [qemu-devel]The problem of QMP command getfd.

2013-01-27 Thread Li Zhang
Hi all, I am trying to executing qmp command getfd according to qmp-commands.hx. { "execute": "getfd", "arguments": { "fdname": "fd1" } } Every time, it returns the error. { "error": { "class": "GenericError", "desc": "No file descriptor supplied via SCM_RIGHTS" } } Th