mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 16:35:30 +00:00
bugfix #340 : don't set cache=none to cdrom
Cdrom devices don't works with cache=none and no reason to force cache mode on cdrom Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
eac6899d96
commit
ef86170e9f
@ -1106,7 +1106,7 @@ sub print_drive_full {
|
||||
}
|
||||
}
|
||||
|
||||
$opts .= ",cache=none" if !$drive->{cache};
|
||||
$opts .= ",cache=none" if !$drive->{cache} && !drive_is_cdrom($drive);
|
||||
|
||||
my $pathinfo = $path ? "file=$path," : '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user