search for: virt_base

Displaying 20 results from an estimated 125 matches for "virt_base".

2008 Jul 31
0
xend crashing due to change in virt_kend value...??
...here is a sample domain_builder log when xend crashes.... xc_dom_parse_image: called xc_dom_find_loader: trying ELF-generic loader ... OK elf_parse_binary: phdr: paddr=0x0 memsz=0x1dfa4 elf_parse_binary: memory: 0x0 -> 0x1dfa4 elf_xen_parse: __xen_guest: "GUEST_OS=Mini-OS,XEN_VER=xen-3.0,VIRT_BASE=0x0,ELF_PADDR_OFFSET=0x0,HYPERCALL_PAGE=0x2,PAE=yes,LOADER=generic" elf_xen_parse_guest_info: GUEST_OS="Mini-OS" elf_xen_parse_guest_info: XEN_VER="xen-3.0" elf_xen_parse_guest_info: VIRT_BASE="0x0" elf_xen_parse_guest_info: ELF_PADDR_OFFSET="0x0" elf_xe...
2013 Dec 10
7
[PATCH] libxc/arm: Correctly handle the difference between virtual and physical address
..._arm.c @@ -108,13 +108,15 @@ static int shared_info_arm(struct xc_dom_image *dom, void *ptr) static int vcpu_arm32(struct xc_dom_image *dom, void *ptr) { vcpu_guest_context_t *ctxt = ptr; + uint32_t rambase = dom->rambase_pfn << XC_PAGE_SHIFT; + uint32_t offset = dom->parms.virt_base - rambase; DOMPRINTF_CALLED(dom->xch); /* clear everything */ memset(ctxt, 0, sizeof(*ctxt)); - ctxt->user_regs.pc32 = dom->parms.virt_entry; + ctxt->user_regs.pc32 = dom->parms.virt_entry - offset; /* Linux boot protocol. See linux.Documentation/arm...
2006 May 16
7
Unable to bring up Mini-OS on x86_64
I am getting the following error when I try to bring up Mini-OS on x86_64 Xen (unstable: 9994). It is dying in xc_linux_build() causing xend to fault and restart. Any clue why this happening? Has something changed in the builder that Mini-OS needs to be aware of? PS: I tried reverting changeset 9993 (Allow linking of mini-os with application-specific object code), but still got the same error
2005 Apr 15
0
[PATCH] Eliminate kernel version checks from i386/kernel/pci-dma.c
...on.h> #include <asm/io.h> #include <asm-xen/balloon.h> - -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) #include <asm/tlbflush.h> -#else -#define pte_offset_kernel pte_offset -#define pud_t pgd_t -#define pud_offset(d, va) d -#endif struct dma_coherent_mem { void *virt_base; @@ -85,24 +78,13 @@ xen_contig_memory(unsigned long vstart, balloon_unlock(flags); } -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) -void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size, - dma_addr_t *dma_handle) -#else void *dma_alloc_coherent(struct device *dev, size_t s...
2007 Apr 18
0
[PATCH 2/5] XEN: Add elfnote.h interface header
...e hypercall transfer page (numeric). + * + * LEGACY: HYPERCALL_PAGE. (n.b. legacy value is a physical page + * number not a virtual address) + */ +#define XEN_ELFNOTE_HYPERCALL_PAGE 2 + +/* The virtual address where the kernel image should be mapped (numeric). + * + * Defaults to 0. + * + * LEGACY: VIRT_BASE + */ +#define XEN_ELFNOTE_VIRT_BASE 3 + +/* + * The offset of the ELF paddr field from the acutal required + * psuedo-physical address (numeric). + * + * This is used to maintain backwards compatibility with older kernels + * which wrote __PAGE_OFFSET into that field. This field defaults to 0...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...07,6 +408,36 @@ static int alloc_magic_pages(struct xc_d /* ------------------------------------------------------------------------ */ +static unsigned long guest_pfn_addr(struct xc_dom_image *dom, xen_pfn_t pfn, + size_t offset) +{ + return dom->parms.virt_base + pfn * PAGE_SIZE_X86 + offset; +} + +static void setup_boot_params(struct xc_dom_image *dom) +{ + struct boot_params *params = + xc_dom_pfn_to_ptr(dom, dom->bootparams_pfn, 1); + + params->hdr.type_of_loader = (9 << 4) | 0; /* xen v0 */ + params->hdr.loadflags |= LO...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...07,6 +408,36 @@ static int alloc_magic_pages(struct xc_d /* ------------------------------------------------------------------------ */ +static unsigned long guest_pfn_addr(struct xc_dom_image *dom, xen_pfn_t pfn, + size_t offset) +{ + return dom->parms.virt_base + pfn * PAGE_SIZE_X86 + offset; +} + +static void setup_boot_params(struct xc_dom_image *dom) +{ + struct boot_params *params = + xc_dom_pfn_to_ptr(dom, dom->bootparams_pfn, 1); + + params->hdr.type_of_loader = (9 << 4) | 0; /* xen v0 */ + params->hdr.loadflags |= LO...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...07,6 +408,36 @@ static int alloc_magic_pages(struct xc_d /* ------------------------------------------------------------------------ */ +static unsigned long guest_pfn_addr(struct xc_dom_image *dom, xen_pfn_t pfn, + size_t offset) +{ + return dom->parms.virt_base + pfn * PAGE_SIZE_X86 + offset; +} + +static void setup_boot_params(struct xc_dom_image *dom) +{ + struct boot_params *params = + xc_dom_pfn_to_ptr(dom, dom->bootparams_pfn, 1); + + params->hdr.type_of_loader = (9 << 4) | 0; /* xen v0 */ + params->hdr.loadflags |= LO...
2008 Mar 02
0
error installing Xen guests on CentOS 5.1 x64 - could not read tty from store
...f805d8000 memsz=0x10af04 (XEN) elf_parse_binary: memory: 0xffffffff80200000 -> 0xffffffff806e2f04 (XEN) elf_xen_parse_note: GUEST_OS = "linux" (XEN) elf_xen_parse_note: GUEST_VERSION = "2.6" (XEN) elf_xen_parse_note: XEN_VERSION = "xen-3.0" (XEN) elf_xen_parse_note: VIRT_BASE = 0xffffffff80000000 (XEN) elf_xen_parse_note: PADDR_OFFSET = 0xffffffff80000000 (XEN) elf_xen_parse_note: ENTRY = 0xffffffff80200000 (XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff80206000 (XEN) elf_xen_parse_note: FEATURES = "writable_page_tables|writable_descriptor_tables|auto_transl...
2013 Jun 19
4
e008:[<ffff82c480122353>] check_lock+0x1b/0x45 [konrad.wilk@oracle.com: FAILURE 3.10.0-rc6upstream-00061-g752bf7d(x86_64) 3.10.0-rc6upstream-00061-g752bf7d(i386): 2013-06-19 (tst007)]
...polling(XEN) elf_parse_binary: phdr: paddr=0x1000000 memsz=0x9ef000 (XEN) elf_parse_binary: phdr: paddr=0x1a00000 memsz=0xae0f0 (XEN)_O= "linux" (XEN) elf_xen_parse_note: GUEST_VERSION = "2.6" (XEN) elf_xen_parse_note: XEN_VERSION = "xen-3.0" (XEN) elf_xen_parse_note: VIRT_BASE = 0xffffffff80000000 (XEN) elf_xen_parse_note: ENTRY = 0xffffffff81ac41e0 (XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff81001000 (XEN) elf_xen_parse_note: FEATURES = "!writable_page_tables|pae_pgdir_above_4gb" (XEN) elf_xen_parse_note: PAE_MODE = "yes" (XEN) elf_xen_parse...
2012 Dec 23
7
Unsticking a DomU
I''m not able to start, destroy, or delete a DomU: > xen1:~ # xm start test4 > Error: Domain is already running > Usage: xm start <DomainName> > > Start a Xend managed domain >   -p, --paused                   Do not unpause domain after starting it    >   -c, --console_autoconnect      Connect to the console after the domain   
2008 May 15
2
xen smp acpi failed
...f805ee000 memsz=0x1134e4 (XEN) elf_parse_binary: memory: 0xffffffff80200000 -> 0xffffffff807014e4 (XEN) elf_xen_parse_note: GUEST_OS = "linux" (XEN) elf_xen_parse_note: GUEST_VERSION = "2.6" (XEN) elf_xen_parse_note: XEN_VERSION = "xen-3.0" (XEN) elf_xen_parse_note: VIRT_BASE = 0xffffffff80000000 (XEN) elf_xen_parse_note: PADDR_OFFSET = 0xffffffff80000000 (XEN) elf_xen_parse_note: ENTRY = 0xffffffff80200000 (XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff80206000 (XEN) elf_xen_parse_note: FEATURES = "writable_page_tables|writable_descriptor_tables|auto_transla...
2008 Jun 14
14
Dom0 won''t come up, Fedora 9
..._binary: phdr: paddr=0x720000 memsz=0x145000 (XEN) elf_parse_binary: memory: 0x400000 -> 0x865000 (XEN) elf_xen_parse_note: GUEST_OS = "linux" (XEN) elf_xen_parse_note: GUEST_VERSION = "2.6" (XEN) elf_xen_parse_note: XEN_VERSION = "xen-3.0" (XEN) elf_xen_parse_note: VIRT_BASE = 0xc0000000 (XEN) elf_xen_parse_note: ENTRY = 0xc075e000 (XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xc07ab000 (XEN) elf_xen_parse_note: FEATURES = "! writable_page_tables|pae_pgdir_above_4gb" (XEN) elf_xen_parse_note: PAE_MODE = "yes" (XEN) elf_xen_parse_note: LOADER = "g...
2008 Mar 25
1
Xen3.1 Etch-backports | VE already running
...39;: ''1'', ''image'': "(linux (kernel /boot/vmlinuz-2.6-xen) (args ''root=/dev/hda1 '') (notes (FEATURES ''writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel'') (VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 18446744071562067968) (GUEST_OS linux) (HYPERCALL_PAGE 18446744071564189696) (LOADER generic) (ENTRY 18446744071564165120) (XEN_VERSION xen-3.0)))", ''name'': ''vadmin90''} [2008-03-25 18:43:26 2695] DEB...
2011 Feb 22
6
how to optimize CentOS XEN dom0?
...f80644000 memsz=0x11be8c (XEN) elf_parse_binary: memory: 0xffffffff80200000 -> 0xffffffff8075fe8c (XEN) elf_xen_parse_note: GUEST_OS = "linux" (XEN) elf_xen_parse_note: GUEST_VERSION = "2.6" (XEN) elf_xen_parse_note: XEN_VERSION = "xen-3.0" (XEN) elf_xen_parse_note: VIRT_BASE = 0xffffffff80000000 (XEN) elf_xen_parse_note: PADDR_OFFSET = 0xffffffff80000000 (XEN) elf_xen_parse_note: ENTRY = 0xffffffff80200000 (XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff80206000 (XEN) elf_xen_parse_note: FEATURES = "writable_page_tables|writable_descriptor_tables|auto_transla...
2010 Jun 03
1
Xen 3.1.2 on CentOS 5.5 doesn't see all 4 CPUs
...y: phdr: paddr=0xc0688000 memsz=0x164000 (XEN) elf_parse_binary: memory: 0xc0400000 -> 0xc07ec000 (XEN) elf_xen_parse_note: GUEST_OS = "linux" (XEN) elf_xen_parse_note: GUEST_VERSION = "2.6" (XEN) elf_xen_parse_note: XEN_VERSION = "xen-3.0" (XEN) elf_xen_parse_note: VIRT_BASE = 0xc0000000 (XEN) elf_xen_parse_note: PADDR_OFFSET = 0xc0000000 (XEN) elf_xen_parse_note: ENTRY = 0xc0400000 (XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xc0401000 (XEN) elf_xen_parse_note: FEATURES = "writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb...
2008 Oct 23
0
XEN 3.3: xend chrashes beim Start der DomU
...00 memsz=0x2ff890 elf_parse_binary: phdr: paddr=0x1300000 memsz=0x139000 elf_parse_binary: memory: 0x1000000 -> 0x1439000 elf_xen_parse_note: GUEST_OS = "linux" elf_xen_parse_note: GUEST_VERSION = "2.6" elf_xen_parse_note: XEN_VERSION = "xen-3.0" elf_xen_parse_note: VIRT_BASE = 0xc0000000 elf_xen_parse_note: PADDR_OFFSET = 0x0 elf_xen_parse_note: ENTRY = 0xc1000000 elf_xen_parse_note: HYPERCALL_PAGE = 0xc1001000 elf_xen_parse_note: HV_START_LOW = 0xf5800000 elf_xen_parse_note: FEATURES = "writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_p...
2011 Feb 07
4
XEN live migration: cannot console or ssh to the migrated guest VM (domU)
...migrate'', ''0''], [''tsc_mode'', ''0''], [''notes'', [''HV_START_LOW'', ''4118806528''], [''FEATURES'', ''!writable_page_tables|pae_pgdir_above_4gb''], [''VIRT_BASE'', ''3221225472''], [''GUEST_VERSION'', ''2.6''], [''PADDR_OFFSET'', ''0''], [''GUEST_OS'', ''linux''], [''HYPERCALL_PAGE'', ''3222282240''], ['...
2007 Aug 13
0
[BUG] migration problem
...'0''], [''notes'', [''HV_START_LOW'', ''4118806528''], [''FEATURES'', ''writable_page_tables|writable_descriptor_tables|auto_translated_physmap |pae_pgdir_above_4gb|supervisor_mode_kernel''], [''VIRT_BASE'', ''3221225472''], [''GUEST_VERSION'', ''2.6''], [''PADDR_OFFSET'', ''0''], [''GUEST_OS'', ''linux''], [''HYPERCALL_PAGE'', ''3223326720''], [...
2007 Apr 18
0
[PATCH 4/5] XEN: Remove __xen_guest section
...0fffffff) - .endif - .if ((\value) & 0xf) < 10 - .byte '0' + ((\value) & 0xf) - .else - .byte 'A' + ((\value) & 0xf) - 10 - .endif -.endm - -.section __xen_guest - .ascii "GUEST_OS=linux,GUEST_VER=2.6" - .ascii ",XEN_VER=xen-3.0" - .ascii ",VIRT_BASE=0x" - utoa __PAGE_OFFSET - .ascii ",ELF_PADDR_OFFSET=0x0" - .ascii ",VIRT_ENTRY=0x" - utoa (__PAGE_OFFSET + __PHYSICAL_START + VIRT_ENTRY_OFFSET) - .ascii ",HYPERCALL_PAGE=0x" - utoa ((__PHYSICAL_START+HYPERCALL_PAGE_OFFSET)>>PAGE_SHIFT) - .ascii ",F...