[Spice-devel] Welcome to the "Spice-devel" mailing list

Alex Roithman kaperang07 at gmail.com
Sun Sep 27 08:26:19 PDT 2015


Hi, guys!
i'm try to code the qt-virt-manager with SPICE.
For this i try to implement different spice-client properties
with qspice-widget library, which somebody began write
over spice-client-glib sometime ago.

Now i have some problems with
#include <channel-main.h>
(1)
void spice_main_file_copy_async (...)
for copy files to guest
and
(2)
void spice_main_clipboard_selection_notify(...)
for copy host clipboard data to guest.

(1)
https://github.com/F1ash/qt-virt-manager/blob/master/src/vm_viewer/qspice_widgets/qspicemainchannel.cpp#L157-L179
after the try to execute this method application crashed:
(image, 0.3 MB) http://itmag.es/3aapu
<code>
  node = lookup_type_node_I(type_instance->g_class->g_type);
</code>
...->g_type is broken address.
This occured in
static void file_xfer_send_start_msg_async(...) {
...
        task->channel = g_object_ref(channel);
        task->file = g_object_ref(files[i]);
...
}

(2)
https://github.com/F1ash/qt-virt-manager/blob/master/src/vm_viewer/qspice_widgets/qspicemainchannel.cpp#L129-L146
after the try to execute this method host clipboard (text)
data not received by guest clipboard. In virt-viewer this
action is successful.

I will be glad to any advice.
(Sorry my english).

-- 
Fl at sh

On 27 September 2015 at 16:07, <spice-devel-request at lists.freedesktop.org>
wrote:

> Welcome to the Spice-devel at lists.freedesktop.org mailing list!
>
> To post to this list, send your message to:
>
>   spice-devel at lists.freedesktop.org
>
> General information about the mailing list is at:
>
>   http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
> If you ever want to unsubscribe or change your options (eg, switch to
> or from digest mode, change your password, etc.), visit your
> subscription page at:
>
>
> http://lists.freedesktop.org/mailman/options/spice-devel/kaperang07%40gmail.com
>
>
> You can also make such adjustments via email by sending a message to:
>
>   Spice-devel-request at lists.freedesktop.org
>
> with the word `help' in the subject or body (don't include the
> quotes), and you will get back a message with instructions.
>
> You must know your password to change your options (including changing
> the password, itself) or to unsubscribe without confirmation.  It is:
>
>   43215689
>
> Normally, Mailman will remind you of your lists.freedesktop.org
> mailing list passwords once every month, although you can disable this
> if you prefer.  This reminder will also include instructions on how to
> unsubscribe or change your account options.  There is also a button on
> your options page that will email your current password to you.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150927/dae1af1a/attachment.html>


More information about the Spice-devel mailing list