[pve-devel] vm_deviceunplug question
Dietmar Maurer
dietmar at proxmox.com
Tue Nov 25 07:26:22 CET 2014
For example, for virtio we call qemu_devicedelverify():
if ($deviceid =~ m/^(virtio)(\d+)$/) {
qemu_devicedel($vmid, $deviceid);
return undef if !qemu_devicedelverify($vmid, $deviceid);
return undef if !qemu_drivedel($vmid, $deviceid);
But for lsi/scsi we simply do:
if ($deviceid =~ m/^(scsi)(\d+)$/) {
qemu_devicedel($vmid, $deviceid);
return undef if !qemu_drivedel($vmid, $deviceid);
Why don't we call qemu_devicedelverify() here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20141125/aaa40c96/attachment.htm>
More information about the pve-devel
mailing list