From: Amit Shah <amit.shah@redhat.com>
To: aliguori@us.ibm.com
Cc: Amit Shah <amit.shah@redhat.com>, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] KVM: cpuid function 2: store all values
Date: Wed, 11 Feb 2009 19:59:05 +0530 [thread overview]
Message-ID: <1234362545-26412-1-git-send-email-amit.shah@redhat.com> (raw)
Incrementing the array index was missed in the previous series which causes
us to not store all the values.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
qemu/target-i386/kvm.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemu/target-i386/kvm.c b/qemu/target-i386/kvm.c
index 19b08d8..86745b1 100644
--- a/qemu/target-i386/kvm.c
+++ b/qemu/target-i386/kvm.c
@@ -74,6 +74,7 @@ int kvm_arch_init_vcpu(CPUState *env)
c->ebx = ebx;
c->ecx = ecx;
c->edx = edx;
+ c = &cpuid_data.entries[++cpuid_i];
}
break;
}
--
1.6.0.6
next reply other threads:[~2009-02-11 14:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 14:29 Amit Shah [this message]
2009-02-11 21:01 ` [Qemu-devel] Re: [PATCH] KVM: cpuid function 2: store all values Anthony Liguori
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=1234362545-26412-1-git-send-email-amit.shah@redhat.com \
--to=amit.shah@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).