[Spice-devel] Running SPICE on PPC64
Uri Lublin
uril at redhat.com
Wed Mar 18 08:32:50 PDT 2015
On 03/18/2015 04:38 PM, Denis Kirjanov wrote:
> On 3/18/15, Uri Lublin <uril at redhat.com> wrote:
>> 3. What is the output of "info spice" qemu-kvm monitor command, after
>> connecting with the client and while seeing the black screen.
>> (I like to run qemu-kvm with -monitor stdio)
>
> Looks like that a session has been established successfully... But
> still the black surface with the "Connected to graphic server" text.
>
> [root at power ~]# SPICE_DEBUG_LEVEL=5 /usr/bin/qemu-system-ppc64 -spice
> port=5908,disable-ticketing -hda /root/power.img --monitor stdio
> (/usr/bin/qemu-system-ppc64:40654): Spice-Debug **:
> reds.c:3847:spice_server_set_seamless_migration: seamless migration
> enabled=0
> (/usr/bin/qemu-system-ppc64:40654): Spice-Info **:
> reds.c:3209:do_spice_init: starting 0.12.5
> (/usr/bin/qemu-system-ppc64:40654): Spice-Info **:
> reds.c:2382:reds_init_socket: bound to 0.0.0.0:5908
> (/usr/bin/qemu-system-ppc64:40654): Spice-Debug **:
> red_channel.c:1078:red_channel_create: channel type 1 id 0 thread_id
> 0x3fff9a60ea40
> (/usr/bin/qemu-system-ppc64:40654): Spice-Debug **:
> red_channel.c:1078:red_channel_create: channel type 3 id 0 thread_id
> 0x3fff9a60ea40
> (/usr/bin/qemu-system-ppc64:40654): Spice-Info **:
> reds.c:3141:spice_server_add_interface: SPICE_INTERFACE_MIGRATION
> (/usr/bin/qemu-system-ppc64:40654): Spice-Info **:
> reds.c:3062:spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
> (/usr/bin/qemu-system-ppc64:40654): Spice-Info **:
> reds.c:3072:spice_server_add_interface: SPICE_INTERFACE_MOUSE
> QEMU 2.2.1 monitor - type 'help' for more information
> (qemu) (/usr/bin/qemu-system-ppc64:40654): Spice-Info **:
> reds.c:3084:spice_server_add_interface: SPICE_INTERFACE_QXL
> (/usr/bin/qemu-system-ppc64:40654): Spice-Debug **:
> red_dispatcher.c:1098:red_dispatcher_init:
> red_dispatcher->async_commands.next 0x1003f795c88
> (/usr/bin/qemu-system-ppc64:40654): SpiceWorker-Info **:
> red_worker.c:11967:red_worker_main: begin
> (/usr/bin/qemu-system-ppc64:40654): SpiceWorker-Info **:
> red_worker.c:10498:display_channel_create: create display channel
> (/usr/bin/qemu-system-ppc64:40654): Spice-Debug **:
> red_channel.c:1078:red_channel_create: channel type 2 id 0 thread_id
> 0x3fff86ffef30
> (/usr/bin/qemu-system-ppc64:40654): SpiceWorker-Info **:
> red_worker.c:10753:cursor_channel_create: create cursor channel
> (/usr/bin/qemu-system-ppc64:40654): Spice-Debug **:
> red_channel.c:1078:red_channel_create: channel type 4 id 0 thread_id
> 0x3fff86ffef30
> (/usr/bin/qemu-system-ppc64:40654): SpiceWorker-Debug **:
> red_worker.c:11141:dev_create_primary_surface:
> (/usr/bin/qemu-system-ppc64:40654): Spice-Debug **:
> red_dispatcher.c:833:red_dispatcher_on_vm_start:
>
> (qemu) info spice
> Server:
> address: *:5908
> migrated: false
> auth: none
> compiled: 0.12.5
> mouse-mode: server
> Channels: none
> (qemu) (/usr/bin/qemu-system-ppc64:40654): SpiceWorker-Debug **:
> red_worker.c:11190:dev_destroy_primary_surface:
> (/usr/bin/qemu-system-ppc64:40654): SpiceWorker-Debug **:
> red_worker.c:11141:dev_create_primary_surface:
> (/usr/bin/qemu-system-ppc64:40654): SpiceWorker-Debug **:
> red_worker.c:1236:monitors_config_decref: freeing monitors config
> (qemu)
> (qemu)
> (qemu)
> (qemu)
> (qemu)
> (qemu)
> (qemu)
> (qemu) (/usr/bin/qemu-system-ppc64:40654): Spice-Info **:
> reds.c:2024:reds_handle_auth_mechanism: Auth method: 16777216
> (/usr/bin/qemu-system-ppc64:40654): Spice-Info **:
> reds.c:1561:reds_handle_main_link:
> (/usr/bin/qemu-system-ppc64:40654): Spice-Info **: reds.c:522:reds_disconnect:
> (/usr/bin/qemu-system-ppc64:40654): Spice-Info **:
> reds.c:1430:reds_info_new_channel: channel 1:0, connected
> successfully, over Non Secure link
> main_channel_link: add main channel client
> (/usr/bin/qemu-system-ppc64:40654): Spice-Info **:
> reds.c:1600:reds_handle_main_link: NEW Client 0x1003f88d800 mcc
> 0x1003f934be0 connect-id 1819530804
> main_channel_handle_parsed: net test: latency 69.319000 ms, bitrate
> 848384424 bps (809.082436 Mbps)
> (/usr/bin/qemu-system-ppc64:40654): Spice-Debug **:
> red_channel.c:839:red_channel_client_start_connectivity_monitoring:
> (/usr/bin/qemu-system-ppc64:40654): Spice-Debug **:
> red_channel.c:1521:red_channel_client_handle_pong: update roundtrip
> 0.44(ms)
>
> (qemu) info spice
> Server:
> address: *:5908
> migrated: false
> auth: none
> compiled: 0.12.5
> mouse-mode: server
> Channel:
> address: 10.10.1.75:52857
> session: 1819530804
> channel: 1:0
>
>
> [root at rhtest ~]# remote-viewer --spice-debug --spice-disable-audio
> spice://10.10.0.30?port=5908
> (remote-viewer:4754): GSpice-DEBUG: spice-session.c:172 New session
> (compiled from package spice-gtk 0.20)
> (remote-viewer:4754): GSpice-DEBUG: spice-session.c:176 Supported
> channels: main, display, inputs, cursor, playback, record, smartcard,
> usbredir
> (remote-viewer:4754): GSpice-DEBUG: usb-device-manager.c:856 device
> added 0x1726310
> (remote-viewer:4754): GSpice-DEBUG: usb-device-manager.c:856 device
> added 0x1726420
> (remote-viewer:4754): GSpice-DEBUG: usb-device-manager.c:856 device
> added 0x1725b50
> (remote-viewer:4754): GSpice-DEBUG: usb-device-manager.c:856 device
> added 0x1726110
> (remote-viewer:4754): GSpice-DEBUG: spice-session.c:1623 session:
> disconnecting 0
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:127 main-1:0:
> spice_channel_constructed
> (remote-viewer:4754): GSpice-DEBUG: spice-session.c:1930 main-1:0: new
> main channel, switching
> (remote-viewer:4754): GSpice-DEBUG: spice-gtk-session.c:809 Changing
> main channel from (nil) to 0x17436f0
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:2385 main-1:0:
> Open coroutine starting 0x17436f0
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:2231 main-1:0:
> Started background coroutine 0x1743780
> (remote-viewer:4754): GSpice-DEBUG: spice-session.c:1743 connecting
> 0x7f3abc0819c0...
> (remote-viewer:4754): GSpice-DEBUG: spice-session.c:1812 open host
> 10.10.0.30:5908
> (remote-viewer:4754): GSpice-DEBUG: spice-session.c:1729 connect ready
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:1163 main-1:0:
> channel type 1 id 0 num common caps 1 num caps 1
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:1194 main-1:0:
> Peer version: 2:2
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:1691 main-1:0:
> spice_channel_recv_link_msg: 2 caps
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:1701 main-1:0: got
> common caps 0:0xB
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:1707 main-1:0: got
> channel caps 0:0x9
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:2619 test cap 0 in 0xB: yes
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:2619 test cap 2 in 0xB: no
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:2619 test cap 1 in 0xB: yes
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:2619 test cap 3 in 0xB: yes
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:1736 main-1:0: use
> mini header: 1
> (remote-viewer:4754): GSpice-DEBUG: spice-channel.c:1100 main-1:0:
> channel up, state 2
> (remote-viewer:4754): GSpice-DEBUG: spice-session.c:2019 set mm time: 3201537210
> (remote-viewer:4754): GSpice-DEBUG: spice-session.c:2022
> spice_session_set_mm_time: mm-time-reset, old 759777878, new
> 3201537210
> (remote-viewer:4754): GSpice-DEBUG: channel-main.c:1494 server uuid:
> 00000000-0000-0000-0000-000000000000
>
> (remote-viewer:4754): GSpice-CRITICAL **: failed to parse message:
> main-1:0 type 104
This is the problem.
So main channel successfully connects, but other channels do not connect.
Type 104 is SPICE_MSG_MAIN_CHANNELS_LIST.
More information about the Spice-devel
mailing list