| Submitter | Igor Mammedov |
|---|---|
| Date | Jan. 11, 2013, 2:10 a.m. |
| Message ID | <1357870231-26762-10-git-send-email-imammedo@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/211207/ |
| State | New |
| Headers | show |
Comments
On Fri, Jan 11, 2013 at 03:10:23AM +0100, Igor Mammedov wrote: > Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> > --- > target-i386/cpu.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/target-i386/cpu.c b/target-i386/cpu.c > index 485154d..9cf0ade 100644 > --- a/target-i386/cpu.c > +++ b/target-i386/cpu.c > @@ -1380,6 +1380,8 @@ static int cpu_x86_parse_featurestr(x86_def_t *x86_cpu_def, char *features, > goto error; > } > if (numvalue < 0x80000000) { > + fprintf(stderr, "xlevel value shall always be >= 0x80000000" > + ", fixup will be deprecated in future versions\n"); > numvalue += 0x80000000; > } > x86_cpu_def->xlevel = numvalue; > -- > 1.7.1 > >
Patch
diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 485154d..9cf0ade 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -1380,6 +1380,8 @@ static int cpu_x86_parse_featurestr(x86_def_t *x86_cpu_def, char *features, goto error; } if (numvalue < 0x80000000) { + fprintf(stderr, "xlevel value shall always be >= 0x80000000" + ", fixup will be deprecated in future versions\n"); numvalue += 0x80000000; } x86_cpu_def->xlevel = numvalue;
Signed-off-by: Igor Mammedov <imammedo@redhat.com> --- target-i386/cpu.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)