Jerone Young wrote:
> This patch is a continuation of the 7 patches sent earlier. This
> patch moves all x86 specific macros from include/linux/kvm.h to
> include/asm-x86/kvm.h.
> 
> Signed-off-by: Jerone Young <[EMAIL PROTECTED]>
> 
> *note just realized none of the other patches except for email 0
>  had the [PATCH] addendum on the subjects.
> 
> 
> diff --git a/include/asm-x86/kvm.h b/include/asm-x86/kvm.h
> index 9d40f75..5622f25 100644
> --- a/include/asm-x86/kvm.h
> +++ b/include/asm-x86/kvm.h
> @@ -151,5 +151,38 @@ struct kvm_cpuid {
>       struct kvm_cpuid_entry entries[0];
>  };
> 
> +/*
> + * ioctls for /dev/kvm fds:
> + */
> +#define KVM_GET_MSR_INDEX_LIST    _IOWR(KVMIO, 0x02, struct
> kvm_msr_list) +
> +/*
> + * KVM_CREATE_VCPU receives as a parameter the vcpu slot, and returns
> + * a vcpu fd.
> + */
> +#define KVM_SET_MEMORY_ALIAS      _IOW(KVMIO, 0x43, struct
> kvm_memory_alias) +
> +/*
> + * Extension capability list.
> + */
> +#define KVM_CAP_IRQCHIP        0
> +#define KVM_CAP_HLT    1
> +#define KVM_CAP_MMU_SHADOW_CACHE_CONTROL 2


> +#define KVM_CAP_USER_MEMORY 3

One minor comment:  Currenlty, user and kernel space memory interfaces
are in common, should we move this capability 
definition to arch?

Anyway this is not a big issue.

Acked-by: Zhang Xiantao<[EMAIL PROTECTED]>

>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to