plugin: add machine version to qemu_blockdev_options() interface
Plugins can guard based on the machine version to be able to switch drivers or options in a safe way without the risk of breaking older versions. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Fabian Grünbichler
parent
2d874037f3
commit
6c07619abd
@ -163,7 +163,7 @@ sub path {
|
||||
}
|
||||
|
||||
sub qemu_blockdev_options {
|
||||
my ($class, $scfg, $storeid, $volname, $options) = @_;
|
||||
my ($class, $scfg, $storeid, $volname, $machine_version, $options) = @_;
|
||||
|
||||
my $format = ($class->parse_volname($volname))[6];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user