owner = validation.testOwner(user, fields.getfirst('owner'))
memory = fields.getfirst('memory')
- memory = validation.validMemory(user, memory, on=True)
+ memory = validation.validMemory(owner, memory, on=True)
disk_size = fields.getfirst('disk')
- disk_size = validation.validDisk(user, disk_size)
+ disk_size = validation.validDisk(owner, disk_size)
vm_type = fields.getfirst('vmtype')
if vm_type not in ('hvm', 'paravm'):