WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: Xen-changelog Digest, Vol 38, Issue 55

To: Ben Guthro <bguthro@xxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Xen-changelog Digest, Vol 38, Issue 55
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 22 Apr 2008 18:47:56 +0100
Cc: Jan Beulich <jbeulich@xxxxxxxxxx>
Delivery-date: Tue, 22 Apr 2008 10:48:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <480E1E2F.2080800@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcikoP8APYHGVRCUEd2wrgAWy6hiGQ==
Thread-topic: [Xen-devel] Re: Xen-changelog Digest, Vol 38, Issue 55
User-agent: Microsoft-Entourage/11.4.0.080122
Easily fixed. I'll sort it out and push it through to the public tree.

 Thanks,
 Keir

On 22/4/08 18:19, "Ben Guthro" <bguthro@xxxxxxxxxxxxxxx> wrote:

> I pulled in the latest changes after seeing the Changelog Digests go by
> - but seem to be having problems
> compiling against the latest 2.6.18-xen kernel changeset (523:f128849f9e78)
> http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/f128849f9e78
> 
> xen-changelog-request@xxxxxxxxxxxxxxxxxxx wrote:
>>    6. [linux-2.6.18-xen] linux/x86: set up machine_e820 in
>>       copy_e820_map() for it to be usable (Xen patchbot-linux-2.6.18-xen)
>> 
>> ----------------------------------------------------------------------
>>   
> This is the chunk of the patch that is giving me problems: (errors below)
>> +
>> +#ifdef CONFIG_XEN
>> + if (is_initial_xendomain()) {
>> +  struct xen_memory_map memmap;
>> +
>> +  memmap.nr_entries = E820MAX;
>> +  set_xen_guest_handle(memmap.buffer, machine_e820.map);
>> +
>> +  if (HYPERVISOR_memory_op(XENMEM_machine_memory_map, &memmap))
>> +   BUG();
>> +  machine_e820.nr_map = memmap.nr_entries;
>> + } else
>> +  machine_e820 = e820;
>> +#endif
>> +
>> return 0;
>>  }
>>   
> CC arch/x86_64/kernel/e820.o
> /home/bguthro/dev/unstable/linux-2.6.18-xen.hg/arch/x86_64/kernel/e820-xen.c:
> In function ?copy_e820_map¹:
> /home/bguthro/dev/unstable/linux-2.6.18-xen.hg/arch/x86_64/kernel/e820-xen.c:6
> 13: 
> error: ?machine_e820¹ undeclared (first use in this function)
> /home/bguthro/dev/unstable/linux-2.6.18-xen.hg/arch/x86_64/kernel/e820-xen.c:6
> 13: 
> error: (Each undeclared identifier is reported only once
> /home/bguthro/dev/unstable/linux-2.6.18-xen.hg/arch/x86_64/kernel/e820-xen.c:6
> 13: 
> error: for each function it appears in.)
> 
> 
> 
> Is this changeset complete - or did an extern declaration get left out
> somehow?
> 
> Ben Guthro
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>