<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975">
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT color=#000080 size=2 face=Verdana>Well, I removed the ">", and yes 
it goes a few steps further but it still fail to apply</FONT></DIV>
<DIV><FONT color=#000080>the error msg is :</FONT></DIV>
<DIV><FONT color=#000080> </DIV>
<DIV>fatal: sha1 information is lacking or useless (Domain.cs).</DIV>
<DIV>Repository lacks necessary blobs to fall back on 3-way merge.</DIV>
<DIV>Cannot fall back to three-way merge.</DIV>
<DIV> </DIV>
<DIV>so what can I do?</FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Verdana>Regards</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>2010-11-02 </FONT></DIV><FONT 
color=#000080 size=2 face=Verdana>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>Lancer </FONT></DIV>
<HR color=#b5c4df SIZE=1>

<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG> Matthias Bolte 
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发送时间:</STRONG> 2010-11-02  04:12:50 
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG> jclift </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG> arnaud.champion; 
libvir-list; lancerhuang </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG> Re: [libvirt] SPAM-LOW: Re: 
Re: Node.GetInfo error </FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV>Ah, now I get what Arnaud meant in his other mail.</DIV>
<DIV></DIV>
<DIV>For some reason the first line in his patches has ">" in front of the</DIV>
<DIV>"From". Manually removing that ">" helps.</DIV>
<DIV></DIV>
<DIV>Matthias</DIV>
<DIV></DIV>
<DIV>2010/11/1  <jclift@redhat.com>:</DIV>
<DIV>> I sometimes get a similar error with git patches from email, if I use</DIV>
<DIV>> Thunderbird to save them.</DIV>
<DIV>> Thunderbird spreads the header information into several lines, so I need to</DIV>
<DIV>> manually adjust that after saving, with a text editor.</DIV>
<DIV>> Maybe that's the problem here too? :)</DIV>
<DIV>> On 02/11/2010, at 3:00 AM, <arnaud.champion@devatom.fr> wrote:</DIV>
<DIV>></DIV>
<DIV>> :S I'm far away from a git expert :S</DIV>
<DIV>></DIV>
<DIV>> Maybe anyone on the list can help us ?</DIV>
<DIV>></DIV>
<DIV>> Arnaud</DIV>
<DIV>> From: 黄亮</DIV>
<DIV>> Sent: Monday, November 01, 2010 2:42 PM</DIV>
<DIV>> To: arnaud.champion@devatom.fr</DIV>
<DIV>> Subject: Re: Re: Re: SPAM-LOW: Re: Re: Node.GetInfo error</DIV>
<DIV>> Hi Arnaud,</DIV>
<DIV>></DIV>
<DIV>> I tried GitExtension, but while applying patch, it returns</DIV>
<DIV>> "Patch format detection failed. "</DIV>
<DIV>></DIV>
<DIV>> Should I change some settings or is there something not right in the patch</DIV>
<DIV>> file?</DIV>
<DIV>></DIV>
<DIV>> Regards</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>> 2010-11-01</DIV>
<DIV>> ________________________________</DIV>
<DIV>> Lancer</DIV>
<DIV>> ________________________________</DIV>
<DIV>> 发件人: arnaud.champion@devatom.fr</DIV>
<DIV>> 发送时间: 2010-11-01  16:55:51</DIV>
<DIV>> 收件人: 黄亮</DIV>
<DIV>> 抄送: libvir-list@redhat.com</DIV>
<DIV>> 主题: Re: Re: SPAM-LOW: Re: Re: Node.GetInfo error</DIV>
<DIV>> Ok,</DIV>
<DIV>></DIV>
<DIV>> if you are under windows (like me), use GitExtension</DIV>
<DIV>> (http://sourceforge.net/projects/gitextensions/)</DIV>
<DIV>> It works, not perfect, but it works.</DIV>
<DIV>></DIV>
<DIV>> Arnaud</DIV>
<DIV>> From: 黄亮</DIV>
<DIV>> Sent: Monday, November 01, 2010 9:52 AM</DIV>
<DIV>> To: arnaud.champion@devatom.fr</DIV>
<DIV>> Subject: Re: Re: SPAM-LOW: Re: Re: Node.GetInfo error</DIV>
<DIV>> Hi Arnaud,</DIV>
<DIV>></DIV>
<DIV>> The NodeInfoStructure you sent to me yesterday works, thank you.</DIV>
<DIV>> I saw your patch file, should I manually apply it to the source code or is</DIV>
<DIV>> there some tools I can use to automatically apply the changes?</DIV>
<DIV>></DIV>
<DIV>> Regards</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>> 2010-11-01</DIV>
<DIV>> ________________________________</DIV>
<DIV>> Lancer</DIV>
<DIV>> ________________________________</DIV>
<DIV>> 发件人: arnaud.champion@devatom.fr</DIV>
<DIV>> 发送时间: 2010-11-01  16:37:17</DIV>
<DIV>> 收件人: 黄亮</DIV>
<DIV>> 抄送: libvir-list</DIV>
<DIV>> 主题: Re: SPAM-LOW: Re: Re: Node.GetInfo error</DIV>
<DIV>> Hi,</DIV>
<DIV>> I think the solution is in the last patches I have send (which are not yet</DIV>
<DIV>> in the git). Have you tried the NodeInfoStructure I have sended yesterday ?</DIV>
<DIV>></DIV>
<DIV>> Arnaud</DIV>
<DIV>> From: 黄亮</DIV>
<DIV>> Sent: Monday, November 01, 2010 3:01 AM</DIV>
<DIV>> To: arnaud.champion@devatom.fr</DIV>
<DIV>> Cc: libvir-list</DIV>
<DIV>> Subject: SPAM-LOW: Re: Re: Node.GetInfo error</DIV>
<DIV>> HI,</DIV>
<DIV>></DIV>
<DIV>> I tried</DIV>
<DIV>></DIV>
<DIV>> Errors.Error err = Errors.GetLastError();</DIV>
<DIV>> MessageBox.Show(err.Message);</DIV>
<DIV>></DIV>
<DIV>> But  IDE shows compilation errors that there is no "Error" defination in</DIV>
<DIV>> "Errors", and "Errors.GetLastError()" returns int.</DIV>
<DIV>> I made a guess that maybe it was like this:</DIV>
<DIV>></DIV>
<DIV>> Error err = Errors.SaveLastError();</DIV>
<DIV>> MessageBox.Show("Get Info error: " + err.Message);</DIV>
<DIV>></DIV>
<DIV>> It can be compiled but "err.Message" has nothing in it.</DIV>
<DIV>></DIV>
<DIV>> Did I make a wrong assumption?</DIV>
<DIV>></DIV>
<DIV>> Regards</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>> 2010-11-01</DIV>
<DIV>> ________________________________</DIV>
<DIV>> Lancer</DIV>
<DIV>> ________________________________</DIV>
<DIV>> 发件人: arnaud.champion@devatom.fr</DIV>
<DIV>> 发送时间: 2010-10-31  16:48:15</DIV>
<DIV>> 收件人: 黄亮</DIV>
<DIV>> 抄送: libvir-list@redhat.com</DIV>
<DIV>> 主题: Re: Node.GetInfo error</DIV>
<DIV>> Ok,</DIV>
<DIV>></DIV>
<DIV>> at first GetLastError return an Error object. So you should anything like :</DIV>
<DIV>></DIV>
<DIV>> Errors.Error err = Errors.GetLastError();</DIV>
<DIV>> MessageBox.Show(err.Message);</DIV>
<DIV>></DIV>
<DIV>> For the NodeInfo structure, I think the problem is the same that was for</DIV>
<DIV>> DomainInfo, I'll check marshaling. Then respond you with the correct infos.</DIV>
<DIV>></DIV>
<DIV>> Arnaud</DIV>
<DIV>></DIV>
<DIV>> PS : can you also put libvirt-list@redhat.com in copy of your mails, to keep</DIV>
<DIV>> everyone in the loop ?</DIV>
<DIV>> From: 黄亮</DIV>
<DIV>> Sent: Sunday, October 31, 2010 8:20 AM</DIV>
<DIV>> To: arnaud.champion</DIV>
<DIV>> Subject: Node.GetInfo error</DIV>
<DIV>> Hi,</DIV>
<DIV>></DIV>
<DIV>> Sorry for disturbing again. But I get error while using Node.GetInfo.</DIV>
<DIV>></DIV>
<DIV>> Code:</DIV>
<DIV>></DIV>
<DIV>> NodeInfo aNodeInfo = new NodeInfo();</DIV>
<DIV>> if (Node.GetInfo(con, aNodeInfo) < 0)</DIV>
<DIV>> {</DIV>
<DIV>> //MessageBox.Show("Node Info Error");</DIV>
<DIV>> MessageBox.Show(Errors.GetLastError().ToString());</DIV>
<DIV>> return 0f;</DIV>
<DIV>> }</DIV>
<DIV>></DIV>
<DIV>> I'm sure con != IntPtr.Zero. I tried to use Errors.GetLastError(), it</DIV>
<DIV>> returns int. But I don't know what to do with it.</DIV>
<DIV>> So, any suggestions ? Thanks</DIV>
<DIV>></DIV>
<DIV>> Regards</DIV>
<DIV>> 2010-10-31</DIV>
<DIV>> ________________________________</DIV>
<DIV>> Lancer</DIV>
<DIV>></DIV>
<DIV>> __________ Information from ESET Smart Security, version of virus signature</DIV>
<DIV>> database 5577 (20101030) __________</DIV>
<DIV>></DIV>
<DIV>> The message was checked by ESET Smart Security.</DIV>
<DIV>></DIV>
<DIV>> http://www.eset.com</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>> __________ Information from ESET Smart Security, version of virus signature</DIV>
<DIV>> database 5580 (20101031) __________</DIV>
<DIV>></DIV>
<DIV>> The message was checked by ESET Smart Security.</DIV>
<DIV>></DIV>
<DIV>> http://www.eset.com</DIV>
<DIV>></DIV>
<DIV>> --</DIV>
<DIV>> libvir-list mailing list</DIV>
<DIV>> libvir-list@redhat.com</DIV>
<DIV>> https://www.redhat.com/mailman/listinfo/libvir-list</DIV>
<DIV>></DIV>
<DIV>> --</DIV>
<DIV>> libvir-list mailing list</DIV>
<DIV>> libvir-list@redhat.com</DIV>
<DIV>> https://www.redhat.com/mailman/listinfo/libvir-list</DIV>
<DIV>></DIV>
<DIV></DIV>
<DIV>__________ Information from ESET Smart Security, version of virus signature database 5583 (20101101) __________</DIV>
<DIV></DIV>
<DIV>The message was checked by ESET Smart Security.</DIV>
<DIV></DIV>
<DIV>http://www.eset.com</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV></FONT></DIV></BODY></HTML>