Signed-off-by: Vincent Palatin <vpala...@chromium.org> --- blockdev.c | 2 ++ blockdev.h | 1 + 2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/blockdev.c b/blockdev.c index 7d579d6..c836311 100644 --- a/blockdev.c +++ b/blockdev.c @@ -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 */ diff --git a/blockdev.h b/blockdev.h index 3587786..ef06335 100644 --- a/blockdev.h +++ b/blockdev.h @@ -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; -- 1.7.3.1