powerpc.c (2491b544ff3aa9717d427033206fa793be53429d) | powerpc.c (a86cb413f4bf273a9d341a3ab2c2ca44e12eb317) |
---|---|
1/* 2 * This program is free software; you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License, version 2, as 4 * published by the Free Software Foundation. 5 * 6 * This program is distributed in the hope that it will be useful, 7 * but WITHOUT ANY WARRANTY; without even the implied warranty of 8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- 643 unchanged lines hidden (view full) --- 652 if (hv_enabled) 653 r = num_present_cpus(); 654 else 655 r = num_online_cpus(); 656 break; 657 case KVM_CAP_MAX_VCPUS: 658 r = KVM_MAX_VCPUS; 659 break; | 1/* 2 * This program is free software; you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License, version 2, as 4 * published by the Free Software Foundation. 5 * 6 * This program is distributed in the hope that it will be useful, 7 * but WITHOUT ANY WARRANTY; without even the implied warranty of 8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- 643 unchanged lines hidden (view full) --- 652 if (hv_enabled) 653 r = num_present_cpus(); 654 else 655 r = num_online_cpus(); 656 break; 657 case KVM_CAP_MAX_VCPUS: 658 r = KVM_MAX_VCPUS; 659 break; |
660 case KVM_CAP_MAX_VCPU_ID: 661 r = KVM_MAX_VCPU_ID; 662 break; |
|
660#ifdef CONFIG_PPC_BOOK3S_64 661 case KVM_CAP_PPC_GET_SMMU_INFO: 662 r = 1; 663 break; 664 case KVM_CAP_SPAPR_MULTITCE: 665 r = 1; 666 break; 667 case KVM_CAP_SPAPR_RESIZE_HPT: --- 1815 unchanged lines hidden --- | 663#ifdef CONFIG_PPC_BOOK3S_64 664 case KVM_CAP_PPC_GET_SMMU_INFO: 665 r = 1; 666 break; 667 case KVM_CAP_SPAPR_MULTITCE: 668 r = 1; 669 break; 670 case KVM_CAP_SPAPR_RESIZE_HPT: --- 1815 unchanged lines hidden --- |