mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-02-08 05:57:40 +03:00
fix #3890 - GUI: warn for unlikely iothread config
Previously, only a plaintext line in the task log showed something was off. Now, the GUI will show it as a warning. Reviewed-by: Fabian Ebner <f.ebner@proxmox.com> Signed-off-by: Matthias Heiserer <m.heiserer@proxmox.com>
This commit is contained in:
parent
058fe7bc48
commit
d80ad18c67
@ -3959,7 +3959,9 @@ sub config_to_command {
|
|||||||
$iothread .= ",iothread=iothread-$controller_prefix$controller";
|
$iothread .= ",iothread=iothread-$controller_prefix$controller";
|
||||||
push @$cmd, '-object', "iothread,id=iothread-$controller_prefix$controller";
|
push @$cmd, '-object', "iothread,id=iothread-$controller_prefix$controller";
|
||||||
} elsif ($drive->{iothread}) {
|
} elsif ($drive->{iothread}) {
|
||||||
warn "iothread is only valid with virtio disk or virtio-scsi-single controller, ignoring\n";
|
log_warn(
|
||||||
|
"iothread is only valid with virtio disk or virtio-scsi-single controller, ignoring\n"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
my $queues = '';
|
my $queues = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user