From: Daniel Herzig <d.herzig@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [RFC PATCH qemu-server 0/4] allow VMs to start with missing CD-ROM
Date: Fri, 13 Mar 2026 14:12:02 +0100 [thread overview]
Message-ID: <20260313131206.277195-1-d.herzig@proxmox.com> (raw)
Currently VMs refuse to start if a configured CD-ROM is unavailable for
a reason.
1) This is desirable if the CD-ROM is essential for the VM.
2) It can however can be inconvenient, if the CD-ROM was just used at
for initial guest installation (and later on 'forgotten').
If the corresponding ISO e.g. resided on a network share, connectivity
issues to the network share prohibit the VM to start.
This RFC addresses case 2. It allows users to set a parameter
'dismissable' for a drive. If set, and if the drive is a
CD-ROM, the CD-ROM will be removed from the VM configuration
in the case of unavailability. As a consequence, the VM can start.
The removal of the file from the configuration will be logged through
log_warn() to have a backtrace of the process.
The RFC addresses the backend-side of #4225 on bugzilla [0] and
supersedes [1], integrating the valuable on- and offline input
on the topic.
[0] https://bugzilla.proxmox.com/show_bug.cgi?id=4225
[1] https://lore.proxmox.com/pve-devel/20250130113121.157273-1-d.herzig@proxmox.com/
*** BLURB HERE ***
qemu-server: Daniel Herzig (4):
drive: Introduce parameter to mark CD-ROM as dissmissable
drive: ignore 'dismissable' parameter for everything but CD-ROMs
introduce sub 'activate_current_vm_volumes'
integrate new sub 'activate_current_vm_volumes'
src/PVE/QemuServer.pm | 75 ++++++++++++++++++++++++++++++++-----
src/PVE/QemuServer/Drive.pm | 10 +++++
2 files changed, 75 insertions(+), 10 deletions(-)
--
2.47.3
next reply other threads:[~2026-03-13 13:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-13 13:12 Daniel Herzig [this message]
2026-03-13 13:12 ` [RFC PATCH qemu-server 1/4] drive: Introduce parameter to mark CD-ROM as dissmissable Daniel Herzig
2026-03-13 13:12 ` [RFC PATCH qemu-server 2/4] drive: ignore 'dismissable' parameter for everything but CD-ROMs Daniel Herzig
2026-03-13 13:12 ` [RFC PATCH qemu-server 3/4] introduce sub 'activate_current_vm_volumes' Daniel Herzig
2026-03-13 13:12 ` [RFC PATCH qemu-server 4/4] integrate new " Daniel Herzig
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=20260313131206.277195-1-d.herzig@proxmox.com \
--to=d.herzig@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox