From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1/2] test: Add IDT framework Date: Thu, 10 Jun 2010 16:32:38 +0300 Message-ID: <4C10E976.30807@redhat.com> References: <1276140703-30046-1-git-send-email-sheng@linux.intel.com> <4C10B51C.9070502@redhat.com> <201006101755.04411.sheng@linux.intel.com> <4C10C496.2000405@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org To: Sheng Yang Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18073 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752425Ab0FJNck (ORCPT ); Thu, 10 Jun 2010 09:32:40 -0400 In-Reply-To: <4C10C496.2000405@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/10/2010 01:55 PM, Avi Kivity wrote: > Something like "=m"(blah) can cause access to %rsp, usually when > compiling without frame pointers. > >>> I suggest using a special data section like the kernel. >> Kind of more complex... > > Makes it more fun. I'll have a go. > Posted. Currently fails due to a bug in kvm (writing to cr4 causes the fault rip to point to the following instruction, patch to follow). -- error compiling committee.c: too many arguments to function