projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
819d41e
)
Fixed SDCard locking issue in windows
96/280996/1
author
Varinder Pratap
<varinder.p@samsung.com>
Wed, 7 Sep 2022 11:05:46 +0000
(16:35 +0530)
committer
Varinder Pratap
<varinder.p@samsung.com>
Wed, 7 Sep 2022 11:05:55 +0000
(16:35 +0530)
Change-Id: I458e512919a50624d0dc719400267b34364c7e6b
Signed-off-by: Varinder Pratap <varinder.p@samsung.com>
tizen/src/util/device_hotplug.c
patch
|
blob
|
history
diff --git
a/tizen/src/util/device_hotplug.c
b/tizen/src/util/device_hotplug.c
index 2f8a9af3d83b58a7f64d5f3cfa4284eda9733c56..95fa101656c05f673fa0b824b9b97e6e5610aca5 100644
(file)
--- a/
tizen/src/util/device_hotplug.c
+++ b/
tizen/src/util/device_hotplug.c
@@
-117,7
+117,11
@@
static bool do_sdcard_attach(const char * const file)
gchar *sdcard_drive_id = g_strdup_printf("drive_id_%s", sdcard_img);
/* refer from test-replication.c */
- cmdline = g_strdup_printf("driver=qcow2,node-name=sdcard,file.locking=off,"
+ cmdline = g_strdup_printf("driver=qcow2,node-name=sdcard,"
+#ifdef CONFIG_WIN32
+ //option available for posix or linux systems
+ file.locking=off,"
+#endif //CONFIG_WIN32
"file.driver=file,file.filename=%s"
, file);
opts = qemu_opts_parse_noisily(&qemu_drive_opts, cmdline, false);