search for: domain_build

Displaying 20 results from an estimated 33 matches for "domain_build".

2012 Mar 15
3
[PATCH] arm: allocate top level p2m page for all non-idle VCPUs
Not just dom0. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> --- xen/arch/arm/domain.c | 3 +++ xen/arch/arm/domain_build.c | 3 --- xen/arch/arm/p2m.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index 5702399..4b38790 100644 --- a/xen/arch/arm/domain.c +++ b/xen/arch/arm/domain.c @@ -201,6 +201,9 @@ int arch_domain_create(struct d...
2013 Feb 15
0
[PATCH 1/4] xen/arm: trap guest WFI
Trap guest WFI, block the guest VCPU unless it has pending interrupts. Awake the guest vcpu when a new interrupt for it arrrives. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> --- xen/arch/arm/domain_build.c | 2 +- xen/arch/arm/traps.c | 6 ++++++ xen/arch/arm/vgic.c | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index 1e9776d..aa0f191 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/a...
2013 May 02
5
[PATCH] x86: allow Dom0 read-only access to IO-APICs
...ixes an interrupt setup problem on a system where _CRS evaluation involved the above described BIOS/ACPI behavior, and is expected to also deal with a boot time crash of pv-ops Linux upon encountering the same kind of system. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xen/arch/x86/domain_build.c +++ b/xen/arch/x86/domain_build.c @@ -1114,7 +1114,7 @@ int __init construct_dom0( for ( i = 0; i < nr_ioapics; i++ ) { mfn = paddr_to_pfn(mp_ioapics[i].mpc_apicaddr); - if ( smp_found_config ) + if ( !rangeset_contains_singleton(mmio_ro_ranges, mfn) )...
2012 Feb 13
0
[PATCH 10/14] arm: implement ARMv7 tlb ops.
arm: implement ARMv7 tlb ops. xen/arch/arm/xen/Makefile | 1 + xen/arch/arm/xen/cache-v7.S | 17 +++++------------ xen/arch/arm/xen/domain_build.c | 6 +++--- xen/arch/arm/xen/tlb-v7.S | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 60 insertions(+), 15 deletions(-) Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com> diff -r c6a412adfae7 xen/arch/arm/xen/Makefile --- a/xen/arch/arm/xen/Makefile Sun F...
2006 Dec 01
1
[PATCH 2/10] Add support for netfront/netback acceleration drivers
...@@ assign_domain_mmio_page(struct domain *d #endif return -EINVAL; } - assign_domain_same_page(d, mpaddr, size, ASSIGN_writable | ASSIGN_nocache); + assign_domain_same_page(d, mpaddr, size, flags | ASSIGN_nocache); return mpaddr; } diff -r b58bcd6551e2 xen/arch/powerpc/domain_build.c --- a/xen/arch/powerpc/domain_build.c Fri Dec 01 16:21:46 2006 +0000 +++ b/xen/arch/powerpc/domain_build.c Fri Dec 01 16:22:41 2006 +0000 @@ -306,7 +306,7 @@ int construct_dom0(struct domain *d, rc = 0; /* DOM0 is permitted full I/O capabilities. */ - rc |= iomem_permit_access(dom0...
2005 Aug 10
4
Options for >4GB setups
...etting a xen host to use more than 4GB of RAM. I''ve tried xen-unstable x86_64 on Xeon EM64Ts as well as xen-unstable with the initial PAE support but neither got me too far from booting: the former hangs when using the supplied binaries in xen-unstable-x86_64 and the latter a known bug at domain_build.c:327. And I know that the developers (who are really hard at work) have said that xen 3.0 may be coming out really soon now, but was wondering if there were anys suggestions for the impatient ones. ;-) Many thanks! - gino _______________________________________________ Xen-users mailing list X...
2013 Nov 19
23
[PATCH v6 00/16] xen: arm: 64-bit guest support and domU FDT autogeneration
Biggest change is to switch the new DTB node to /xen-core-devices instead of /xen at Stefano''s request. I also dropped the few patches title HACK etc which weren''t supposed to be there and fixed up some bits and pieces which folks commented on. George, WRT the freeze I think this is functionality which we cannot ship Xen 4.4 without. The impact is entirely constrained to the
2013 Nov 01
17
[PATCH v2 00/14] xen: arm: 64-bit guest support and domU FDT autogeneration
I''ve addressed all (I think/hope) of the review comments. The main change is to expose the guest virtual platform (e.g. memory layout and interrupt usage etc) to the toolstack via the public interface. This is then used during FDT generation. I have just codified the current defacto standard layout, it''s probably not the best layout but any change can be a separate patch/series.
2008 Aug 12
4
Not enough RAM for domain 0 allocation.
Hi all, I have been trying to use Xen with a diskless workstation. My system has 3G of RAM. I have built a ramdisk (whose size is 450M) and I''m trying to load everything in memory (Xen,Dom0 and the ramdisk). In the file arch/x86/domain_build.c the function alloc_domheap_pages is invoked page=alloc_domheap_pages(d,order,MEMF_bit(30); // in my case order =17 This function returns a NULL pointer, which generates the error "Not enough RAM for domain 0 allocation" It seems that if the total size of hypervisor+dom0+ramdisk is les...
2009 Aug 28
0
[PATCH] properly __initdata-annotate command line option string buffers
...8-24 17:46:05.000000000 +0200 @@ -32,7 +32,7 @@ uint32_t system_reset_counter = 1; -static char opt_acpi_sleep[20]; +static char __initdata opt_acpi_sleep[20]; string_param("acpi_sleep", opt_acpi_sleep); static u8 sleep_states[ACPI_S_STATE_COUNT]; --- 2009-08-18.orig/xen/arch/x86/domain_build.c 2009-08-21 17:38:51.000000000 +0200 +++ 2009-08-18/xen/arch/x86/domain_build.c 2009-08-24 17:40:18.000000000 +0200 @@ -101,10 +101,10 @@ struct vcpu *__init alloc_dom0_vcpu0(voi return alloc_vcpu(dom0, 0, 0); } -static unsigned int opt_dom0_shadow; +static unsigned int __initdata opt_dom0...
2007 Jul 17
1
Bug#389320: Patch to add ia64 support
...Signed-off-by: Alex Williamson <alex.williamson at hp.com> +## DP: +--- a/xen/arch/ia64/xen/domain.c Sat Dec 23 09:38:07 2006 +0000 ++++ b/xen/arch/ia64/xen/domain.c Sat Dec 23 09:40:18 2006 +0000 +@@ -867,7 +867,7 @@ int shadow_mode_control(struct domain *d + #endif + + // see arch/x86/xxx/domain_build.c +-int elf_sanity_check(Elf_Ehdr *ehdr) ++int elf_sanity_check(const Elf_Ehdr *ehdr) + { + if (!(IS_ELF(*ehdr))) + { +--- a/xen/arch/powerpc/domain_build.c Sat Dec 23 09:38:07 2006 +0000 ++++ b/xen/arch/powerpc/domain_build.c Sat Dec 23 09:40:18 2006 +0000 +@@ -51,7 +51,7 @@ static unsigned int...
2007 Feb 26
2
[PATCH 0 of 2] Parse image elfnotes, write them to xenstore, save and load via image sxpr
Here are two patches that let xm create, save and restore extract and preserve elfnotes read by the domain builder. This is handy for a few things. In particular, I''d like it so that xm can decide whether or not guest domains support fast resume (if save fails, or for checkpointing). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2020 Jul 18
25
[PATCH 00/12] Bunch of patches for cross-compilatio + RP4
...mory below 1GB for dom0 for RPI debian/rules | 43 ++++++++++++++------- debian/shuffle-binaries | 45 ++++++++++++---------- debian/shuffle-boot-files | 7 ++-- tools/Makefile | 3 -- xen/arch/arm/domain_build.c | 33 +++++++++------- xen/arch/arm/platform.c | 5 +++ xen/arch/arm/platforms/brcm-raspberry-pi.c | 1 + xen/include/asm-arm/mm.h | 2 + xen/include/asm-arm/numa.h | 5 --- xen/include/asm-arm/platform.h | 2 +...
2005 Oct 10
13
[PATCH] 0/2 VCPU creation and allocation
I''ve put together two patches. The first introduces a new dom0_op, set_max_vcpus, which with an associated variable and a check in the VCPUOP handler fixes [1]bug 288. Also included is a new VCPUOP, VCPUOP_create, which handles all of the vcpu creation tasks and leaves initialization and unpausing to VCPUOP_initialize. The separation allows for build-time allocation of vcpus which
2009 May 22
0
miniOS page table allocation
...t of XEN on ARM in the context of EmbeddedXEN project. I digged into miniOS and found something which seems strange to me: the build_pagetable() function in mm.c. This function aims at building up the additional page tables which were not allocated by the hypervisor during the domain construction (domain_build.c). I do not understand the following calculation: pfn_to_map = (start_info.nr_pt_frames - NOT_L1_FRAMES) * L1_PAGETABLE_ENTRIES; pfn_to_map is supposed to be the first page frame number to be mapped by the function. However, the guest OS gets a list of pfns (start_pfn - max_pfn, including the ph...
2008 Jul 31
0
xend crashing due to change in virt_kend value...??
...e, being derived from elf->pend value. Due to this domU is throwing seg_faults When things were fine the value of virt_kend used to be 0x1e1a4, but now virt_kend is having value 0x1dfa4. I have no clue why this is happening suddenly. Any clue or hints would be very helpful. 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=...
2012 Mar 19
24
[PATCHv2 00/11] arm: pass a device tree to dom0
This series of patches makes Xen pass a (somewhat) valid device tree to dom0. The device tree for dom0 is the same as the one supplied to Xen except the memory and chosen nodes are adjusted appropriately. We don''t yet make use of the device tree to map MMIO regions or setup interrupts for the guest and we still include the UART used for Xen''s console. Note that loading Linux
2006 Oct 04
0
[PATCH,RFC 6/17] 32-on-64 shared info handling
...arch.guest_context.flags) ) - n->vcpu_info->evtchn_upcall_mask = 1; + vcpu_info(n, evtchn_upcall_mask) = 1; regs->entry_vector = TRAP_syscall; regs->rflags &= ~(X86_EFLAGS_AC|X86_EFLAGS_VM|X86_EFLAGS_RF| Index: 2006-10-04/xen/arch/x86/domain_build.c =================================================================== --- 2006-10-04.orig/xen/arch/x86/domain_build.c 2006-10-04 15:10:46.000000000 +0200 +++ 2006-10-04/xen/arch/x86/domain_build.c 2006-10-04 15:11:03.000000000 +0200 @@ -325,6 +325,7 @@ int construct_dom0(struct domain *d,...
2006 Sep 22
1
[RFC][PATCH][UPDATED] Intel(R) LaGrande Technology support
...build config xen/Rules.mk - adds ''-DCONFIG_SMX'' compile flag if INTEL_SMX=y xen/arch/x86/Makefile - add arch/x86/smx dir to build xen/arch/x86/boot/x86_32.S - hook startup to launch LT environmentxen/arch/x86/setup.c - initialize fixmap entries for LT config reg space xen/arch/x86/domain_build.c - protect LT private config space xen/arch/x86/e820.c - support for E820_PROTECTED mem type xen/arch/x86/hvm/vmx/vmx.c - support new LT/VMX IA32_FEATURE_CONTROL_MSR flag xen/arch/x86/mm.c - support for E820_PROTECTED mem type xen/arch/x86/setup.c - hook to reserve LT RAM regions and initialize fi...
2012 Jan 09
39
[PATCH v4 00/25] xen: ARMv7 with virtualization extensions
...elf-loader: introduce elf_load_image xen/common/Makefile: introduce HAS_CPUFREQ, HAS_PCI, HAS_PASSTHROUGH, HAS_NS16550, HAS_KEXEC arm: compile tmem arm: header files arm: bit manipulation, copy and division libraries arm: entry.S and head.S arm: domain arm: domain_build arm: driver for CoreLink GIC-400 Generic Interrupt Controller arm: mmio handlers arm: irq arm: mm and p2m arm: pl011 UART driver arm: early setup code arm: shutdown, smp and smpboot arm: driver for the generic timer for ARMv7 arm: trap handlers...