WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XENAPI] Add 'image' field to xen_vbd_rec

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XENAPI] Add 'image' field to xen_vbd_record, allowing an image to be
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Nov 2006 12:30:24 +0000
Delivery-date: Tue, 07 Nov 2006 04:31:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 9febecbeaeb0aa9bd51ee654a7179fbcb49df343
# Parent  0c332cf81e644e75662288d433bc0c97f9ac25cb
[XENAPI] Add 'image' field to xen_vbd_record, allowing an image to be
associated with the vbd. xend supports this field and the client
bindings need it to support existing images that are not under
control of an SR.

Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx>
---
 tools/libxen/include/xen_vbd.h |    1 +
 tools/libxen/src/xen_vbd.c     |    3 +++
 2 files changed, 4 insertions(+)

diff -r 0c332cf81e64 -r 9febecbeaeb0 tools/libxen/include/xen_vbd.h
--- a/tools/libxen/include/xen_vbd.h    Tue Nov 07 10:41:35 2006 +0000
+++ b/tools/libxen/include/xen_vbd.h    Tue Nov 07 10:46:03 2006 +0000
@@ -69,6 +69,7 @@ typedef struct xen_vbd_record
     struct xen_vm_record_opt *vm;
     struct xen_vdi_record_opt *vdi;
     char *device;
+    char *image;
     enum xen_vbd_mode mode;
     enum xen_driver_type driver;
     double io_read_kbs;
diff -r 0c332cf81e64 -r 9febecbeaeb0 tools/libxen/src/xen_vbd.c
--- a/tools/libxen/src/xen_vbd.c        Tue Nov 07 10:41:35 2006 +0000
+++ b/tools/libxen/src/xen_vbd.c        Tue Nov 07 10:46:03 2006 +0000
@@ -52,6 +52,9 @@ static const struct_member xen_vbd_recor
         { .key = "device",
           .type = &abstract_type_string,
           .offset = offsetof(xen_vbd_record, device) },
+        { .key = "image",
+          .type = &abstract_type_string,
+          .offset = offsetof(xen_vbd_record, image) },
         { .key = "mode",
           .type = &xen_vbd_mode_abstract_type_,
           .offset = offsetof(xen_vbd_record, mode) },

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XENAPI] Add 'image' field to xen_vbd_record, allowing an image to be, Xen patchbot-unstable <=