[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] mem: highlight the listener's priority as e
From: |
liu ping fan |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] mem: highlight the listener's priority as enum |
Date: |
Thu, 9 May 2013 17:05:01 +0800 |
On Thu, May 9, 2013 at 4:31 PM, Stefan Hajnoczi <address@hidden> wrote:
> On Thu, May 09, 2013 at 08:40:22AM +0800, Liu Ping Fan wrote:
>> diff --git a/include/exec/memory.h b/include/exec/memory.h
>> index 9e88320..77e0d40 100644
>> --- a/include/exec/memory.h
>> +++ b/include/exec/memory.h
>> @@ -192,6 +192,16 @@ struct MemoryRegionSection {
>>
>> typedef struct MemoryListener MemoryListener;
>>
>> +/* The list of priority, ex, vhost should have higher priority (less num)
>> than
>> + * kvm, ie PRI_VRING < PRI_HYPV
>
> s/PRI_HYPV/PRI_HYPERV/
>
Will fix.
>> + */
>> +typedef enum {
>> + PRI_DEFAULT = 0,
>> + PRI_CORE = 1,
>> + PRI_VRING = 9,
>> + PRI_HYPERV = 10,
>
> HYPERV == hypervisor? Easy to confuse with Microsoft Hyper-V. Please
> use PRI_ACCEL or PRI_HYPERVISOR.
Ok.
Regards,
Pingfan
Re: [Qemu-devel] [PATCH 1/2] Vring: vring's listener's priority should higher than kvm, Michael S. Tsirkin, 2013/05/09