From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Joerg Roedel <joerg.roedel-5C7GfCeVMHo@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PATCH] SVM: enable LBRV virtualization if available
Date: Fri, 30 Mar 2007 17:04:29 +0300 [thread overview]
Message-ID: <460D18ED.909@qumranet.com> (raw)
In-Reply-To: <20070330122153.GO6644-5C7GfCeVMHo@public.gmane.org>
Joerg Roedel wrote:
> From: Joerg Roedel <joerg.roedel-5C7GfCeVMHo@public.gmane.org>
>
> This patch enables the virtualization of the last branch record MSRs on
> SVM if this feature is available in hardware. It also introduces a small
> and simple check feature for specific SVM extensions.
>
> +#define SVM_DEATURE_SVML (1 << 2)
>
FEATURE? DENTURE?
> +
> +#define svm_has(feat) (svm_features & (feat))
> +
>
I prefer a static inline instead of a function-like macro.
> unsigned long iopm_base;
> unsigned long msrpm_base;
>
> @@ -68,6 +74,7 @@ struct svm_cpu_data {
> };
>
> static DEFINE_PER_CPU(struct svm_cpu_data *, svm_data);
> +static uint32_t svm_features;
>
u32 outside userspace headers.
Anyway I fixed these up and applied.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
next prev parent reply other threads:[~2007-03-30 14:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-30 12:21 [PATCH] SVM: enable LBRV virtualization if available Joerg Roedel
[not found] ` <20070330122153.GO6644-5C7GfCeVMHo@public.gmane.org>
2007-03-30 14:04 ` Avi Kivity [this message]
[not found] ` <460D18ED.909-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-02 9:32 ` Joerg Roedel
[not found] ` <20070402093256.GQ6644-5C7GfCeVMHo@public.gmane.org>
2007-04-02 9:39 ` Avi Kivity
[not found] ` <4610CF62.6040204-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-02 10:01 ` Joerg Roedel
[not found] ` <20070402100113.GR6644-5C7GfCeVMHo@public.gmane.org>
2007-04-02 10:06 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=460D18ED.909@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=joerg.roedel-5C7GfCeVMHo@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.