Re: [PATCH v5 kvmtool 04/13] Extend memory bank API with memory types

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

 



On 12/06/18 14:40, Will Deacon wrote:
>> +enum kvm_mem_type {
>> +	KVM_MEM_TYPE_RAM	= 1 << 1,
>> +	KVM_MEM_TYPE_DEVICE	= 1 << 2,
> 
> Just curious, but is there a reason not to start this from '1 << 0'?

Patch 12 uses 1 << 0 for TYPE_RESERVED, though I don't have a good
reason for that order.

Thanks,
Jean



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux