From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Emde Subject: kvm >= 25: vmx.c no longer compiles on F7 Date: Sun, 03 Jun 2007 15:07:39 +0200 Message-ID: <4662BD1B.2040309@osadl.org> References: <46627E37.3010102@qumranet.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060200090903020207070806" Cc: kvm-devel To: Avi Kivity Return-path: In-Reply-To: <46627E37.3010102-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --------------060200090903020207070806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------060200090903020207070806 Content-Type: text/plain; name="kvm-movl.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kvm-movl.patch" 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); --------------060200090903020207070806 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --------------060200090903020207070806 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --------------060200090903020207070806--