[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] xenpage_list point to zero


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Zheng, Lv" <lv.zheng@xxxxxxxxx>
  • Date: Thu, 1 Jun 2006 17:03:49 +0800
  • Delivery-date: Thu, 01 Jun 2006 02:06:08 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcaFWkvvC5L2lk7HRNiBxhcIcS1LtA==
  • Thread-topic: xenpage_list point to zero

Hi, All

I am a newbie to Xen and this mailing list.

I found there are dom_xen & dom_io in x86 source codes
(xen/arch/x86/mm.c, arch_init_memory) allocated (alloc_domain) without
fully initialized (INIT_LIST_HEAD(&dom_xxx->xenpage_list);).
Thus, d->xenpage_list is not initialized yet. When
share_xen_page_with_guest is called. 0x00000000 will be xenpage_list's
head of both dom_xen and dom_io.
Is there any intention that Xen was implemented in such a way?

Thanks and best regards,
Lv Zheng

 __  __            _____  ___   ____    ____
 \ \/ /___ _ __   |___ / / _ \ |___ \  |___ \
  \  // _ \ '_ \    |_ \| | | |  __) |__ __) |
  /  \  __/ | | |  ___) | |_| | / __/|__/ __/
 /_/\_\___|_| |_| |____(_)___(_)_____| |_____|

 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.0.2-2 (lv.zheng@xxxxxxxxx)
 (Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for
80x86)
 Tue May 23 04:54:19 PDT 2006
 Latest ChangeSet: Thu Apr 13 15:18:37 2006 +0100 9617:5802713c159b

(XEN) Physical RAM map:
(XEN)  0000000000000000 - 00000000004b0000 (reserved)
(XEN)  00000000004b0000 - 00000000404b0000 (usable)
(XEN) Boot allocator bitmap: 36KB
(XEN)  00000000004b0000 - 00000000004b9000 (alloc_bitmap)
(XEN) Memory guard: 12kB
(XEN)  00000000004b9000 - 00000000004bc000 (pl1e[xenheap_phys]:0~12MB)
(XEN) System RAM: 1024MB (1048576kB)
(XEN) Frame table: 386kB
(XEN)  000000003c8b0000 - 00000008b06083c0 (frame_table)
(XEN)  00000000004bc000 - 00000000004bf000
(pl1e[frame_table]:968MB~980MB)
(XEN) Xen heap: 7MB (7428kB)
(XEN)  00000000004bf000 - 0000000000c00000 (xenheap_phys)

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.