From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [PATCH 16/17] arm: add useful headers from the linux kernel Date: Sat, 1 Feb 2014 18:29:05 -0800 Message-ID: <20140202022905.GY3570@cbox> References: <1390321323-1855-1-git-send-email-drjones@redhat.com> <1390321323-1855-17-git-send-email-drjones@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org To: Andrew Jones Return-path: Received: from mail-pb0-f41.google.com ([209.85.160.41]:37694 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbaBBC3C (ORCPT ); Sat, 1 Feb 2014 21:29:02 -0500 Received: by mail-pb0-f41.google.com with SMTP id up15so5858667pbc.0 for ; Sat, 01 Feb 2014 18:29:02 -0800 (PST) Content-Disposition: inline In-Reply-To: <1390321323-1855-17-git-send-email-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jan 21, 2014 at 05:22:02PM +0100, Andrew Jones wrote: > We're going to need PSR bit defines and pt_regs. We'll also need > pt_regs offsets in assembly code. This patch adapts the linux > kernel's ptrace.h and asm-offsets to this framework. Even though > lib/arm/asm-offsets.h is a generated file, we still commit it, > as it's unlikely to change. Also adapt cp15.h from the kernel, > since we'll need bit defines from there too. > > Signed-off-by: Andrew Jones > --- [...] > + > +asm-offsets: scripts/arm/asm-offsets.flat > + $(QEMU) -device virtio-testdev -display none -serial stdio \ > + -M virt -cpu $(PROCESSOR) \ > + -kernel $^ > lib/arm/asm-offsets.h || true I still disagree with this requirement to have the correct version of qemu on the build machine. [...] -Christoffer