* [Qemu-devel] Latest GIT doesn't work with long device names
@ 2010-06-01 10:59 Peter Lieven
2010-06-01 11:12 ` Kevin Wolf
0 siblings, 1 reply; 5+ messages in thread
From: Peter Lieven @ 2010-06-01 10:59 UTC (permalink / raw)
To: qemu-devel, kvm
Hi,
I just compiled latest git to work on Bug #585113 .
Unfortunately, I can't start the the VMs with the device mappings
generated by our multipath
setup.
cmdline:
/usr/bin/qemu-kvm-devel -net none -drive
file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1,if=scsi,boot=on,cache=none,aio=native
-drive
file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-89661b105-458000e7e804beaa-test2,if=scsi,boot=off,cache=none,aio=native
-drive
file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8a361b105-928000e7e834beaa-test3,if=scsi,boot=off,cache=none,aio=native
-drive
file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8af61b105-d10000e7e864beaa-test4,if=scsi,boot=off,cache=none,aio=native
-m 1024 -cpu qemu64,model_id='Intel(R) Xeon(R) CPU E5520 @
2.27GHz' -monitor tcp:0:4005,server,nowait -vnc :5 -name 'ide-test'
-boot order=dc,menu=on -cdrom
/home/kvm/cdrom//root/KNOPPIX_V6.2.1CD-2010-01-31-DE.iso -k de -pidfile
/var/run/qemu/vm-153.pid -mem-path /hugepages -mem-prealloc -rtc
base=utc,clock=host -usb -usbdevice tablet
error:
qemu: could not open disk image
/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1:
Argument list too long
Can somebody help here please. I justed started digging into the code
and found that filename is a character array of 1024 Byte. So the
problem must be somewhere
else...
BR,
Peter
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Latest GIT doesn't work with long device names
2010-06-01 10:59 [Qemu-devel] Latest GIT doesn't work with long device names Peter Lieven
@ 2010-06-01 11:12 ` Kevin Wolf
2010-06-01 11:24 ` Peter Lieven
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Kevin Wolf @ 2010-06-01 11:12 UTC (permalink / raw)
To: Peter Lieven; +Cc: qemu-devel, kvm
Am 01.06.2010 12:59, schrieb Peter Lieven:
> Hi,
>
> I just compiled latest git to work on Bug #585113 .
>
> Unfortunately, I can't start the the VMs with the device mappings
> generated by our multipath
> setup.
>
> cmdline:
> /usr/bin/qemu-kvm-devel -net none -drive
> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1,if=scsi,boot=on,cache=none,aio=native
> -drive
> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-89661b105-458000e7e804beaa-test2,if=scsi,boot=off,cache=none,aio=native
> -drive
> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8a361b105-928000e7e834beaa-test3,if=scsi,boot=off,cache=none,aio=native
> -drive
> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8af61b105-d10000e7e864beaa-test4,if=scsi,boot=off,cache=none,aio=native
> -m 1024 -cpu qemu64,model_id='Intel(R) Xeon(R) CPU E5520 @
> 2.27GHz' -monitor tcp:0:4005,server,nowait -vnc :5 -name 'ide-test'
> -boot order=dc,menu=on -cdrom
> /home/kvm/cdrom//root/KNOPPIX_V6.2.1CD-2010-01-31-DE.iso -k de -pidfile
> /var/run/qemu/vm-153.pid -mem-path /hugepages -mem-prealloc -rtc
> base=utc,clock=host -usb -usbdevice tablet
>
> error:
> qemu: could not open disk image
> /dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1:
> Argument list too long
Might be a problem with the colon in your file name (the error message
is nonsense - I'll send a patch). It takes everything before the first
colon as a protocol name. To work around this you can specify the
protocol explicitly, as in -drive file=host_device:/dev/mapper/...
Kevin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Latest GIT doesn't work with long device names
2010-06-01 11:12 ` Kevin Wolf
@ 2010-06-01 11:24 ` Peter Lieven
2010-06-01 11:52 ` Peter Lieven
2010-06-01 12:01 ` Peter Lieven
2 siblings, 0 replies; 5+ messages in thread
From: Peter Lieven @ 2010-06-01 11:24 UTC (permalink / raw)
To: Kevin Wolf; +Cc: qemu-devel, kvm
Kevin Wolf wrote:
> Am 01.06.2010 12:59, schrieb Peter Lieven:
>
>> Hi,
>>
>> I just compiled latest git to work on Bug #585113 .
>>
>> Unfortunately, I can't start the the VMs with the device mappings
>> generated by our multipath
>> setup.
>>
>> cmdline:
>> /usr/bin/qemu-kvm-devel -net none -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1,if=scsi,boot=on,cache=none,aio=native
>> -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-89661b105-458000e7e804beaa-test2,if=scsi,boot=off,cache=none,aio=native
>> -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8a361b105-928000e7e834beaa-test3,if=scsi,boot=off,cache=none,aio=native
>> -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8af61b105-d10000e7e864beaa-test4,if=scsi,boot=off,cache=none,aio=native
>> -m 1024 -cpu qemu64,model_id='Intel(R) Xeon(R) CPU E5520 @
>> 2.27GHz' -monitor tcp:0:4005,server,nowait -vnc :5 -name 'ide-test'
>> -boot order=dc,menu=on -cdrom
>> /home/kvm/cdrom//root/KNOPPIX_V6.2.1CD-2010-01-31-DE.iso -k de -pidfile
>> /var/run/qemu/vm-153.pid -mem-path /hugepages -mem-prealloc -rtc
>> base=utc,clock=host -usb -usbdevice tablet
>>
>> error:
>> qemu: could not open disk image
>> /dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1:
>> Argument list too long
>>
>
> Might be a problem with the colon in your file name (the error message
> is nonsense - I'll send a patch). It takes everything before the first
> colon as a protocol name. To work around this you can specify the
> protocol explicitly, as in -drive file=host_device:/dev/mapper/...
>
mmh, doesn't work.
qemu: could not open disk image
host_device:/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1:
No such file or directory
> Kevin
>
>
>
--
Mit freundlichen Grüßen/Kind Regards
Peter Lieven
..........................................................................................................
KAMP Netzwerkdienste GmbH
Vestische Str. 89-91 | 46117 Oberhausen
Tel: +49 (0) 208.89 402-50 | Fax: +49 (0) 208.89 402-40
mailto:pl@kamp.de | http://www.kamp.de
Geschäftsführer: Heiner Lante | Michael Lante
Amtsgericht Duisburg | HRB Nr. 12154
USt-Id-Nr.: DE 120607556
.........................................................................................................
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Latest GIT doesn't work with long device names
2010-06-01 11:12 ` Kevin Wolf
2010-06-01 11:24 ` Peter Lieven
@ 2010-06-01 11:52 ` Peter Lieven
2010-06-01 12:01 ` Peter Lieven
2 siblings, 0 replies; 5+ messages in thread
From: Peter Lieven @ 2010-06-01 11:52 UTC (permalink / raw)
To: Kevin Wolf; +Cc: qemu-devel, kvm
Kevin Wolf wrote:
> Am 01.06.2010 12:59, schrieb Peter Lieven:
>
>> Hi,
>>
>> I just compiled latest git to work on Bug #585113 .
>>
>> Unfortunately, I can't start the the VMs with the device mappings
>> generated by our multipath
>> setup.
>>
>> cmdline:
>> /usr/bin/qemu-kvm-devel -net none -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1,if=scsi,boot=on,cache=none,aio=native
>> -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-89661b105-458000e7e804beaa-test2,if=scsi,boot=off,cache=none,aio=native
>> -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8a361b105-928000e7e834beaa-test3,if=scsi,boot=off,cache=none,aio=native
>> -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8af61b105-d10000e7e864beaa-test4,if=scsi,boot=off,cache=none,aio=native
>> -m 1024 -cpu qemu64,model_id='Intel(R) Xeon(R) CPU E5520 @
>> 2.27GHz' -monitor tcp:0:4005,server,nowait -vnc :5 -name 'ide-test'
>> -boot order=dc,menu=on -cdrom
>> /home/kvm/cdrom//root/KNOPPIX_V6.2.1CD-2010-01-31-DE.iso -k de -pidfile
>> /var/run/qemu/vm-153.pid -mem-path /hugepages -mem-prealloc -rtc
>> base=utc,clock=host -usb -usbdevice tablet
>>
>> error:
>> qemu: could not open disk image
>> /dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1:
>> Argument list too long
>>
>
> Might be a problem with the colon in your file name (the error message
> is nonsense - I'll send a patch). It takes everything before the first
> colon as a protocol name. To work around this you can specify the
> protocol explicitly, as in -drive file=host_device:/dev/mapper/...
>
applied your patch, the actual error is (e.g.):
qemu: could not open disk image
/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-e1861b105-4cb000e7e8c4bf3b-opensuse-11-2-i586:
No such file or directory
while the image is there:
root@TEST:/home/kvm/src# ls -la
/dev/mapper/iqn.2001-05.com.equallogic\:0-8a0906-e1861b105-4cb000e7e8c4bf3b-opensuse-11-2-i586
brw-rw---- 1 root disk 254, 0 2010-06-01 13:48
/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-e1861b105-4cb000e7e8c4bf3b-opensuse-11-2-i586
peter
> Kevin
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Latest GIT doesn't work with long device names
2010-06-01 11:12 ` Kevin Wolf
2010-06-01 11:24 ` Peter Lieven
2010-06-01 11:52 ` Peter Lieven
@ 2010-06-01 12:01 ` Peter Lieven
2 siblings, 0 replies; 5+ messages in thread
From: Peter Lieven @ 2010-06-01 12:01 UTC (permalink / raw)
To: Kevin Wolf; +Cc: qemu-devel, kvm
Kevin Wolf wrote:
> Am 01.06.2010 12:59, schrieb Peter Lieven:
>
>> Hi,
>>
>> I just compiled latest git to work on Bug #585113 .
>>
>> Unfortunately, I can't start the the VMs with the device mappings
>> generated by our multipath
>> setup.
>>
>> cmdline:
>> /usr/bin/qemu-kvm-devel -net none -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1,if=scsi,boot=on,cache=none,aio=native
>> -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-89661b105-458000e7e804beaa-test2,if=scsi,boot=off,cache=none,aio=native
>> -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8a361b105-928000e7e834beaa-test3,if=scsi,boot=off,cache=none,aio=native
>> -drive
>> file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8af61b105-d10000e7e864beaa-test4,if=scsi,boot=off,cache=none,aio=native
>> -m 1024 -cpu qemu64,model_id='Intel(R) Xeon(R) CPU E5520 @
>> 2.27GHz' -monitor tcp:0:4005,server,nowait -vnc :5 -name 'ide-test'
>> -boot order=dc,menu=on -cdrom
>> /home/kvm/cdrom//root/KNOPPIX_V6.2.1CD-2010-01-31-DE.iso -k de -pidfile
>> /var/run/qemu/vm-153.pid -mem-path /hugepages -mem-prealloc -rtc
>> base=utc,clock=host -usb -usbdevice tablet
>>
>> error:
>> qemu: could not open disk image
>> /dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7d4beaa-test1:
>> Argument list too long
>>
>
> Might be a problem with the colon in your file name (the error message
> is nonsense - I'll send a patch). It takes everything before the first
> colon as a protocol name. To work around this you can specify the
> protocol explicitly, as in -drive file=host_device:/dev/mapper/...
>
-drive format=host_device,file=/dev/mapper/...
solves the problem
> Kevin
>
>
>
--
Mit freundlichen Grüßen/Kind Regards
Peter Lieven
..........................................................................................................
KAMP Netzwerkdienste GmbH
Vestische Str. 89-91 | 46117 Oberhausen
Tel: +49 (0) 208.89 402-50 | Fax: +49 (0) 208.89 402-40
mailto:pl@kamp.de | http://www.kamp.de
Geschäftsführer: Heiner Lante | Michael Lante
Amtsgericht Duisburg | HRB Nr. 12154
USt-Id-Nr.: DE 120607556
.........................................................................................................
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-06-01 12:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-01 10:59 [Qemu-devel] Latest GIT doesn't work with long device names Peter Lieven
2010-06-01 11:12 ` Kevin Wolf
2010-06-01 11:24 ` Peter Lieven
2010-06-01 11:52 ` Peter Lieven
2010-06-01 12:01 ` Peter Lieven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).