Displaying 20 results from an estimated 21 matches for "xc_dom".
2013 Jan 25
3
[PATCH] xenguest: Add xsa-25 decompression limit prototypes
...ow xenguest consumers to also make use of the extra protection added as
a result of xsa-25.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
diff -r 5af4f2ab06f3 -r daec50a41570 tools/libxc/xenguest.h
--- a/tools/libxc/xenguest.h
+++ b/tools/libxc/xenguest.h
@@ -177,6 +177,13 @@ int xc_dom_linux_build(xc_interface *xch
unsigned int console_evtchn,
unsigned long *console_mfn);
+#ifndef XC_HAVE_DECOMPRESS_LIMITS
+#define XC_HAVE_DECOMPRESS_LIMITS
+#endif
+
+int xc_dom_kernel_max_size(struct xc_dom_image *dom, size_t sz);
+int xc_dom_ramdisk_max_size(struct xc_dom_...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...oot protocol requires that %esi point to the boot_params
block on entry. Unfortunately this conflicts with the normal Xen boot
protocol, which starts with %esi pointing to a struct start_info.
In order to implement this, I've had to muck up Gerd's nice clean
layering a little bit. struct xc_dom_image now has a bootparams_pfn,
which is set by the bzImage loader. Then, when xc_dom_x86 sees that its
non-NULL when setting up the initial vcpu state, it points %esi that
rather than start_info (and the boot_params contains a pointer to
start_info). Fortunately, the embedded ELF file makes it e...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...oot protocol requires that %esi point to the boot_params
block on entry. Unfortunately this conflicts with the normal Xen boot
protocol, which starts with %esi pointing to a struct start_info.
In order to implement this, I've had to muck up Gerd's nice clean
layering a little bit. struct xc_dom_image now has a bootparams_pfn,
which is set by the bzImage loader. Then, when xc_dom_x86 sees that its
non-NULL when setting up the initial vcpu state, it points %esi that
rather than start_info (and the boot_params contains a pointer to
start_info). Fortunately, the embedded ELF file makes it e...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...oot protocol requires that %esi point to the boot_params
block on entry. Unfortunately this conflicts with the normal Xen boot
protocol, which starts with %esi pointing to a struct start_info.
In order to implement this, I've had to muck up Gerd's nice clean
layering a little bit. struct xc_dom_image now has a bootparams_pfn,
which is set by the bzImage loader. Then, when xc_dom_x86 sees that its
non-NULL when setting up the initial vcpu state, it points %esi that
rather than start_info (and the boot_params contains a pointer to
start_info). Fortunately, the embedded ELF file makes it e...
2014 Nov 21
4
Bug#767295: [PATCH for-4.5 v2] libxc: don't leak buffer containing the uncompressed PV kernel
On 11/20/2014 03:21 PM, Konrad Rzeszutek Wilk wrote:
> On Thu, Nov 20, 2014 at 03:48:47PM +0000, Ian Campbell wrote:
>> The libxc xc_dom_* infrastructure uses a very simple malloc memory pool which
>> is freed by xc_dom_release. However the various xc_try_*_decode routines (other
>> than the gzip one) just use plain malloc/realloc and therefore the buffer ends
>> up leaked.
>>
>> The memory pool current...
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.
2013 Dec 10
7
[PATCH] libxc/arm: Correctly handle the difference between virtual and physical address
xc_dom_alloc_page deals with virtual address not physical address. When
an ELF is loaded, virtual address and physical address may be different.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
---
tools/libxc/xc_dom_arm.c | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(...
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
2012 Oct 26
0
Xen Security Advisory 25 (CVE-2012-4544) - Xen domain builder Out-of-memory due to malicious kernel/ramdisk
...da3dd xsa25-unstable.patch
Note that these patches impose a new size limit of 1Gby on both the
compressed and uncompressed sizes of ramdisks. On some systems it may
be desirable to relax these limits and risk virtual address or memory
exhaustion in the toolstack. This can be achieved by setting
XC_DOM_DECOMPRESS_MAX to the desired limit (in bytes). This can be
done by building with "APPEND_CFLAGS=-DXC_DOM_DECOMPRESS_MAX=<limit>"
or by editing tools/libxc/xc_dom.h directly.
NOTE REGARDING LACK OF EMBARGO
==============================
These issues have already been discussed in...
2012 Nov 13
0
Xen Security Advisory 25 (CVE-2012-4544, CVE-2012-2625) - Xen domain builder Out-of-memory due to malicious kernel/ramdisk
...da3dd xsa25-unstable.patch
Note that these patches impose a new size limit of 1Gby on both the
compressed and uncompressed sizes of ramdisks. On some systems it may
be desirable to relax these limits and risk virtual address or memory
exhaustion in the toolstack. This can be achieved by setting
XC_DOM_DECOMPRESS_MAX to the desired limit (in bytes). This can be
done by building with "APPEND_CFLAGS=-DXC_DOM_DECOMPRESS_MAX=<limit>"
or by editing tools/libxc/xc_dom.h directly.
NOTE REGARDING LACK OF EMBARGO
==============================
These issues have already been discussed in...
2013 Sep 23
57
[PATCH RFC v13 00/20] Introduce PVH domU support
This patch series is a reworking of a series developed by Mukesh
Rathor at Oracle. The entirety of the design and development was done
by him; I have only reworked, reorganized, and simplified things in a
way that I think makes more sense. The vast majority of the credit
for this effort therefore goes to him. This version is labelled v13
because it is based on his most recent series, v11.
2013 Feb 01
2
[PATCH v2 02/03] HVM firmware passthrough libxl support
This patch introduces support for two new parameters in libxl:
smbios_firmware=<path_to_smbios_structures_file>
acpi_firmware=<path_to_acpi_tables_file>
The changes are primarily in the domain building code where the firmware files
are read and passed to libxc for loading into the new guest. After the domain
building call to libxc, the addresses for the loaded blobs are returned and
2013 Nov 20
3
Invalid VA => ptr conversion with xc_dom_* API after XSA-55 fox
...f and FastIce pointed out a regression between Xen 4.1.2 and 4.1.6
when starting NetBSD domU; the kernel syms table gets slightly corrupted
[1].
After dwelling into libxc code, FastIce noticed that changing back the
return value to "ptr + offset" (instead of just "ptr") for
xc_dom_vaddr_to_ptr() makes it work again.
According to [2] while fixing XSA-55, Ian changed the "ptr + offset"
return value to just "ptr". Is there a reason for this? IMHO the VA =>
ptr conversion should also take into account non-page aligned addresses,
hence the offset (excep...
2007 Apr 17
3
DomU Kernel Mapping
Where is the code that maps the kernel of a DomU into memory?
i.e, when you do a xm create <config file>
what code is called to actually map the kernel into memory?
Is it a python script or is it re-directed to Dom0 to do?
Thanks.
-Brian
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
2007 Apr 17
3
DomU Kernel Mapping
Where is the code that maps the kernel of a DomU into memory?
i.e, when you do a xm create <config file>
what code is called to actually map the kernel into memory?
Is it a python script or is it re-directed to Dom0 to do?
Thanks.
-Brian
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
2013 Jan 18
6
[PATCH v1 01/02] HVM firmware passthrough libxl support
This patch introduces support for two new parameters in libxl:
smbios_firmware=<path_to_smbios_structures_file>
acpi_firmware=<path_to_acpi_tables_file>
The changes are primarily in the domain building code where the firmware files
are read and passed to libxc for loading into the new guest. After the domain
building call to libxc, the addresses for the loaded blobs are returned and
2012 Apr 04
10
[PATCH 0 of 2] libxl: add libxl_domain_config_init
The following series implements libxl_domain_config_init as per the
libxl API requirement that each type has an init function.
The first function does this in an open coded manner and is proposed
for Xen 4.2.
The second function is RFC only since it moves the definition of this
type into the IDL and makes the required infrastructure updates to
enable this. I think this is more 4.3 material at
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
2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3:
- mini-os configuration files moved into stubdom/
- mini-os extra console support now a config option
- Fewer #ifdefs
- grant table setup uses hypercall bounce
- Xenstore stub domain syslog support re-enabled
Changes from v2:
- configuration support added to mini-os build system
- add mini-os support for conditionally compiling frontends, xenbus
-
2013 Sep 23
28
[PATCH 0/2] add LZ4 kernel decompression support
Linux 3.11 added respective support, so I think we should follow
suit.
1: xen: add LZ4 decompression support
2: libxc: add LZ4 decompression support
Signed-off-by: Jan Beulich <jbeulich@suse.com>