Revision e348918e include/Host.h

View differences:

include/Host.h
444 444
     *    @param cpu needed by the VM (percentage)
445 445
     *    @param mem needed by the VM (in Kb)
446 446
     *    @param disk needed by the VM
447
     *    @param pci devices needed by the VM
448
     *    @param error Returns the error reason, if any
447 449
     *    @return true if the share can host the VM
448 450
     */
449
    bool test_capacity(long long cpu, long long mem, long long disk)
451
    bool test_capacity(long long cpu, long long mem, long long disk,
452
                       vector<Attribute *> &pci, string& error)
450 453
    {
451
        return host_share.test(cpu, mem, disk);
454
        return host_share.test(cpu, mem, disk, pci, error);
452 455
    }
453 456

  
454 457
    /**

Also available in: Unified diff