Re: [Spice-devel] What are these directories on virtio-win-0.1-81.iso?
WNET- Windows 2003 WLH - Windows Vista and Windows 2008. Best regards, Yan. On Sep 14, 2014, at 11:52 PM, ToddAndMargo toddandma...@zoho.com wrote: Hi All I just downloaded virtio-win-0.1-81.iso from http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers Looking through the ISO, I find two directories: WLH and WNET. What are they? Also, I find a WXP and and XP directory. Why two of them? Many thanks, -T ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] What are these directories on virtio-win-0.1-81.iso?
Hey, On Sun, Sep 14, 2014 at 01:52:26PM -0700, ToddAndMargo wrote: I just downloaded virtio-win-0.1-81.iso from http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers Looking through the ISO, I find two directories: WLH and WNET. What are they? WLH is short for Windows Longhorn which is was the codename for Windows Vista. WNET is for Windows.net which was Windows 2003 https://en.wikipedia.org/wiki/List_of_Microsoft_codenames Also, I find a WXP and and XP directory. Why two of them? The ISO layout is a bit messy, some drivers end up in WXP, others in XP, I don't think there's a very good reason for that. You can find some mapping table in http://cgit.freedesktop.org/~teuf/spice-nsis/tree/tools/virtio.py mapping these directories names to more usual Windows versions: winxp: { netkvm: Driver(XP/x86, XP/amd64, (netkvm.*|readme.doc)), serial: Driver(Wxp/x86, Wnet/amd64, (vioser.*|wdfcoinstaller.*.dll)), balloon: Driver(Wxp/x86, Wnet/amd64, (balloon.*|bln.*|wdfcoinstaller.*.dll)), block: Driver(Wxp/x86, Wnet/amd64, viostor.*), scsi: Driver(Wnet/x86, Wnet/amd64, vioscsi.*), }, winxp is the 'readable' name, and then you have: { driver name: Driver(32 bit location, 64 bit location, file list) } Hope that helps, Christophe pgpmOHwaS9P9O.pgp Description: PGP signature ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] help, win 7 client, usb redirect failed
i installed usbclerk and virt-viewer 0.5.7 in my win7, but it doesn't work when select usb to redirect to guest (when in win xp client, it works fine) the error information is : USB redirection error: Could not auto-redirect Toshiba Corp. Kingston DataTraveler 2.0 Stick (2GB) [0930:6544] at 1-2: Could not open usb device: Operation not supported or unimplemented on this platform [-12] -- ?? ?? ?? ?? ??15067300238 ??0573-82286614 ??0573-89896166 705 ?? 314006 ??www.tsinghua-zj.edu.cn___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] [spice-gtk] Don't report IO error on clean guest shutdown
On Fri, Sep 12, 2014 at 06:52:07PM +0100, Zeeshan Ali (Khattak) wrote: Anyone up for review? It would be nice to get this in and (if possible) even released before GNOME's code freeze break on Wednesday. Won't be bad if release before 3.14 release in two weeks either. For what it's worth, spice-gtk is not really following GNOME release cycle, and even less its various freezes. I'll see what we can do with respect to releasing. Christophe pgpizJA20yxHZ.pgp Description: PGP signature ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] help, win 7 client, usb redirect failed
There're some differences between win7 and winxp in drivers, maybe mine can help you: http://qiniu-plupload.qiniudn.com/usbclerk4win7.zip . BTW, also as a Chinese, I strongly suggest that it's not a good idea sending mails to this maillist with Chinese signature :) Regards, Cody On Mon, Sep 15, 2014 at 3:48 PM, 陈晴 chenq...@sanlogic.com wrote: i installed usbclerk and virt-viewer 0.5.7 in my win7, but it doesn't work when select usb to redirect to guest (when in win xp client, it works fine) the error information is : USB redirection error: Could not auto-redirect Toshiba Corp. Kingston DataTraveler 2.0 Stick (2GB) [0930:6544] at 1-2: Could not open usb device: Operation not supported or unimplemented on this platform [-12] -- 陈晴 浙江清华长三角研究院 信息技术研究所 云计算及分布式系统实验室 系统工程师 浙江闪龙科技有限公司 系统部经理 杭州闪龙信息科技有限公司 系统部经理 手机:15067300238 电话:0573-82286614 传真:0573-89896166 地址:浙江嘉兴市南湖区亚太路 705 号 314006 网址:www.tsinghua-zj.edu.cn ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel -- QSBDT0RFUiBGUk9NIFJJRVNUIE9GIENUU0VV ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] help, win 7 client, usb redirect failed
On 09/15/2014 10:48 AM, 陈晴 wrote: i installed usbclerk and virt-viewer 0.5.7 in my win7, but it doesn't work when select usb to redirect to guest (when in win xp client, it works fine) the error information is : USB redirection error: Could not auto-redirect Toshiba Corp. Kingston DataTraveler 2.0 Stick (2GB) [0930:6544] at 1-2: Could not open usb device: Operation not supported or unimplemented on this platform [-12] Does remote-viewer print more information before those lines ? What's in usbclerk's log file (c:\windows\temp\usbclerk.log) ? Is you Win7 machine a 32 bit machine ? Uri ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] protocol 2.0 document?
Hi guys, This is brade huang from taiwan, right now I try to dig into spice client source code and hopefully do some developments on spice, but when I investigated the code, I realized it already enhanced to protocol v2. I tried very hard to look for document about protocol v2 but couldn't get it. May you give me some suggestions about that? Thanks very much in advanced. Sincerely, Brade ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] [spice-gtk][PATCH] Added INFO messages about a file transfer
https://bugzilla.redhat.com/show_bug.cgi?id=1140512 When a file transfer starts / finishes an information message is printed (in INFO log level) --- gtk/channel-main.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/gtk/channel-main.c b/gtk/channel-main.c index 021fa83..7a59613 100644 --- a/gtk/channel-main.c +++ b/gtk/channel-main.c @@ -70,6 +70,7 @@ typedef struct SpiceFileXferTask { char buffer[FILE_XFER_CHUNK_SIZE]; uint64_t read_bytes; uint64_t file_size; +GDateTime *start_time; GError *error; } SpiceFileXferTask; @@ -1538,6 +1539,7 @@ static void file_xfer_task_free(SpiceFileXferTask *task) g_clear_object(task-channel); g_clear_object(task-file); g_clear_object(task-file_stream); +g_date_time_unref(task-start_time); g_free(task); } @@ -1548,6 +1550,9 @@ static void file_xfer_close_cb(GObject *object, { GSimpleAsyncResult *res; SpiceFileXferTask *task; +GDateTime *end; +char *basename; +double seconds; GError *error = NULL; task = user_data; @@ -1572,6 +1577,17 @@ static void file_xfer_close_cb(GObject *object, g_simple_async_result_take_error(res, task-error); g_simple_async_result_set_op_res_gboolean(res, FALSE); } else { +end = g_date_time_new_now_local(); +seconds = (double) g_date_time_difference(end, task-start_time) / 100.0; +g_date_time_unref(end); +basename = g_file_get_basename(task-file); +if (basename != NULL) { +g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, + transferred file %s of %.2f kB size in %.2f seconds (%.1f MB/s), + basename, task-file_size / 1000.0, seconds, + (task-file_size/100.0)/seconds); +g_free(basename); +} g_simple_async_result_set_op_res_gboolean(res, TRUE); } g_simple_async_result_complete_in_idle(res); @@ -2739,6 +2755,7 @@ static void file_xfer_send_start_msg_async(SpiceMainChannel *channel, { SpiceMainChannelPrivate *c = channel-priv; SpiceFileXferTask *task; +char *basename; static uint32_t xfer_id;/* Used to identify task id */ task = g_malloc0(sizeof(SpiceFileXferTask)); @@ -2751,7 +2768,13 @@ static void file_xfer_send_start_msg_async(SpiceMainChannel *channel, task-progress_callback_data = progress_callback_data; task-callback = callback; task-user_data = user_data; +task-start_time = g_date_time_new_now_local(); +basename = g_file_get_basename(task-file); +if (basename != NULL) { +g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, transfer of file %s has started, basename); +g_free(basename); +} CHANNEL_DEBUG(task-channel, Insert a xfer task:%d to task list, task-id); g_hash_table_insert(c-file_xfer_tasks, GUINT_TO_POINTER(task-id), task); -- 1.9.3 ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] protocol 2.0 document?
On 09/15/2014 05:30 AM, Brade-Atrust wrote: Hi guys, This is brade huang from taiwan, right now I try to dig into spice client source code and hopefully do some developments on spice, but when I investigated the code, I realized it already enhanced to protocol v2. I tried very hard to look for document about protocol v2 but couldn't get it. May you give me some suggestions about that? Thanks very much in advanced. There is no such thing as a v2 protocol. If by v2 you simply mean that the protocol as documented is not identical to the one currently used you are correct. But it has gone multiple small additions over time. The most succinct source is spice.proto in spice-common submodule: http://cgit.freedesktop.org/spice/spice-common/tree/spice.proto Sincerely, Brade ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] [PATCH xf86-video-qxl] In XSpice audio, fully clear the data structure; silences valgrind warnings.
Signed-off-by: Jeremy White jwh...@codeweavers.com --- src/spiceqxl_audio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spiceqxl_audio.c b/src/spiceqxl_audio.c index 7afc089..02859ee 100644 --- a/src/spiceqxl_audio.c +++ b/src/spiceqxl_audio.c @@ -195,10 +195,10 @@ audio_thread_main (void *p) struct audio_data data; int freq = SPICE_INTERFACE_PLAYBACK_FREQ; +memset(data, 0, sizeof(data)); for (i = 0; i MAX_FIFOS; ++i) data.fifo_fds[i] = -1; -data.valid_bytes = data.fed = 0; #if SPICE_INTERFACE_PLAYBACK_MAJOR 1 || SPICE_INTERFACE_PLAYBACK_MINOR = 3 freq = spice_server_get_best_playback_rate(qxl-playback_sin); #endif -- 1.7.10.4 ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] What are these directories on virtio-win-0.1-81.iso?
On 09/14/2014 11:32 PM, Yan Vugenfirer wrote: WNET- Windows 2003 WLH - Windows Vista and Windows 2008. Best regards, Yan. That explains it. Thank you! ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] What are these directories on virtio-win-0.1-81.iso?
On 09/14/2014 11:44 PM, Cody Chan wrote: For WXP XP directory, you can refer this: http://www.ovirt.org/How_to_create_a_Windows_XP_Virtual_Machine#Post_Install_Additions Wonderful reference. Thank you! ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] What are these directories on virtio-win-0.1-81.iso?
On 09/15/2014 12:44 AM, Christophe Fergeau wrote: Hey, On Sun, Sep 14, 2014 at 01:52:26PM -0700, ToddAndMargo wrote: I just downloaded virtio-win-0.1-81.iso from http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers Looking through the ISO, I find two directories: WLH and WNET. What are they? WLH is short for Windows Longhorn which is was the codename for Windows Vista. WNET is for Windows.net which was Windows 2003 https://en.wikipedia.org/wiki/List_of_Microsoft_codenames Also, I find a WXP and and XP directory. Why two of them? The ISO layout is a bit messy, some drivers end up in WXP, others in XP, I don't think there's a very good reason for that. You can find some mapping table in http://cgit.freedesktop.org/~teuf/spice-nsis/tree/tools/virtio.py mapping these directories names to more usual Windows versions: winxp: { netkvm: Driver(XP/x86, XP/amd64, (netkvm.*|readme.doc)), serial: Driver(Wxp/x86, Wnet/amd64, (vioser.*|wdfcoinstaller.*.dll)), balloon: Driver(Wxp/x86, Wnet/amd64, (balloon.*|bln.*|wdfcoinstaller.*.dll)), block: Driver(Wxp/x86, Wnet/amd64, viostor.*), scsi: Driver(Wnet/x86, Wnet/amd64, vioscsi.*), }, winxp is the 'readable' name, and then you have: { driver name: Driver(32 bit location, 64 bit location, file list) } Hope that helps, Christophe Hi Christophe, That explains it. Thank you! -T ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] clipboard
On 09/15/2014 12:47 AM, Christophe Fergeau wrote: Hey, On Sun, Sep 14, 2014 at 01:52:59PM -0700, ToddAndMargo wrote: How do you enable copy and paste from a Windows VM to the host Linux machine? You need to have the SPICE agent running in the Windows guests, and the VM needs to have the needed devices for guest/host communication, see http://people.freedesktop.org/~teuf/spice-doc/html/ch02s05.html This will give you cp between the client machine and the guest, which may or may not be the same as the host. The host is the machine where you run QEMU, the client is the machine where you run the SPICE client (remote-viewer) in order to connect to the VM you are interested in using the SPICE protocol. Christophe Hi Christophe, I was running a bunch of stuff with virt-manager's viewer. Switch back to Spice fixed it. Thank you! -T Believe it or not, I had forgotten why I used Spice. I also run two XP VM's, mainly to run Citrix's Go To Assist Express. The clipboard works for a while and then your have to shut the vm's down and reboot. I don't think that situation will get any better very soon. Citrix wants me in a native Windows machine. They also want me in W7+. But with being able to run W7 and W8 in vm's as well, I can easily see how much slower and more unstable they are than XP. And when I am remote assisting someone, I really, really do not want to deal with slow and unstable. Which is why I have two XP vm's: if one won't run then the other one will, until I have time to fix the first. (Usually I just restore the image from backup.) Citrix does sound like they are thinking about support Linux from the Agent side. Maybe ... -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~ ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
[Spice-devel] W8.0 video drivers
Hi All, Is there a way to get the guest additions (spice-guest-tools-0.74.exe) to work with the original Windows 8.0 (no service packs, just Frankenstein himself off the OEM CD). I am trying to get the video driver to install and it keeps telling me I have the wrong version of Windows. Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~ ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel
Re: [Spice-devel] [spice-gtk] Don't report IO error on clean guest shutdown
On Mon, Sep 15, 2014 at 8:56 AM, Christophe Fergeau cferg...@redhat.com wrote: On Fri, Sep 12, 2014 at 06:52:07PM +0100, Zeeshan Ali (Khattak) wrote: Anyone up for review? It would be nice to get this in and (if possible) even released before GNOME's code freeze break on Wednesday. Won't be bad if release before 3.14 release in two weeks either. For what it's worth, spice-gtk is not really following GNOME release cycle, and even less its various freezes. I'll see what we can do with respect to releasing. Yeah, I know but I was hoping some exceptions could be made here for our dear Boxes project. :) BTW, wouldn't be a bad idea for spice to follow GNOME release cycles, unless its following another project's release cycle already. -- Regards, Zeeshan Ali (Khattak) Befriend GNOME: http://www.gnome.org/friends/ ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel