<span style="color: rgb(51, 102, 255);">> i tried "./configure --sysconfdir=C:\pki\"</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">
> but this didnot work...</span><br style="color: rgb(51, 102, 255);"><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">When you say this "did not work", how did it fail?  The clue is</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">
usually in the error message.</span><br><br>when i did <span style="color: rgb(51, 102, 255);">--sysconfdir="C:\pki\"</span> I expected that i have keep my certificates under this directory(correct me if i'm wrong).<br>
But it was still taking the certificates from "Z:\usr\i686-pc-mingw\sys-confic\mingw\etc\pki" (in Windows).<br><br>--------------------------<br><br>Regarding virsh:<br><br><b>virsh on linux mahine:</b><br><br>URI tried from a remote linux mahine:<br>
<br><span style="background-color: rgb(255, 255, 102);">virsh -c qemu+tcp://FC11-KVM/session</span><br style="background-color: rgb(255, 255, 102);"><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">virsh -c qemu://FC11-KVM/session</span><br style="background-color: rgb(255, 255, 102);">
<br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">virsh -c qemu+ssh://FC11-KVM/session</span><br style="background-color: rgb(255, 255, 102);"><br style="background-color: rgb(255, 255, 102);">
<span style="background-color: rgb(255, 255, 102);">virsh -c qemu+unix://FC11-KVM/session</span><br><br>all of these work fine<br><b><br>virsh on windows:</b><br><br>on windows the supported URIs are:<br><br><span style="background-color: rgb(255, 255, 102);">virsh.exe -c qemu+tcp://FC11-KVM/session</span><br style="background-color: rgb(255, 255, 102);">

<br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">
virsh.exe -c qemu://FC11-KVM/session</span><br><br><br>URI "<span style="background-color: rgb(255, 255, 102);">qemu+tcp://FC11-KVM/session</span>" works fine. It gets connected and i can call all the functions.<br>
I have also written a small code on C#.net and i use this URI (qemu+tcp://FC11-KVM/session) to connect to libvirt and call the functions and it works fine without any problem.<br><br>Now the problem again comes with URI : <span style="background-color: rgb(255, 255, 0);">virsh.exe -c qemu://FC11-KVM/session</span><br>
<br>when i rum me code using the above URI<br>this is what the error message that it gives:<br><span style="background-color: rgb(255, 255, 102);">Cannot access CA certificate '/usr/i686-pc-mingw32/sys-root/mingw/etc/pki/CA/cacert.pem' : errno=2</span><br>
<br><div class="gmail_quote">So basically i need to change the the path it is looking in.....<br><br><br>On Wed, Sep 30, 2009 at 9:51 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Wed, Sep 30, 2009 at 09:02:59PM +0530, anuj rampal wrote:<br>
> i tried "./configure --sysconfdir=C:\pki\"<br>
> but this didnot work...<br>
<br>
</div>When you say this "did not work", how did it fail?  The clue is<br>
usually in the error message.<br>
<br>
In any case, you almost certainly can't just write C:\pki\ because \<br>
is an escape character.  Maybe you can double them, or use forward<br>
slashes instead.<br>
<div class="im"><br>
> LIBVIRT_DEBUG=1 virt-viewer -c qemu://FC11-KVM/session 2<br>
<br>
</div>It's really not helpful to use virt-viewer to test.  Test using a<br>
simple tool like virsh.  Get that working first.  Once you understand<br>
what the problem was, *only then* try virt-viewer.<br>
<div class="im"><br>
> Do we have to do any configuration on libvirtd to make virt-viewer to work<br>
> over tcp and tls because it works fine from a remote linux machine over ssh.<br>
<br>
</div>You can also disable encryption in libvirtd:<br>
<br>
  <a href="http://libvirt.org/remote.html#Remote_libvirtd_configuration" target="_blank">http://libvirt.org/remote.html#Remote_libvirtd_configuration</a><br>
<br>
or read the libvirtd.conf file.<br>
<div class="im"><br>
Rich.<br>
<br>
--<br>
Richard Jones, Emerging Technologies, Red Hat  <a href="http://et.redhat.com/%7Erjones" target="_blank">http://et.redhat.com/~rjones</a><br>
</div>Read my programming blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)<br>
<a href="http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora" target="_blank">http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora</a><br>
</blockquote></div><br>