From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yu-An(Victor) Chen" Subject: Re: Patching error while setting up COLO Date: Thu, 3 Mar 2016 18:01:10 -0800 Message-ID: References: <56CEC006.2050005@cn.fujitsu.com> <1456396297.6225.191.camel@citrix.com> <56CFD26C.3000104@cn.fujitsu.com> <56CFDDAF.8060200@cn.fujitsu.com> <56D8161E.7010707@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6381122368472059595==" Return-path: In-Reply-To: <56D8161E.7010707@cn.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Wen Congyang Cc: Changlong Xie , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============6381122368472059595== Content-Type: multipart/alternative; boundary=001a113abe4e35e90f052d2f7da2 --001a113abe4e35e90f052d2f7da2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, So I git clone https://github.com/wencongyang/qemu-xen.git but i only see branch "con-xen-v2" instead of " colo-xen-v2" so I assume I use just use con-xen-v2. But then the following step: in both ~/qemu-colo and ~/qemu-xen ./configure --enable-xen --target-list=3Dx86_64-softmmu --extra-cflags=3D"-I$path_to_xen_source/tools/include -I$path_to_xen_source/tools/libxc -I$path_to_xen_source/tools/xenstore" --extra-ldflags=3D"-L$path_to_xen_source/tools/libxc -L$path_to_xen_source/tools/xenstore" I got the following error message: "ERROR: User requested feature xen configure was not able to find it. Install xen devel" I found out the the error came from just simply doing this: ./configure --enable-xen I am thinking the reason is because I did this step wrong: "path_to_xen_source=3D~/xen" Do I just simply copy and paste the above command into the terminal and execute? Thank you! Victor Thank you! On Thu, Mar 3, 2016 at 2:46 AM, Wen Congyang wrote: > On 03/03/2016 05:39 PM, Yu-An(Victor) Chen wrote: > > Hi Changlong, > > > > Thanks for the reply, > > > > Again when I am trying to do the following: > > > > 5. build qemu-colo > > 1) cd ~/qemu-colo/; *git checkout colo-xen-v2* > > * > > * > > I got this error message *"error: pathspec 'colo-xen-v2' did not match > any file(s) known to git."* Even if I do git fetch, I still get the same > error. > > > > the qemu-colo I cloned from is provided by you > https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__github.com_wencong= yang_qemu-2Dcolo.git&d=3DCwICaQ&c=3DclK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfn= c_gI&r=3DIitX1U91-NhsQt0q4MJOLQ&m=3DMgaousw-OxgAf6f9NTOk2AidO8unmTx8nKwiGLU= CISU&s=3DTz2SiQ2gjQexttffgWiqgwj07qsfY4TpG4Hfcpo9Lco&e=3D > > > https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__github.com_wencong= yang_qemu-2Dxen&d=3DCwICaQ&c=3DclK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&= r=3DIitX1U91-NhsQt0q4MJOLQ&m=3DMgaousw-OxgAf6f9NTOk2AidO8unmTx8nKwiGLUCISU&= s=3Dz-KexB48-yzsD9EEJ5tC3p8tHRiRi7LoUiP-gF6kKX0&e=3D > , not qemu-colo > > > > > Thank you! > > > > Victor > > > > > > > > On Thu, Feb 25, 2016 at 9:07 PM, Changlong Xie < > xiecl.fnst@cn.fujitsu.com > wrote: > > > > On 02/26/2016 12:55 PM, Yu-An(Victor) Chen wrote: > > > > Hi Changlong, > > > > Are you suggesting I should hold off on setting up COLO for now= ? > > > > > > No, just following my steps. > > > > Thanks > > -Xie > > > > > > Thanks! > > > > Victor > > > > On Thu, Feb 25, 2016 at 8:19 PM, Changlong Xie < > xiecl.fnst@cn.fujitsu.com > > > wrote: > > > > On 02/26/2016 11:38 AM, Yu-An(Victor) Chen wrote: > > > > Hi Changlong, > > > > Thanks for the reply! > > > > So I am trying to follow your new instructions, but whe= n > I am trying to do > > this: > > > > cd ~/colo-proxy/; git checkout 405527cbfa9f > > > > I got the following error: > > > > "error: pathspec '405527cbfa9f' did not match any > file(s) known to git." > > > > I assume it is just a typo? Thank you! > > > > > > Hi victor > > > > Please git clone > > > https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__github.com_Pating_= colo-2Dproxy_tree_changlox&d=3DCwICaQ&c=3DclK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8= p7CSfnc_gI&r=3DIitX1U91-NhsQt0q4MJOLQ&m=3DpCAkg_8tEQmGEZZoUlyePZjK7z-6aEmp-= n6UrQRLWo4&s=3DWw-EAIszC-zQuVcDc4XpigwVbMG_4t2SpTg2PV6HTjM&e=3D > > *Notice* that, currently we implement colo proxy as a kerne= l > module what > > is a temporary measure. But further more we'll intergrate i= t > in qemu and > > drop this one, so both qemu-colo and xen-colo will share th= e > same proxy. > > Please don't test this colo proxy now, there maybe some > bugs, but it's > > acceptable. > > > > Thanks > > -Xie > > > > > > Victor > > > > > > > > > > > > > > > > > > > > > > > > --001a113abe4e35e90f052d2f7da2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,


