qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] QEMU guest agent behavior with 'guest-sync-delimited'


From: Mike Harris
Subject: [Qemu-discuss] QEMU guest agent behavior with 'guest-sync-delimited'
Date: Thu, 15 May 2014 11:39:20 -0700

Hi,
I'm trying to use the qemu guest agent, and I'm not sure if I'm doing sync right

I'm sending the 0xff char, then the guest-sync-delimited command. I get back a json syntax error, then the 0xff byte.Is the syntax error expected? Should i just ignore it until I see 0xff?

Example (the guest agent serial device is running on tcp:5501 on the host.

address@hidden:~$ echo -e \\xff'{"execute": "guest-sync-delimited", "arguments": {"id": 1}}' | nc -q5 localhost 5501
{"error": {"class": "GenericError", "desc": "Invalid JSON syntax"}}
�{"return": 1}


reply via email to

[Prev in Thread] Current Thread [Next in Thread]