[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: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] mem: highlight the listener's priority as enum |
Date: |
Thu, 9 May 2013 10:31:41 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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/
> + */
> +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.
Re: [Qemu-devel] [PATCH 1/2] Vring: vring's listener's priority should higher than kvm, Michael S. Tsirkin, 2013/05/09