From: Jes Sorensen <jes@sgi.com>
To: kvm-ia64@vger.kernel.org
Subject: Re: [patch] today's qemu-kvm build fix
Date: Mon, 11 May 2009 12:36:30 +0000 [thread overview]
Message-ID: <4A081BCE.2010805@sgi.com> (raw)
In-Reply-To: <4A0816CF.8090205@sgi.com>
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
Avi Kivity wrote:
> kvm.c is not (yet) built in qemu-kvm.git. Please move the function to
> qemu-kvm-x86.c instead.
>
Ok,
Grossness is now in qemu-kvm-x86.c.
Jes
[-- Attachment #2: 0008-qemu-cpuid-cleanup.patch --]
[-- Type: text/x-patch, Size: 1117 bytes --]
kvm_arch_get_supported_cpuid() doesn't belong in qemu-kvm.c as it
is just an x86 specific build workaround.
Signed-off-by: Jes Sorensen <jes@sgi.com>
---
qemu-kvm-x86.c | 6 ++++++
qemu-kvm.c | 6 ------
2 files changed, 6 insertions(+), 6 deletions(-)
Index: qemu-kvm/qemu-kvm-x86.c
===================================================================
--- qemu-kvm.orig/qemu-kvm-x86.c
+++ qemu-kvm/qemu-kvm-x86.c
@@ -910,3 +910,9 @@
return true;
return false;
}
+
+uint32_t kvm_arch_get_supported_cpuid(CPUState *env, uint32_t function,
+ int reg)
+{
+ return kvm_get_supported_cpuid(kvm_context, function, reg);
+}
Index: qemu-kvm/qemu-kvm.c
===================================================================
--- qemu-kvm.orig/qemu-kvm.c
+++ qemu-kvm/qemu-kvm.c
@@ -1400,9 +1400,3 @@
if (kvm_enabled())
env->kvm_cpu_state.stopped = 1;
}
-
-uint32_t kvm_arch_get_supported_cpuid(CPUState *env, uint32_t function,
- int reg)
-{
- return kvm_get_supported_cpuid(kvm_context, function, reg);
-}
next prev parent reply other threads:[~2009-05-11 12:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 12:15 [patch] today's qemu-kvm build fix Jes Sorensen
2009-05-11 12:31 ` Avi Kivity
2009-05-11 12:36 ` Jes Sorensen [this message]
2009-05-11 12:40 ` 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=4A081BCE.2010805@sgi.com \
--to=jes@sgi.com \
--cc=kvm-ia64@vger.kernel.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