[Spice-devel] Spice agent oddities

Damien Churchill damoxc at gmail.com
Tue Oct 18 14:56:16 PDT 2011


On 18 October 2011 17:37, Arnon Gilboa <agilboa at redhat.com> wrote:
> Hi Damien,
>
> Seems like for some reason vdservice closed (handle of) the virtio serial
> device.
>
> Can you please send the relevant qemu output. You should see something like:
> spice_server_char_device_add_interface: CHAR_DEVICE vdagent
> handle_dev_input: mouse mode 2
> reds_main_handle_message: agent start
> ...
> spice_server_char_device_remove_interface: remove CHAR_DEVICE vdagent
> handle_dev_input: mouse mode 1

Here is the output I have from qemu around the time of the crash and
the resulting restart of the service, there are indeed the lines you
expected there would be.

red_free_some: #draw=2, #red_draw=437, #glz_draw=436
handle_dev_input: OOM2 #draw=2, #red_draw=373, #glz_draw=372 current 2 pipes 0
handle_dev_input: OOM1 #draw=2, #red_draw=425, #glz_draw=423 current 2 pipes 0
handle_dev_input: OOM2 #draw=2, #red_draw=425, #glz_draw=423 current 2 pipes 0
handle_dev_input: OOM1 #draw=2, #red_draw=425, #glz_draw=423 current 2 pipes 0
red_free_some: #draw=2, #red_draw=425, #glz_draw=423
handle_dev_input: OOM2 #draw=2, #red_draw=361, #glz_draw=359 current 2 pipes 0
spice_server_char_device_remove_interface: remove CHAR_DEVICE vdagent
handle_dev_input: OOM1 #draw=4, #red_draw=565, #glz_draw=564 current 4 pipes 0
handle_dev_input: OOM2 #draw=4, #red_draw=565, #glz_draw=564 current 4 pipes 0
handle_dev_input: OOM1 #draw=4, #red_draw=565, #glz_draw=564 current 4 pipes 0
red_free_some: #draw=4, #red_draw=565, #glz_draw=564
handle_dev_input: OOM2 #draw=4, #red_draw=501, #glz_draw=500 current 4 pipes 0
spice_server_char_device_add_interface: CHAR_DEVICE vdagent
main_channel_handle_parsed: agent start
handle_dev_input: mouse mode 2
handle_dev_input: mouse mode 2
handle_dev_input: OOM1 #draw=111, #red_draw=729, #glz_draw=652 current
111 pipes 0

>
> Anyway, I'll try to send you a debug version of vdservice tomorrow.
>

Excellent, thanks a lot!


More information about the Spice-devel mailing list