mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-10 01:18:01 +03:00
fix #1267: move args to the end of qemu commandline
there is nothing that should be really affected by this, but even then, this option is only for experts and people using this should know what they are doing Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
8fa6a851ee
commit
7635067063
@ -3883,12 +3883,6 @@ sub config_to_command {
|
||||
}
|
||||
}
|
||||
|
||||
# add custom args
|
||||
if ($conf->{args}) {
|
||||
my $aa = PVE::Tools::split_args($conf->{args});
|
||||
push @$cmd, @$aa;
|
||||
}
|
||||
|
||||
push @$cmd, @$devices;
|
||||
push @$cmd, '-rtc', join(',', @$rtcFlags)
|
||||
if scalar(@$rtcFlags);
|
||||
@ -3897,6 +3891,12 @@ sub config_to_command {
|
||||
push @$cmd, '-global', join(',', @$globalFlags)
|
||||
if scalar(@$globalFlags);
|
||||
|
||||
# add custom args
|
||||
if ($conf->{args}) {
|
||||
my $aa = PVE::Tools::split_args($conf->{args});
|
||||
push @$cmd, @$aa;
|
||||
}
|
||||
|
||||
return wantarray ? ($cmd, $vollist, $spice_port) : $cmd;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user