From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Lieven Subject: Re: [Qemu-devel] Latest GIT doesn't work with long device names Date: Tue, 01 Jun 2010 14:01:34 +0200 Message-ID: <4C04F69E.9050304@dlh.net> References: <4C04E812.7040408@dlh.net> <4C04EB23.3070700@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Kevin Wolf Return-path: Received: from zion.dlh.net ([91.198.192.1]:40905 "EHLO mail.dlh.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755133Ab0FAMBt (ORCPT ); Tue, 1 Jun 2010 08:01:49 -0400 In-Reply-To: <4C04EB23.3070700@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Kevin Wolf wrote: > Am 01.06.2010 12:59, schrieb Peter Lieven: > =20 >> Hi, >> >> I just compiled latest git to work on Bug #585113 . >> >> Unfortunately, I can't start the the VMs with the device mappings=20 >> generated by our multipath >> setup. >> >> cmdline: >> /usr/bin/qemu-kvm-devel -net none -drive=20 >> file=3D/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f= 000e7e7d4beaa-test1,if=3Dscsi,boot=3Don,cache=3Dnone,aio=3Dnative =20 >> -drive=20 >> file=3D/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-89661b105-458= 000e7e804beaa-test2,if=3Dscsi,boot=3Doff,cache=3Dnone,aio=3Dnative =20 >> -drive=20 >> file=3D/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8a361b105-928= 000e7e834beaa-test3,if=3Dscsi,boot=3Doff,cache=3Dnone,aio=3Dnative =20 >> -drive=20 >> file=3D/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-8af61b105-d10= 000e7e864beaa-test4,if=3Dscsi,boot=3Doff,cache=3Dnone,aio=3Dnative =20 >> -m 1024 -cpu qemu64,model_id=3D'Intel(R) Xeon(R) CPU E5520= @=20 >> 2.27GHz' -monitor tcp:0:4005,server,nowait -vnc :5 -name 'ide-test'= =20 >> -boot order=3Ddc,menu=3Don -cdrom=20 >> /home/kvm/cdrom//root/KNOPPIX_V6.2.1CD-2010-01-31-DE.iso -k de -pid= file=20 >> /var/run/qemu/vm-153.pid -mem-path /hugepages -mem-prealloc -rtc=20 >> base=3Dutc,clock=3Dhost -usb -usbdevice tablet >> >> error: >> qemu: could not open disk image=20 >> /dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-88961b105-19f000e7e7= d4beaa-test1:=20 >> Argument list too long >> =20 > > Might be a problem with the colon in your file name (the error messag= e > is nonsense - I'll send a patch). It takes everything before the firs= t > colon as a protocol name. To work around this you can specify the > protocol explicitly, as in -drive file=3Dhost_device:/dev/mapper/... > =20 -drive format=3Dhost_device,file=3D/dev/mapper/... solves the problem > Kevin > > > =20 --=20 Mit freundlichen Gr=FC=DFen/Kind Regards Peter Lieven =2E....................................................................= =2E.................................... 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=E4ftsf=FChrer: Heiner Lante | Michael Lante Amtsgericht Duisburg | HRB Nr. 12154 USt-Id-Nr.: DE 120607556 =2E....................................................................= =2E...................................=20