mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-24 04:38:22 +00:00
fix #4284: add read-only to non-hotpluggable disk options
Changing the read-only status of a disk is not possible through QMP, so it needs to be exempt from the hotpluggable values as to notify the user. Signed-off-by: Leo Nunner <l.nunner@proxmox.com>
This commit is contained in:
parent
1e1d6f589c
commit
e0e036e1ba
@ -5280,7 +5280,8 @@ sub vmconfig_update_disk {
|
||||
safe_string_ne($drive->{iothread}, $old_drive->{iothread}) ||
|
||||
safe_string_ne($drive->{queues}, $old_drive->{queues}) ||
|
||||
safe_string_ne($drive->{cache}, $old_drive->{cache}) ||
|
||||
safe_string_ne($drive->{ssd}, $old_drive->{ssd})) {
|
||||
safe_string_ne($drive->{ssd}, $old_drive->{ssd}) ||
|
||||
safe_string_ne($drive->{ro}, $old_drive->{ro})) {
|
||||
die "skip\n";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user