search for: physmap

Displaying 20 results from an estimated 40 matches for "physmap".

2008 Apr 09
1
physmap deallocation on balloon?
Greetings, Currently, as I understand PV memory allocation, the Guest''s pfn -> mfn physmap will get populated on-demand as the guest uses more an more of its memory reservation. Is it possible to also make this go in the reverse direction? For example: let''s say we have a guest that is mostly idle and has a great deal of free memory and we decide to balloon down the domain. In...
2013 Feb 22
0
failed to add gnttab to physmap
I have two dell servers running arch linux and xen 4.3 One of them had after installing lates xen 4.3 had been showing this error message" failed to add gnttab to physmap " I reverted back to git pull from 02/17/13 and virtual machines start fine. Can sommone point me in righ direction what could be causing the error message _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
2020 Jun 23
1
Should SEV-ES #VC use IST? (Re: [PATCH] Allow RDTSC and RDTSCP from userspace)
On Tue, Jun 23, 2020 at 12:51:03PM +0100, Andrew Cooper wrote: > There are cases which are definitely non-recoverable. > > For both ES and SNP, a malicious hypervisor can mess with the guest > physmap to make the the NMI, #VC and #DF stacks all alias. > > For ES, this had better result in the #DF handler deciding that crashing > is the way out, whereas for SNP, this had better escalate to Shutdown. > Crashing out hard if the hypervisor is misbehaving is acceptable. Then I'm th...
2007 Aug 29
0
[PATCH 4/5] xc_core: documentation update
...int64_t)0, ~(uint64_t)0}, means invalid + (pfn, gmfn) and the corresponding page has zero. There might + exist invalid (pfn, gmfn)''s at the end part of this array. This section must exist when the domain is non auto translated physmap mode. Currently x86 paravirtualized domain. @@ -94,6 +97,9 @@ Currently the following sections are def The size of arrays is stored in xch_nr_pages member of header note descriptor in .note.Xen note section. The entries are stored in ascending or...
2007 Jun 11
5
[PATCH][Linux] gnttab: make dma address conversion logic of gnttab dma arch specific.
...with auto translated mode enabled (i.e. on ia64) because - bus address space(dma_addr_t) is different from machine address space(maddr_t). With the terminology in xen/include/public/mm.h, dma_addr_t is maddr and maddr_t is gmaddr. So they should be handled differently with auto translated physmap mode enabled. - dma address conversion depends on dma api implementation and its paravirtualization. "pfn_valid(mfn_to_local_pfn(maddr >> PAGE_SHIFT)" check in gnttab_dma_map_page() doesn''t make sense with auto translate physmap mode enabled. To address those is...
2007 Jun 05
0
Error: Device 2051 (vbd) could not be connected. Hotplug scripts not working.
...9;': ''1'', ''cpu/0/availability'': ''online'', ''image/features/pae-pgdir-above-4gb'': ''1'', ''image/features/writable-page-tables'': ''1'', ''image/features/auto-translated-physmap'': ''1'', ''name'': ''VM1'', ''domid'': ''6'', ''image/xen-version'': ''xen-3.0'', ''store/port'': ''1''} [2007-06-06 12:49:44 32539] DEBUG (__ini...
2007 Sep 04
12
VM start time slows with large number of VMs
...39;', ''image'': "(linux (kernel /boot/vmlinuz-xen) (ramdisk /boot/initrd-xen) (args ''root=/dev/sda2 ro ip=10.0.27.2:1.2.3.4::255.254.0.0::eth0:off xencons=tty1 3'') (notes (FEATURES ''writable_page_tables|writable_descriptor_tables|auto_translated_physmap |pae_pgdir_above_4gb|supervisor_mode_kernel'') (VIRT_BASE -2147483648) (GUEST_VERSION 2.6) (PADDR_OFFSET -2147483648) (GUEST_OS linux) (HYPERCALL_PAGE -2145361920) (LOADER generic) (SUSPEND_CANCEL 1) (ENTRY -2145386496) (XEN_VERSION xen-3.0)))", ''name'': ''xen0...
2010 Sep 07
2
remus failure -xen 4.0.1: xc_domain_restore cannot pin page tables
...9;: ''online'', ''image/features/pae-pgdir-above-4 gb'': ''1'', ''image/features/writable-page-tables'': ''1'', ''console/type'': ''xenconsoled'', ''image/features/auto-translated-physmap'': ''1'', ''name'': ''tpccExpt-remus'', ''domid'': ''6'', ''image/xen-version'': ''xen-3.0'', ''store/port'': ''1''} [2010-09-06 21:38:16 2392] DE...
2020 Jun 23
5
Should SEV-ES #VC use IST? (Re: [PATCH] Allow RDTSC and RDTSCP from userspace)
On Tue, Jun 23, 2020 at 01:07:06PM +0200, Peter Zijlstra wrote: > On Tue, Apr 28, 2020 at 09:55:12AM +0200, Joerg Roedel wrote: > So what happens if this #VC triggers on the first access to the #VC > stack, because the malicious host has craftily mucked with only the #VC > IST stack page? > > Or on the NMI IST stack, then we get #VC in NMI before the NMI can fix > you up.
2003 Aug 22
3
PAE removal patch for testing
...ory size may be set by the kernel environment variable * hw.physmem or the compile-time define MAXMEM. - * - * XXX first should be vm_paddr_t. */ static void getmemsize(int first) @@ -1433,8 +1426,8 @@ u_int basemem, extmem; struct vm86frame vmf; struct vm86context vmc; - vm_paddr_t pa, physmap[PHYSMAP_SIZE]; - pt_entry_t *pte; + vm_offset_t pa, physmap[PHYSMAP_SIZE]; + pt_entry_t pte; const char *cp; struct { u_int64_t base; @@ -1490,7 +1483,7 @@ */ for (pa = trunc_page(basemem * 1024); pa < ISA_HOLE_START; pa += PAGE_SIZE) { - pte = vtopte(pa + KERNBASE); + pte =...
2010 Aug 06
5
[PATCH] GSoC 2010 - Memory hotplug support for Xen guests - second fully working version - once again
...could be generic however I do not know it will be useful for others. If this function would be accepted by mm/memory_hotplug.c maintainers we could move it there. I removed from original add_memory funtion resource allocation (and deallocation after error), which must be done before XENMEM_populate_physmap in Xen. xen_add_memory is called after physmap is fully populated. If you have a questions please drop me a line. Daniel Signed-off-by: Daniel Kiper <dkiper@net-space.pl> --- arch/x86/Kconfig | 2 +- drivers/base/memory.c | 23 --- drivers/xen/Kconfig...
2007 Aug 13
0
[BUG] migration problem
...;: ''1'', ''cpu/0/availability'': ''online'', ''image/features/pae-pgdir-above-4gb'': ''1'', ''image/features/writable-page-tables'': ''1'', ''image/features/auto-translated-physmap'': ''1'', ''name'': ''migrating-Etch'', ''domid'': ''1'', ''image/xen-version'': ''xen-3.0'', ''store/port'': ''1''} [2007-08-13 16:53:18 3247]...
2012 Mar 19
0
[GIT PULL v8 0/6] save/restore on Xen
...ny PERARD (2): xen mapcache: check if memory region has moved. xen: do not allocate RAM during INMIGRATE runstate Stefano Stabellini (4): cirrus_vga: do not reset videoram Introduce "xen-save-devices-state" Set runstate to INMIGRATE earlier xen: record physmap changes to xenstore docs/xen-save-devices-state.txt | 34 +++++++++++++ hw/cirrus_vga.c | 4 -- qapi-schema.json | 19 +++++++ qmp-commands.hx | 27 ++++++++++ savevm.c | 71 ++++++++++++++++++++++++++ vl.c...
2020 Jun 23
0
Should SEV-ES #VC use IST? (Re: [PATCH] Allow RDTSC and RDTSCP from userspace)
...yet with this patch-set. When it gets enabled a stack > recursion check in the #VC handler is needed which panics the VM. That > also fixes the #VC-in-early-NMI problem. There are cases which are definitely non-recoverable. For both ES and SNP, a malicious hypervisor can mess with the guest physmap to make the the NMI, #VC and #DF stacks all alias. For ES, this had better result in the #DF handler deciding that crashing is the way out, whereas for SNP, this had better escalate to Shutdown. What matters here is the security model in SNP.? The hypervisor is relied upon for availability (beca...
2013 Jun 30
3
XEN 4.2.2: Windows 2008 R2 server HVM does not start when attempting to use more than 3072MB of RAM
...0000000000000000->00000000ff000000 ENTRY ADDRESS: 0000000000100000 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000003f7 1GB PAGES: 0x0000000000000002 xc: error: panic: xc_dom_boot.c:388: xc_dom_gnttab_hvm_seed: failed to add gnttab to physmap [errno=22] : Internal error libxl: error: libxl_dm.c:1218:device_model_spawn_outcome: domain 1 device model: spawn failed (rc=-3) libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/vif-bridge add [4567] exited with error status 1 libxl: error: libxl_create.c:1116:domcrea...
2007 Mar 24
5
memsize for HVM save/restore
As you know, HVM save/restore broke recently because restored config miss guest memsize that used by xc_hvm_restore to locate some pfn. After discussion, we decided to remove the pfn deduction logic from restore side by adding a general memory layout. I have a patch for it. But then qemu broke, because it also require the memsize to locate the share page. We can''t use the previous
2008 Aug 29
12
stubdom problem
Hello all Xen devels, I''m writing howto''s in brazilian portuguese language about Xen-3.3.0 stubdom, pv-grub and others configurations. Following what is written in xen-3.3.0/stubdom/README, I tried start a HVM but without success. When I start the virtual machine calling ''xm create hvmtest'' command, in a few seconds the virtual machine is dead (see
2009 Jan 19
0
Migration with ubuntu 8.0.4.1 fails
...9;: ''1'', ''image'': "(linux (kernel /boot/vmlinuz-2.6.24-22-xen) (ramdisk /boot/initrd.img-2.6.24-22-xen) (args ''root=/dev/xvda2 ro 2 console=xvc0'') (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 18446744071564197888) (LOADER generic) (SUSPEND_CANCEL 1) (ENTRY 18446744071564165120) (XEN_VERSION xen-3.0)))", &...
2008 Mar 25
1
Xen3.1 Etch-backports | VE already running
...us'': ''1'', ''vcpu_avail'': ''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'&...
2008 Mar 25
0
domU doesn''t start | Error
...us'': ''1'', ''vcpu_avail'': ''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) (SUSPEND_CANCEL 1) (ENTRY 18446744071564165120) (XEN_VERSION xen-3.0)))", &...