From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Lieven Subject: Latest GIT doesn't work with long device names Date: Tue, 01 Jun 2010 12:59:30 +0200 Message-ID: <4C04E812.7040408@dlh.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: qemu-devel@nongnu.org, kvm@vger.kernel.org Return-path: Received: from zion.dlh.net ([91.198.192.1]:44337 "EHLO mail.dlh.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754431Ab0FAK7e (ORCPT ); Tue, 1 Jun 2010 06:59:34 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36757 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJPC2-000738-2I for qemu-devel@nongnu.org; Tue, 01 Jun 2010 06:59:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJPC0-0007lm-W5 for qemu-devel@nongnu.org; Tue, 01 Jun 2010 06:59:33 -0400 Received: from zion.dlh.net ([91.198.192.1]:52436 helo=mail.dlh.net) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJPC0-0007k3-Rm for qemu-devel@nongnu.org; Tue, 01 Jun 2010 06:59:32 -0400 Message-ID: <4C04E812.7040408@dlh.net> Date: Tue, 01 Jun 2010 12:59:30 +0200 From: Peter Lieven MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Latest GIT doesn't work with long device names List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, kvm@vger.kernel.org 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