All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Peter Lieven <pl@dlh.net>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] Latest GIT doesn't work with long device names
Date: Tue, 01 Jun 2010 13:12:35 +0200	[thread overview]
Message-ID: <4C04EB23.3070700@redhat.com> (raw)
In-Reply-To: <4C04E812.7040408@dlh.net>

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

  reply	other threads:[~2010-06-01 11:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 10:59 Latest GIT doesn't work with long device names Peter Lieven
2010-06-01 10:59 ` [Qemu-devel] " Peter Lieven
2010-06-01 11:12 ` Kevin Wolf [this message]
2010-06-01 11:24   ` Peter Lieven
2010-06-01 11:52   ` Peter Lieven
2010-06-01 12:01   ` Peter Lieven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C04EB23.3070700@redhat.com \
    --to=kwolf@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=pl@dlh.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.