[pve-devel] [PATCH qemu 2/2] migrate: log which local resource causes error

Dominik Csapak d.csapak at proxmox.com
Fri May 3 13:42:19 CEST 2019


On 5/3/19 1:38 PM, Tim Marx wrote:
> It looks like this: can't migrate VM which uses local devices-usb1-usb2-usb0-hostpci0
> 
> Seems ok for me?
> 

mhmm looks weird to me since devices-1-2-3-4
is not a real word/sentence/...

would it not also work to build an array and simply return that?
if some user of the method uses is in list context it gets an array of 
local resources, and if it used in scalar context it gets the number of
local resources (which can be used like before)

then the user of the method can decide if it needs a list/number and 
what to do with it




More information about the pve-devel mailing list