From f0a2da28664c5e2b6bb74090b231d8dd0d66c566 Mon Sep 17 00:00:00 2001 From: sungmin ha Date: Wed, 27 Jun 2012 19:07:11 +0900 Subject: [PATCH] [Title]modified support sdcard mount in windows [Type]Bugfix [Module]qemu [Priority]Major [Jira#]N_SE-1972, N_SE-1914 [Redmine#] // Redmine Isuue Number [Problem] // Problem Description [Cause] // Cause Description [Solution] // Solution Description [TestCase] // Executed the test-target (How to) --- hw/usb-msd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/usb-msd.c b/hw/usb-msd.c index 8162ded7c9..bb48c3b496 100644 --- a/hw/usb-msd.c +++ b/hw/usb-msd.c @@ -602,7 +602,7 @@ static USBDevice *usb_msd_init(const char *filename) /* parse -usbdevice disk: syntax into drive opts */ snprintf(id, sizeof(id), "usb%d", nr++); opts = qemu_opts_create(qemu_find_opts("drive"), id, 0); - +#ifndef CONFIG_MARU p1 = strchr(filename, ':'); if (p1++) { const char *p2; @@ -617,6 +617,7 @@ static USBDevice *usb_msd_init(const char *filename) } filename = p1; } +#endif if (!*filename) { printf("block device specification needed\n"); return NULL; -- 2.34.1