From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: [PATCH 2/5] Xl interface change plus changes to code it impacts Date: Fri, 11 Feb 2011 15:26:13 +0000 Message-ID: References: <4D5060EB.3060109@gmail.com> <4D52DB1E.6080101@gmail.com> <4D541AC6.6040802@gmail.com> <4D5443E6.8010704@gmail.com> <4D555368.3010504@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <4D555368.3010504@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kamala Narasimhan Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, 11 Feb 2011, Kamala Narasimhan wrote: > Stefano Stabellini wrote: > > On Thu, 10 Feb 2011, Kamala Narasimhan wrote: > >> Stefano - This includes a fix for empty cdrom case issue you found while testing. > >> > >> Description: > >> > >> This patch refactors xl disk specific interface to separate disk format and backend types, rename some variables, changes code that is impacted by this interface change. > >> > > > > you need to update the ocaml bindings, otherwise the patch will cause > > build problems: > > > > make[7]: Entering directory `/local/scratch/sstabellini/xen-unstable.hg/tools/ocaml/libs/xl' > > CC xl_stubs.o > > xl_stubs.c: In function 'device_disk_val': > > xl_stubs.c:195: error: 'libxl_device_disk' has no member named 'physpath' > > xl_stubs.c:196: error: 'libxl_device_disk' has no member named 'phystype' > > xl_stubs.c:196: error: 'PHYSTYPE_QCOW' undeclared (first use in this function) > > xl_stubs.c:196: error: (Each undeclared identifier is reported only once > > xl_stubs.c:196: error: for each function it appears in.) > > xl_stubs.c:197: error: 'libxl_device_disk' has no member named 'virtpath' > > make[7]: *** [xl_stubs.o] Error 1 > > make[7]: Leaving directory `/local/scratch/sstabellini/xen-unstable.hg/tools/ocaml/libs/xl' > > make[6]: *** [subdir-install-xl] Error 2 > > make[6]: Leaving directory `/local/scratch/sstabellini/xen-unstable.hg/tools/ocaml/libs' > > make[5]: *** [subdirs-install] Error 2 > > make[5]: Leaving directory `/local/scratch/sstabellini/xen-unstable.hg/tools/ocaml/libs' > > make[4]: *** [subdir-install-libs] Error 2 > > make[4]: Leaving directory `/local/scratch/sstabellini/xen-unstable.hg/tools/ocaml' > > make[3]: *** [subdirs-install] Error 2 > > make[3]: Leaving directory `/local/scratch/sstabellini/xen-unstable.hg/tools/ocaml' > > make[2]: *** [subdir-install-ocaml] Error 2 > > make[2]: Leaving directory `/local/scratch/sstabellini/xen-unstable.hg/tools' > > make[1]: *** [subdirs-install] Error 2 > > make[1]: Leaving directory `/local/scratch/sstabellini/xen-unstable.hg/tools' > > make: *** [install-tools] Error 2 > > > > > > apart from this it looks OK to me. > > Stefano - Here is a revised patch that fixes the ocaml bindings build issues. While I confirmed that the build now works, I wouldn't even know where to start when it comes to testing it! > > Signed-off-by: Kamala Narasimhan The patch is OK for me.