Re: [kvm-devel] [RFC/PATCH 05/15] KVM_MAX_VCPUS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Carsten Otte wrote:
> Hollis Blanchard wrote:
>   
>> On Thu, 2008-03-20 at 17:24 +0100, Carsten Otte wrote:
>>     
>>> Index: kvm/include/linux/kvm_host.h
>>> ===================================================================
>>> --- kvm.orig/include/linux/kvm_host.h
>>> +++ kvm/include/linux/kvm_host.h
>>> @@ -24,7 +24,11 @@
>>>
>>>  #include <asm/kvm_host.h>
>>>
>>> +#ifdef CONFIG_S390
>>> +#define KVM_MAX_VCPUS 64
>>> +#else
>>>  #define KVM_MAX_VCPUS 16
>>> +#endif
>>>  #define KVM_MEMORY_SLOTS 32
>>>  /* memory slots that does not exposed to userspace */
>>>  #define KVM_PRIVATE_MEM_SLOTS 4
>>>
>>>       
>> Why don't we just define this in <asm/kvm_host.h> ?
>>     
> No problem with that, I just wanted to keep impact on common code very 
> low and things like this seperated from the actual port. I have a few 
> things like this that can safely be taken care about later.
>
>   

Since there were a few other comments, I went ahead and moved those 
#defines to asm-x86.

-- 
Any sufficiently difficult bug is indistinguishable from a feature.

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux