Print this page
patch zone-auto-create-be

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libbe/common/libbe_priv.h
          +++ new/usr/src/lib/libbe/common/libbe_priv.h
↓ open down ↓ 65 lines elided ↑ open up ↑
  66   66  #define BE_SPARC_BOOTBLK        "/lib/fs/zfs/bootblk"
  67   67  
  68   68  #define ZFS_CLOSE(_zhp) \
  69   69          if (_zhp) { \
  70   70                  zfs_close(_zhp); \
  71   71                  _zhp = NULL; \
  72   72          }
  73   73  
  74   74  #define BE_ZONE_PARENTBE_PROPERTY       "org.opensolaris.libbe:parentbe"
  75   75  #define BE_ZONE_ACTIVE_PROPERTY         "org.opensolaris.libbe:active"
  76      -#define BE_ZONE_SUPPORTED_BRANDS        "ipkg labeled"
  77      -#define BE_ZONE_SUPPORTED_BRANDS_DELIM  " "
  78   76  
  79   77  /* Maximum length for the BE name. */
  80   78  #define BE_NAME_MAX_LEN         64
  81   79  
  82   80  #define MAX(a, b) ((a) > (b) ? (a) : (b))
  83   81  #define MIN(a, b) ((a) < (b) ? (a) : (b))
  84   82  
  85   83  typedef struct be_transaction_data {
  86   84          char            *obe_name;      /* Original BE name */
  87   85          char            *obe_root_ds;   /* Original BE root dataset */
↓ open down ↓ 112 lines elided ↑ open up ↑
 200  198  /* be_activate.c */
 201  199  int _be_activate(char *);
 202  200  int be_activate_current_be(void);
 203  201  boolean_t be_is_active_on_boot(char *);
 204  202  
 205  203  /* be_zones.c */
 206  204  void be_make_zoneroot(char *, char *, int);
 207  205  int be_find_active_zone_root(zfs_handle_t *, char *, char *, int);
 208  206  int be_find_mounted_zone_root(char *, char *, char *, int);
 209  207  boolean_t be_zone_supported(char *);
 210      -zoneBrandList_t *be_get_supported_brandlist(void);
 211  208  int be_zone_get_parent_uuid(const char *, uuid_t *);
 212  209  int be_zone_set_parent_uuid(char *, uuid_t);
 213  210  boolean_t be_zone_compare_uuids(char *);
 214  211  
 215  212  /* check architecture functions */
 216  213  char *be_get_default_isa(void);
 217  214  char *be_get_platform(void);
 218  215  boolean_t be_is_isa(char *);
 219  216  boolean_t be_has_grub(void);
 220  217  
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX