Revision a3e22260 vl.c

b/vl.c
2931 2931
    /* just use the first displaystate for the moment */
2932 2932
    ds = get_displaystate();
2933 2933

  
2934
    if (using_spice)
2935
        display_remote++;
2934 2936
    if (display_type == DT_DEFAULT && !display_remote) {
2935 2937
#if defined(CONFIG_SDL) || defined(CONFIG_COCOA)
2936 2938
        display_type = DT_SDL;
......
2973 2975
            printf("VNC server running on `%s'\n", vnc_display_local_addr(ds));
2974 2976
        }
2975 2977
    }
2978
#ifdef CONFIG_SPICE
2979
    if (using_spice) {
2980
        qemu_spice_display_init(ds);
2981
    }
2982
#endif
2976 2983

  
2977 2984
    /* display setup */
2978 2985
    dpy_resize(ds);

Also available in: Unified diff