Re: [PATCH] qemu: event: Fix retrieval of the "service" field from graphics events

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

 



On Mon, Jun 29, 2015 at 14:42:50 +0200, Peter Krempa wrote:
> qemu's event has following format:
> 
> {
>     "timestamp": {
>         "seconds": 1435580974,
>         "microseconds": 82226
>     },
>     "event": "SPICE_INITIALIZED",
>     "data": {
>         "server": {
>             "auth": "none",
>             "port": "5900",
>             "family": "ipv4",
>             "host": "127.0.0.1"
>         },
>         "client": {
>             "port": "53224",
>             "family": "ipv4",
>             "channel-type": 3,
>             "connection-id": 1113096064,
>             "host": "127.0.0.1",
>             "channel-id": 0,
>             "tls": false
>         }
>     }
> }
> 
> Our code tried to extract the "service" field but qemu reports it as
> "port".
> ---
>  src/qemu/qemu_monitor_json.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)


ACK

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]