mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-14 11:47:33 +00:00
add warning for iothread with invalid scsi controller
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
90cc48095f
commit
e7a5104daa
@ -3329,6 +3329,8 @@ sub config_to_command {
|
||||
if($conf->{scsihw} && $conf->{scsihw} eq "virtio-scsi-single" && $drive->{iothread}){
|
||||
$iothread .= ",iothread=iothread-$controller_prefix$controller";
|
||||
push @$cmd, '-object', "iothread,id=iothread-$controller_prefix$controller";
|
||||
} elsif ($drive->{iothread}) {
|
||||
warn "iothread is only valid with virtio disk or virtio-scsi-single controller, ignoring\n";
|
||||
}
|
||||
|
||||
my $queues = '';
|
||||
|
Loading…
Reference in New Issue
Block a user