@@ -29,6 +29,7 @@ static const char *const if_name[IF_COUNT] = {
[IF_SD] = "sd",
[IF_VIRTIO] = "virtio",
[IF_XEN] = "xen",
+ [IF_EMMC] = "emmc",
};
static const int if_max_devs[IF_COUNT] = {
@@ -500,6 +501,7 @@ DriveInfo *drive_init(QemuOpts *opts, int default_to_scsi)
break;
case IF_PFLASH:
case IF_MTD:
+ case IF_EMMC:
break;
case IF_VIRTIO:
/* add virtio block device */
@@ -22,6 +22,7 @@ typedef enum {
IF_DEFAULT = -1, /* for use with drive_add() only */
IF_NONE,
IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO, IF_XEN,
+ IF_EMMC,
IF_COUNT
} BlockInterfaceType;
Signed-off-by: Vincent Palatin <vpalatin@chromium.org> --- blockdev.c | 2 ++ blockdev.h | 1 + 2 files changed, 3 insertions(+), 0 deletions(-)