Your message dated Mon, 11 Aug 2025 14:51:43 +0300
with message-id <[email protected]>
and subject line Re: Bug#609231: kvm: improper handling of commandline arguments
has caused the Debian Bug report #609231,
regarding filename parser in qemu chokes on colons
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
609231: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609231
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: qemu-kvm
Version: 1:0.12.5+dfsg-5
Severity: normal
Apparently kvm cannot handle CD images with odd names.
While I don't insist that such image names should work it points at some
bug in argument handling which is something to be avoided.
$ ln -s
clonezilla-live-1.2.6-58-amd64.iso\?r\=http\:%2F%2Fsourceforge.net%2Fprojects%2Fclonezilla%2Ffiles%2Fclonezilla_live_testing%2F1.2.6-58%2F
clonezilla-live-1.2.6-58-amd64.iso
$ kvm -cdrom clonezilla-live-1.2.6-58-amd64.iso
$ kvm -cdrom
clonezilla-live-1.2.6-58-amd64.iso\?r\=http\:%2F%2Fsourceforge.net%2Fprojects%2Fclonezilla%2Ffiles%2Fclonezilla_live_testing%2F1.2.6-58%2F
qemu: could not open disk image
clonezilla-live-1.2.6-58-amd64.iso?r=http:%2F%2Fsourceforge.net%2Fprojects%2Fclonezilla%2Ffiles%2Fclonezilla_live_testing%2F1.2.6-58%2F:
Invalid argument
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (910, 'testing'), (900, 'stable'), (500, 'unstable'), (200,
'experimental'), (111, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-rc7-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages kvm depends on:
ii qemu-kvm 0.12.5+dfsg-5 Full virtualization on x86 hardwar
kvm recommends no packages.
kvm suggests no packages.
Versions of packages qemu-kvm depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii bridge-utils 1.4-5 Utilities for configuring the Linu
ii iproute 20100519-3 networking and traffic control too
ii libaio1 0.3.107-7 Linux kernel AIO access library -
ii libasound2 1.0.23-2.1 shared library for ALSA applicatio
ii libbluetooth3 4.66-3 Library to use the BlueZ Linux Blu
ii libbrlapi0.5 4.2-7 braille display access via BRLTTY
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libcurl3-gnutls 7.21.0-1 Multi-protocol file transfer libra
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime libr
ii libncurses5 5.7+20100313-4 shared libraries for terminal hand
ii libpci3 1:3.1.7-6 Linux PCI Utilities (shared librar
ii libpulse0 0.9.21-3+b1 PulseAudio client libraries
ii libsasl2-2 2.1.23.dfsg1-7 Cyrus SASL - authentication abstra
ii libsdl1.2debian 1.2.14-6.1 Simple DirectMedia Layer
ii libuuid1 2.17.2-5 Universally Unique ID library
ii libvdeplug2 2.2.3-3 Virtual Distributed Ethernet - Plu
ii libx11-6 2:1.3.3-4 X11 client-side library
ii python 2.6.6-3+squeeze4 interactive high-level object-orie
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 1:7.2+dfsg-1
On Wed, 3 Jan 2024 19:20:43 +0300 Michael Tokarev <[email protected]> wrote:
The way to use "interesting" filenames do exist now. I don't know
when exactly it has been introduced, but it sure exists in bookworm
version.
qemu-system-x86_64 -drive file.filename=a:b:c,,d,,e,media=cdrom ..
When used with -cdrom (or -hda etc) shortcuts it doesn't work, one
have to use more advance -drive argument. Not as -drive file=filename
again, since colons (:) are interpreted as protocol delimiters, but
as file.filename=filename.
And there's another way to use such filenames:
qemu-system-x86_64 -cdrom file:foo:winxp.iso
(where "foo:winxp.iso" is an actual file name).
Closing this bug report now.
2nd attempt :)
Thanks,
/mjt
--- End Message ---