<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19328"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi:</DIV>
<DIV>the hypervisor is kvm. the URI: qemu+tcp://root@hostname/system</DIV>
<DIV>0.9.11 was also like this error.</DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>xuanmao_001</SPAN></DIV>
<DIV> </DIV>
<DIV 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV 
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:matthias.bolte@googlemail.com">Matthias 
Bolte</A></DIV>
<DIV><B>Date:</B> 2012-10-07 01:02</DIV>
<DIV><B>To:</B> <A href="mailto:xuanmao_001@163.com">xuanmao_001</A></DIV>
<DIV><B>CC:</B> <A href="mailto:eblake@redhat.com">Eric Blake</A>; <A 
href="mailto:libvirt-users@redhat.com">libvirt-users</A></DIV>
<DIV><B>Subject:</B> Re: [libvirt-users] can not connect hypervisor using 
libvirt-0.9.8 on windows</DIV></DIV></DIV>
<DIV>
<DIV>2012/9/29 xuanmao_001 <xuanmao_001@163.com>:</DIV>
<DIV>> Hi, Eric:</DIV>
<DIV>> I compiled libvirt-0.9.8 source code with the msys environment on windows</DIV>
<DIV>> xp.</DIV>
<DIV>> the compiltion was successed.</DIV>
<DIV>> but when I connect the remote host using virsh.exe, it occured error like:</DIV>
<DIV>> error: Failed to connect to the hypervisor</DIV>
<DIV>> error: Unable to set close-on-exec flag: No such file or directory</DIV>
<DIV>></DIV>
<DIV>> Is there something wrong?  give me some help, thanks!</DIV>
<DIV> </DIV>
<DIV>Can you be more specific here?</DIV>
<DIV> </DIV>
<DIV>To what hypervisor did you try to connect?</DIV>
<DIV> </DIV>
<DIV>What URI did you use?</DIV>
<DIV> </DIV>
<DIV>Why didn't you use the latest libvirt version supported by msys_setup</DIV>
<DIV>(assuming that you used msys_setup), which is 0.9.11?</DIV>
<DIV> </DIV>
<DIV>-- </DIV>
<DIV>Matthias Bolte</DIV>
<DIV>http://photron.blogspot.com</DIV></DIV></BODY></HTML>