Revert "device_hotplug: supported various image type sdcard"
authorChulHo Song <ch81.song@samsung.com>
Fri, 13 Nov 2015 07:37:43 +0000 (16:37 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 13 Nov 2015 08:48:28 +0000 (17:48 +0900)
This reverts commit 7e8d41619b251177196f62a6c44ecdce047aaadc.

Removal of the driver option occur error case.

Change-Id: I0f91bbfdd1f5a855b59941e57057e8999591e1a3
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
tizen/src/util/device_hotplug.c

index 0619594..2dd5f5d 100644 (file)
@@ -105,6 +105,7 @@ static bool do_sdcard_attach(const char * const file)
     qdict_put(qdict_file, "driver", qstring_from_str("file"));
     qdict_put(qdict_file, "filename", qstring_from_str(file));
     qdict_put(qdict_options, "file", qdict_file);
+    qdict_put(qdict_options, "driver", qstring_from_str("qcow2"));
     qdict_put(qdict_options, "id", qstring_from_str(sdcard_device_id));
     qdict_put(qdict, "options", qdict_options);