From: Ian Campbell Subject: Re: [PATCH 26/28] libxl: ocaml: add disk and cdrom helper functions Date: Thu, 11 Apr 2013 13:58:44 +0100 Message-ID: <1365685124.8036.115.camel@zakaz.uk.xensource.com> References: <1364222729-6982-1-git-send-email-rob.hoes@citrix.com> <1364222729-6982-27-git-send-email-rob.hoes@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1364222729-6982-27-git-send-email-rob.hoes@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Rob Hoes Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, 2013-03-25 at 14:45 +0000, Rob Hoes wrote: > Signed-off-by: Rob Hoes > --- > tools/ocaml/libs/xl/genwrap.py | 5 ++++- > tools/ocaml/libs/xl/xenlight_stubs.c | 19 ++++++++++++++----- > 2 files changed, 18 insertions(+), 6 deletions(-) > > diff --git a/tools/ocaml/libs/xl/genwrap.py b/tools/ocaml/libs/xl/genwrap.py > index becdef8..5bc165d 100644 > --- a/tools/ocaml/libs/xl/genwrap.py > +++ b/tools/ocaml/libs/xl/genwrap.py > @@ -30,7 +30,10 @@ DEVICE_FUNCTIONS = [ ("add", ["ctx", "?async:'a", "t", "domid", "unit > functions = { # ( name , [type1,type2,....] ) > "device_vfb": DEVICE_FUNCTIONS, > "device_vkb": DEVICE_FUNCTIONS, > - "device_disk": DEVICE_FUNCTIONS, > + "device_disk": DEVICE_FUNCTIONS + > + [ ("insert", ["ctx", "?async:'a", "t", "domid", "unit"]), > + ("of_vdev", ["ctx", "domid", "string", "t"]), No list?