]> git.proxmox.com Git - qemu-server.git/commit
check for $vga->{type} instead of $vga
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 12 Nov 2018 07:40:20 +0000 (08:40 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Nov 2018 08:27:21 +0000 (09:27 +0100)
commit8490283721cc13e520b5a77e416bb153d604ff73
tree3f57fb6e02a9b74cbce89de69e4d61eb673ad48f
parentc0c7dc792e4dc1349c2a5db26a20b8d10cbe4276
check for $vga->{type} instead of $vga

with commit 55655ebc32ce4eb3fe52f233ec4ac5926b15603f
we changed $vga to a parsed hash instead of a string
and forgot to check the property type in one place

this fixes an issue where a vm with a gpu passed through
with x-vga=on could not start

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuServer.pm