From: Gerd Hoffmann Subject: Re: [Qemu-devel] [PATCH] xen: net backend doesn't need linux headers. Date: Mon, 08 Jun 2009 09:00:16 +0200 Message-ID: <4A2CB700.5070202@redhat.com> References: <1243926324-13133-1-git-send-email-kraxel@redhat.com> <28EBEC28-6D03-4321-8629-1F54EA30C634@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <28EBEC28-6D03-4321-8629-1F54EA30C634@web.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Andreas_F=E4rber?= Cc: Blue Swirl , xen-devel@lists.xensource.com, qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.org On 06/06/09 21:43, Andreas F=E4rber wrote: > In file included from /export/home/andreas/QEMU/qemu/hw/xen_disk.c:43: > /export/home/andreas/QEMU/qemu/hw/xen_blkif.h:20: warning: #pragma > pack(push[, id], ) is not supported on this target > /export/home/andreas/QEMU/qemu/hw/xen_blkif.h:36: warning: #pragma > pack(pop[, id], ) is not supported on this target > CC xen_nic.o Hmm, is this a x86 or sparc machine? > /export/home/andreas/QEMU/qemu/hw/xen_nic.c:179: error: `PAGE_SIZE' > undeclared (first use in this function) > Looking at the code though I see a number of XC_PAGE_SIZE that don't > result in errors. Might PAGE_SIZE be a typo then? Yes, XC_PAGE_SIZE should be used here. cheers, Gerd