<div dir="ltr"><div>Hey Fernando,<br><br></div><div>1) As a possible workaround, can't you put a Linux server with virt-manager installed somewhere, and then have the Windows sysadmins use it through X11 forwarding (with Xming, or Cygwin installed on the Windows machines)?<br>
<br></div><div>2) Also, if virt-manager can run under Cygwin, you can use it directly on the Windows machines that way (I don't know if it does).<br><br></div><div>Cheers,<br></div><div>iordan<br></div><div><br><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 3:01 PM, Fernando Lozano <span dir="ltr"><<a href="mailto:fernando@lozano.eti.br" target="_blank">fernando@lozano.eti.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to use virsh and virt-viewer on Windows.  I'm running the<br>
latest binaries from <a href="http://spice-space.org/download.html" target="_blank">http://spice-space.org/<u></u>download.html</a>, that is,<br>
virt-viewer-x64-0.5.7.msi on a Windows 7 64-bits computer.<br>
</blockquote></blockquote></div>
I am willing to help all I can to test, but I'm not a Gnome developer. I<div class="im"><br>
have not coded a single line in C for more than 10 yeas. :-(<br>
</div></blockquote><div class="im">
You are lucky! :) libvirt is not a gnome technology. If you have some developper experience, it might not be so hard to fix some of the issues (like the paths).<br>
</div></blockquote>
<br>
If I were compiling and running on Linux, I'd give it a try despite my outdated C coding skills. But the current process of cross-compiling on Linux then running on Windows is not an easy one. Heck, if you readhatters and fedoraers who are used to do it doesn't do frequently, and have frequent dependency problems, what hope do I have to being able to do this -- even if I get approval from my boss? ;-)<br>

<br>
The ultimate goal is running virt-manager from Windows (but I found no port yet to test). It would be enough for the short-term being able to run at least virsh and virt-viewer so Windows syasdmins doesn't complain so much and doesn't tell my boss we should buy XenServer. (not kidding)<br>

<br>
It looks like the paths are not the issue with the code -- they were not easy to find, but this is a documenation probem. :-) I already send feedback to the lists about the correct paths for windows users.<br>
<br>
Sysinternals ProcessMonitor is a freeware windows tool that provides strace-like features, and from it I can tell reading the certificate files is not the problem anymore. It also shows no network errors and no other windows systemcalls issues.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If it's just accessing remote display, you could stick to remote-viewer? Yes you need to know the port though.<br>
</blockquote></div>
If it were just for me I'd live with that. But other TI people here are complaining about "not user friendly" running remote-viewer directly and do not want to use Xming. So I need to provide an "easier" way to remote guest console access from windows, and also a way to run some kvm administration. As I said, they are already lobbying to move from KVM to something else. :-(<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

What version of virsh is included in that msi?  Maybe it's just a case<br>
of a stale build, for something that has been fixed upstream?<br>
</blockquote>
C:>virsh -V<br>
Virsh command line tool of libvirt 0.10.2<br>
</blockquote>
See my previous reply. You can check the $prefix\deps.txt file for the build versions.<br>
</blockquote>
<br></div>
As expected, deps.txt agrees with virsh -V:<br>
<br>
mingw32-libvirt-0.10.2-3.fc19.<u></u>noarch<br>
mingw32-libvirt-static-0.10.2-<u></u>3.fc19.noarch<br>
<br>
Same contents for both x64 and x86 virt-viewer 0.5.7 msi's from <a href="http://spice-space.org" target="_blank">spice-space.org</a>.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">

Do you know who built the Windows port? I know someone is doing that,<br></div>
because the binaries are updated every few months. :-)<br>
</blockquote><div class="im">
Daniel & me? It's useful, since you found bugs. I could eventually fix them, but libvirt on windows is probably not a priority...  I would start by filling bugs.<br>
</div></blockquote>
As a Linux user myself, I would't care less about the windows port ;-) But as an IT consultant, I see most potentical RHEL+KVM or RHEV users (and KVM + CentOS, Fedora, Debian, etc users) have windows workstations and no knowledge, worse yet, no interest in using X remote displays. Not to mention there are times you need the guest console, X remote won't be enough.<br>

<br>
Besides it's very very inefficient accessing a guest console from virt-manager using Xming or other X server for Windows, with or without ssh. You are on an end-to-end 1Gbps LAN but feels like an ADSL connection or worse. :-(<br>

<br>
I'd argue to the Red Hat managers that windows ports of virt-manager and etc needs a higher priority if they want to grab market share from vmware, hyper-v or xenserver.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Again, I'm willing to help any way I can, but I can be only a tester,<br>
and a documentation writer. I won't be able to help as a developer. :-(<br>
</blockquote>
I would say hacking on libvirt windows is easy, as long as you have a windows (to run) & a fedora (to build). Some issues could even be debugged with wine (yes!)<br>
</blockquote></div>
The few docs I saw about porting Linux software for windows (like gimp) makes it look very hard, involving a significand investment in time just to get started and a deep knowledge about both platforms. Would you be able to provide a HOW-TO for virsh and maybe virt-viewer? I'm not telling I'd be able to spare the time, but I'd give it a try before calling defeat.<br>

<br>
<br>
[]s, Fernando Lozano<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.freedesktop.<u></u>org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/spice-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>The conscious mind has only one thread of execution.
</div>