[pve-devel] vm_deviceunplug question

Dietmar Maurer dietmar at proxmox.com
Tue Nov 25 10:10:45 CET 2014


> This is because for virtio disk we remove the controller + drive,  (1controller - 1
> drive)
> 
> and for scsi we only remove the drive  (1controller - 256 drives)

I cannot see that:

3001   if ($deviceid =~ m/^(scsi)(\d+)$/) {
3002         return undef if !qemu_devicedel($vmid, $deviceid);
3003         return undef if !qemu_drivedel($vmid, $deviceid);
3004     }

so you also remove the device using qemu_devicedel()?
What do I miss?


More information about the pve-devel mailing list