[libvirt] Trouble with virsh on Windows

Charles Bancroft charlie.bancroft at siegetechnologies.com
Mon Apr 17 13:49:01 UTC 2017


Hi List,

I have a question about some troubles I am having with virsh on Windows
x64.  I am currently running a KVM server on a linux box and need to
allow Windows clients to access it.  I have set up the server for access
with:

```
listen_tls = 0
listen_tcp = 1
auth_tcp = "none"
```
to allow for remote access while testing things.  I have verified that I
can connect remotely from other linux machines, but my windows machine
always reports:

```
error: failed to connect to the hypervisor
error: An error occurred, but the cause is unknown
```

On the server side I see:
```
10435: error : virNetSocketReadWire:1793 : Cannot recv data: Connection
reset by peer
```

This happens no matter what build of virsh for windows I am using.  I
have tried 3 different mingw-64 builds and versions and am about to just
build my own from scratch.  I have verified that it is not the firewall
or the version of Windows I am using.  I am also able to use virsh
within a docker or from the Windows Subsystem for Linux bash prompt.

Any ideas as to what could be causing this connection reset?  It happens
as soon as a connection attempt occurs and I am running out of idea.

Thanks!
Charles Bancroft
Principal Scientist
Siege Technologies

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170417/cc0eb738/attachment-0001.sig>


More information about the libvir-list mailing list