]> git.proxmox.com Git - qemu-server.git/commit
add sub has_feature
authorAlexandre Derumier <aderumier@odiso.com>
Thu, 27 Dec 2012 15:06:54 +0000 (16:06 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 28 Dec 2012 06:48:33 +0000 (07:48 +0100)
commit7ea975efe05cfcd14b998168ecfba84524572402
treee717972edc219fe42ae9b690c158ffa2b6cd7e3a
parent135007c0992c62c394f956e6aa8b3f207355c0a3
add sub has_feature

loop over each disk of the vm config file to find if feature is available.

If one of the disk doesn't have the feature, we return undef, else return 1

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/QemuServer.pm