On 2013/03/15 17:41, Daniel P. Berrange wrote:
On Fri, Mar 15, 2013 at 05:03:47PM +0800, Osier Yang wrote:
>> diff --git a/src/util/virnuma.h b/src/util/virnuma.h
>> index b9046c2..8d9f14d 100644
>> --- a/src/util/virnuma.h
>> +++ b/src/util/virnuma.h
>> @@ -22,7 +22,31 @@
>> #ifndef __VIR_NUMA_H__
>> # define __VIR_NUMA_H__
>>
>> +#include "virbitmap.h"
>> +
>> +enum virDomainNumatuneMemPlacementMode {
>> + VIR_DOMAIN_NUMATUNE_MEM_PLACEMENT_MODE_DEFAULT = 0,
>> + VIR_DOMAIN_NUMATUNE_MEM_PLACEMENT_MODE_STATIC,
>> + VIR_DOMAIN_NUMATUNE_MEM_PLACEMENT_MODE_AUTO,
>> +
>> + VIR_DOMAIN_NUMATUNE_MEM_PLACEMENT_MODE_LAST
>> +};
This needs renaming to
enum virNumaMemPlacementMode
and the constants to
VIR_NUMA_MEM_PLACEMENT_MODE*
Get it!
Thanks for your review!