Revision aae9460e sysemu.h

b/sysemu.h
132 132
#endif
133 133

  
134 134
typedef enum {
135
    IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO, IF_XEN
135
    IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO, IF_XEN,
136
    IF_COUNT
136 137
} BlockInterfaceType;
137 138

  
138 139
typedef enum {
......
165 166
extern const char *drive_get_serial(BlockDriverState *bdrv);
166 167
extern BlockInterfaceErrorAction drive_get_onerror(BlockDriverState *bdrv);
167 168

  
169
BlockDriverState *qdev_init_bdrv(DeviceState *dev, BlockInterfaceType type);
170

  
168 171
struct drive_opt {
169 172
    const char *file;
170 173
    char opt[1024];
......
259 262
                    const char *tag, const char *str);
260 263
int check_params(const char * const *params, const char *str);
261 264

  
265
void register_devices(void);
266

  
262 267
#endif

Also available in: Unified diff