but i only see bra= nch "con-xen-v2" instead of "=C2=A0colo-xen-v2" so I assu= me I use just use con-xen-v2.

But then the fo= llowing step:

=
in both ~/qemu-colo and ~/qemu-= xen

./configure --enable-xen --target-li= st=3Dx86_64-softmmu --extra-cflags=3D"-I$path_to_xen_source/tools/incl= ude -I$path_to_xen_source/tools/libxc -I$path_to_xen_source/tools/xenstore&= quot; --extra-ldflags=3D"-L$path_to_xen_source/tools/libxc -L$path_to_= xen_source/tools/xenstore"


I got the following error message= :

<= div style=3D"">"ERROR: User requested= feature xen
= =C2=A0 =C2=A0 =C2=A0 =C2=A0configure was not able to find it.
<= div style=3D"">=C2=A0 =C2=A0 =C2=A0 =C2=A0= Install xen devel"

I found out the the error came from just simply doing this:

./configure --enable-xen =C2=A0=

I am thinking the reas= on is because I did this step wrong:

"path_to_xen_source=3D~/xen"

D= o I just simply copy and paste the above command into the terminal and exec= ute?

Thank you!<= /div>

Victor




<= br>



Thank you!<= /div>

On Thu= , Mar 3, 2016 at 2:46 AM, Wen Congyang <wency@cn.fujitsu.com> wrote:
On 03/03/201= 6 05:39 PM, Yu-An(Victor) Chen wrote:
> Hi Changlong,
>
> Thanks for the reply,
>
> Again when I am trying to do the following:
>
> 5. build qemu-colo
> 1) cd ~/qemu-colo/; *git checkout colo-xen-v2*
> *
> *
> I got this error message *"error: pathspec 'colo-xen-v2' = did not match any file(s) known to git."* Even if I do git fetch, I st= ill get the same error.
>
> the qemu-colo I cloned from is provided by you https://urldefense.proofpoint.com/v2/url?u= =3Dhttps-3A__github.com_wencongyang_qemu-2Dcolo.git&d=3DCwICaQ&c=3D= clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=3DIitX1U91-NhsQt0q4MJOLQ&= amp;m=3DMgaousw-OxgAf6f9NTOk2AidO8unmTx8nKwiGLUCISU&s=3DTz2SiQ2gjQexttf= fgWiqgwj07qsfY4TpG4Hfcpo9Lco&e=3D

https://urldefense.proofpo= int.com/v2/url?u=3Dhttps-3A__github.com_wencongyang_qemu-2Dxen&d=3DCwIC= aQ&c=3DclK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=3DIitX1U91-Nhs= Qt0q4MJOLQ&m=3DMgaousw-OxgAf6f9NTOk2AidO8unmTx8nKwiGLUCISU&s=3Dz-Ke= xB48-yzsD9EEJ5tC3p8tHRiRi7LoUiP-gF6kKX0&e=3D , not qemu-colo

>
> Thank you!
>
> Victor
>
>
>
> On Thu, Feb 25, 2016 at 9:07 PM, Changlong Xie <xiecl.fnst@cn.fujitsu.com <mailto:xiecl.fnst@cn.fujitsu.com>>= wrote:
>
>=C2=A0 =C2=A0 =C2=A0On 02/26/2016 12:55 PM, Yu-An(Victor) Chen wrote: >
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Hi Changlong,
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Are you suggesting I should hold off = on setting up COLO for now?
>
>
>=C2=A0 =C2=A0 =C2=A0No, just following my steps.
>
>=C2=A0 =C2=A0 =C2=A0Thanks
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-Xie
>
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Thanks!
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Victor
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0On Thu, Feb 25, 2016 at 8:19 P= M, Changlong Xie <xiecl.fns= t@cn.fujitsu.com <mailto:xiecl.fnst@cn.fujitsu.com>>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0wrote:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0On 02/26/2016 11:38 AM,= Yu-An(Victor) Chen wrote:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Hi Changl= ong,
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Thanks fo= r the reply!
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0So I am t= rying to follow your new instructions, but when I am trying to do
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0this:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 c= d ~/colo-proxy/; git checkout 405527cbfa9f
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I got the= following error:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"err= or: pathspec '405527cbfa9f' did not match any file(s) known to git.= "
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I assume = it is just a typo? Thank you!
>
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Hi victor
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Please git clone
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0https://urldefense.proofpoint.com/v2/u= rl?u=3Dhttps-3A__github.com_Pating_colo-2Dproxy_tree_changlox&d=3DCwICa= Q&c=3DclK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=3DIitX1U91-NhsQ= t0q4MJOLQ&m=3DpCAkg_8tEQmGEZZoUlyePZjK7z-6aEmp-n6UrQRLWo4&s=3DWw-EA= IszC-zQuVcDc4XpigwVbMG_4t2SpTg2PV6HTjM&e=3D
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0*Notice* that, currentl= y we implement colo proxy as a kernel module what
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0is a temporary measure.= But further more we'll intergrate it in qemu and
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0drop this one, so both = qemu-colo and xen-colo will share the same proxy.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Please don't test t= his colo proxy now, there maybe some bugs, but it's
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0acceptable.
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Thanks
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 -Xie
>
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Victor >
>
>
>
>
>
>
>
>
>




--001a113abe4e35e90f052d2f7da2-- --===============6381122368472059595== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============6381122368472059595==--