From: Carsten Emde <Carsten.Emde-Q945KHDl0DbYtjvyW6yDsg@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: kvm >= 25: vmx.c no longer compiles on F7
Date: Sun, 03 Jun 2007 15:07:39 +0200 [thread overview]
Message-ID: <4662BD1B.2040309@osadl.org> (raw)
In-Reply-To: <46627E37.3010102-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
Avi,
From kvm-25 onwards, vmx.c no longer compiles on Fedora 7:
{standard input}: Assembler messages:
{standard input}:4361: Error: no instruction mnemonic suffix given and
no register operands; can't size instruction
After applying the attached patch, everything works as usual (kvm-25 to
kvm-27)
--cbe
[-- Attachment #2: kvm-movl.patch --]
[-- Type: text/plain, Size: 583 bytes --]
diff -ura kvm-27/kernel/vmx.c kvm-27-movl/kernel/vmx.c
--- kvm-27/kernel/vmx.c 2007-06-03 10:31:15.000000000 +0200
+++ kvm-27-movl/kernel/vmx.c 2007-06-03 14:08:02.000000000 +0200
@@ -1345,7 +1345,7 @@
get_idt(&dt);
vmcs_writel(HOST_IDTR_BASE, dt.base); /* 22.2.4 */
- asm ("mov $.Lkvm_vmx_return, %0" : "=g"(kvm_vmx_return));
+ asm ("movl $.Lkvm_vmx_return, %0" : "=g"(kvm_vmx_return));
vmcs_writel(HOST_RIP, kvm_vmx_return); /* 22.2.5 */
vmcs_write32(VM_EXIT_MSR_STORE_COUNT, 0);
vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, 0);
[-- Attachment #3: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
[-- Attachment #4: Type: text/plain, Size: 186 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
next prev parent reply other threads:[~2007-06-03 13:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-03 8:39 [ANNOUNCE] kvm-27 release Avi Kivity
[not found] ` <46627E37.3010102-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-03 13:07 ` Carsten Emde [this message]
[not found] ` <4662BD1B.2040309-Q945KHDl0DbYtjvyW6yDsg@public.gmane.org>
2007-06-03 15:57 ` kvm >= 25: vmx.c no longer compiles on F7 Avi Kivity
[not found] ` <4662E4D1.1060201-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-03 17:55 ` Carsten Emde
2007-07-19 18:00 ` [ANNOUNCE] kvm-31 release Simon Gao
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=4662BD1B.2040309@osadl.org \
--to=carsten.emde-q945khdl0dbytjvyw6ydsg@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox