Displaying 20 results from an estimated 59 matches for "libxl_dom".
Did you mean:
libxl_dm
2012 Apr 13
2
[PATCH] libxl: fix rtc_timeoffset setting
...setted in it.
Move rtc_timeoffset setting logic to libxl__build_pre.
Reported-by: Teck Choon Giam <giamteckchoon@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Lin Ming <mlin@ss.pku.edu.cn>
---
tools/libxl/libxl_create.c | 9 ---------
tools/libxl/libxl_dom.c | 17 +++++++++++++++--
2 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c
index e63c7bd..e706124 100644
--- a/tools/libxl/libxl_create.c
+++ b/tools/libxl/libxl_create.c
@@ -127,15 +127,6 @@ int libxl__domain_build_info_s...
2015 Oct 01
5
xen and spice problem
Hi
it is possible to use xen and spice already? If yes is there any howto
or doc how?
If I turn on spice in cfg of a hvm domU, I get this error:
Parsing config from /etc/xen/marax.cfg
libxl: detail: libxl_dom.c:238:hvm_set_viridian_features: base group
enabled
libxl: detail: libxl_dom.c:238:hvm_set_viridian_features: freq group
enabled
libxl: detail: libxl_dom.c:238:hvm_set_viridian_features: time_ref_count
group enabled
xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xbad04
xc: detail: elf...
2010 Sep 02
7
[PATCH] libxl: make libxl communicate with xenstored by socket or xenbus driver
...*l = NULL;
xsh = xs_daemon_open();
+ if (!xsh)
+ xsh = xs_domain_open();
path = libxl_sprintf(&gc, "/local/domain/0/device-model/%d/state", domid);
xs_watch(xsh, path, path);
tv.tv_sec = LIBXL_DEVICE_MODEL_START_TIMEOUT;
diff -r eff592364826 tools/libxl/libxl_dom.c
--- a/tools/libxl/libxl_dom.c Wed Sep 01 11:23:49 2010 +0100
+++ b/tools/libxl/libxl_dom.c Thu Sep 02 14:51:46 2010 +0100
@@ -284,6 +284,8 @@
snprintf(path, sizeof(path), "/local/domain/0/device-model/%u/logdirty/cmd", domid);
xsh = xs_daemon_open();
+ if (!xsh)
+...
2010 Aug 17
3
libxl build failure in latest xen
...ols/include
> -I../../tools/libxc -I../../tools/include -I../../tools/xenstore -I../../tools/include
> -I../../tools/blktap2/control -I../../tools/blktap2/include -I../../tools/include
> -Wl,-soname -Wl,libxenlight.so.1.0 -shared -o libxenlight.so.1.0.0 flexarray.o
> libxl.o libxl_pci.o libxl_dom.o libxl_exec.o libxl_xshelp.o libxl_device.o
> libxl_internal.o xenguest.o libxl_utils.o osdeps.o libxl_paths.o
> libxl_bootloader.o libxl_blktap2.o
> /usr/bin/ld: libxl_dom.o: relocation R_X86_64_PC32 against
> `hvm_build_set_params'' can not be used when making a shared object...
2012 Mar 25
1
[PATCH v3] libxl: support for "rtc_timeoffset" and "localtime"
...means to specify whether the emulted RTC appears as UTC or is
offset by the host.
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Lin Ming <mlin@ss.pku.edu.cn>
---
docs/man/xl.cfg.pod.5 | 8 ++++++++
tools/libxl/libxl_create.c | 11 +++++++++++
tools/libxl/libxl_dom.c | 3 +++
tools/libxl/libxl_types.idl | 2 ++
tools/libxl/xl_cmdimpl.c | 5 +++++
5 files changed, 29 insertions(+), 0 deletions(-)
Changed since v2:
* Move rtc_timeoffset adjust logic to libxl
* Update docs
Changed since v1:
* Add tm_gmtoff, instead subtract, to rtc_timeoffse...
2013 Apr 24
15
Bare-metal Xen on ARM boot
...te one and when trying to boot we get ( this was an uncompressed
binary, no image):
libxl: notice: libxl_numa.c:451:libxl__get_numa_candidate: NUMA placement
failed, performance might be affected
xc: error: panic: xc_dom_core.c:587: xc_dom_find_loader: no loader found:
Invalid kernel
libxl: error: libxl_dom.c:380:libxl__build_pv: xc_dom_parse_image failed:
No such file or directory
libxl: error: libxl_create.c:908:domcreate_rebuild_done: cannot (re-)build
domain: -3
I attached the code ( it''s very small).
Thanks
_______________________________________________
Xen-devel mailing list
Xe...
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
2013 Dec 01
70
[PATCH 00/13] Coverity fixes for libxl
...n''t leak buf in libxl_xen_console_read_start error handling
libxl: replace for loop with more idiomatic do-while loop
tools/libxl/libxl.c | 64 +++++++++++++++++++++-----------------------
tools/libxl/libxl_cpuid.c | 2 +-
tools/libxl/libxl_device.c | 3 +++
tools/libxl/libxl_dom.c | 42 ++++++++++++++---------------
tools/libxl/libxl_pci.c | 9 +++----
tools/libxl/libxl_x86.c | 2 +-
6 files changed, 59 insertions(+), 63 deletions(-)
--
1.7.10.4
2012 Apr 20
26
xl doesn't honour the parameter cpu_weight from my config file while xm does honour it
Hi,
I''ve installed xen-unstable 4.2 from actual git (last commit was
4dc7dbef5400f0608321d579aebb57f933e8f707).
When I start a domU with xm all is fine include the cpu_weight I
configured in my domU config.
When I start the domU with xl then all my domU have the default
cpu_weight of 256 instead of the configured one.
Was the name of cpu_weight being changed for xl command ?
My domU
2012 Apr 20
26
xl doesn't honour the parameter cpu_weight from my config file while xm does honour it
Hi,
I''ve installed xen-unstable 4.2 from actual git (last commit was
4dc7dbef5400f0608321d579aebb57f933e8f707).
When I start a domU with xm all is fine include the cpu_weight I
configured in my domU config.
When I start the domU with xl then all my domU have the default
cpu_weight of 256 instead of the configured one.
Was the name of cpu_weight being changed for xl command ?
My domU
2015 Oct 01
0
xen and spice problem
...s possible to use xen and spice already? If yes is there any howto or
> doc how?
Fabio has been the one working on getting spice working. Fabio, any ideas?
>
> If I turn on spice in cfg of a hvm domU, I get this error:
>
> Parsing config from /etc/xen/marax.cfg
> libxl: detail: libxl_dom.c:238:hvm_set_viridian_features: base group enabled
> libxl: detail: libxl_dom.c:238:hvm_set_viridian_features: freq group enabled
> libxl: detail: libxl_dom.c:238:hvm_set_viridian_features: time_ref_count
> group enabled
> xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xbad0...
2010 Aug 13
3
[PATCH] xl: make libxl_uuid2string internal to libxenlight
...ree() the UUID since the per-api-call-gc-lifetime
patch.
Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
diff -r dc335ebde3b5 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Thu Aug 12 18:03:23 2010 +0100
+++ b/tools/libxl/libxl.c Fri Aug 13 15:32:31 2010 +0100
@@ -90,7 +90,7 @@ int libxl_domain_make(libxl_ctx *ctx, li
xs_transaction_t t;
xen_domain_handle_t handle;
- uuid_string = libxl_uuid2string(ctx, info->uuid);
+ uuid_string = libxl_uuid2string(&gc, info->uuid);
if (!uuid_string) {
libxl_free_all(&gc);
return ERROR_NOMEM;
@@ -...
2012 Jan 03
3
Problem with DomU, gentoo, xen-4.1.1
.../gentoo-root.img,sda1,w''] <---- Image with Gentoo
root = "/dev/sda1 ro"
vcpus = 2
# xl create gentoo.vm
Parsing config file gentoo.vm
xc: error: elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images: Invalid kernel
libxl: error: libxl_dom.c:196:libxl__build_pv xc_dom_parse_image failed: Success
cannot (re-)build domain: -3
What did I do wrong?
2011 Nov 10
3
[PATCH] libxl: use named options for tsc_mode
...patible with
migration (currently certain TSC modes XXX ?).
- * `tsc_mode=VALUE`: Specifies how the TSC (Time Stamp Counter) should
- be provided to the guest. XXX ???
-
* `pci_msitranslate=BOOLEAN`: XXX
* `pci_power_mgmt=BOOLEAN`: XXX
diff -r 460b507e15f8 -r bc79b560aafa tools/libxl/libxl_dom.c
--- a/tools/libxl/libxl_dom.c Thu Nov 10 10:18:29 2011 +0000
+++ b/tools/libxl/libxl_dom.c Thu Nov 10 10:54:39 2011 +0000
@@ -73,12 +73,29 @@ int libxl__build_pre(libxl__gc *gc, uint
libxl_domain_build_info *info, libxl__domain_build_state *state)
{
libxl_ctx *ctx = libxl__gc...
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
2012 Aug 15
2
[PATCH] libxl: make domain resume API asynchronous
...anyway switch to the
LOG* helper macros.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
diff -r 30bf79cc14d9 -r 7cec0543f67c tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Wed Aug 15 14:45:21 2012 +0100
+++ b/tools/libxl/libxl.c Wed Aug 15 16:58:21 2012 +0100
@@ -396,15 +396,12 @@ int libxl_domain_rename(libxl_ctx *ctx,
return rc;
}
-int libxl_domain_resume(libxl_ctx *ctx, uint32_t domid, int suspend_cancel)
+int libxl__domain_resume(libxl__gc *gc, uint32_t domid, int suspend_cancel)
{
- GC_INIT(ctx);
int rc = 0;
- if (xc_domain_resume(ctx->xch, domid, suspend_ca...
2013 Feb 24
1
xen hvm fails to start
...n I get this error It seems that the path my
be off. Can someone point me were in source code path to qemu pid is
defined .It seems that qeum-xen points to loacation I don''t see were it is
defined.
xc: detail: elf_load_binary: phdr 0 at 0x0x7f71cac72000 -> 0x0x7f71cad079d5
libxl: error: libxl_dom.c:612:libxl__build_hvm: hvm building failed
libxl: error: libxl_create.c:885:domcreate_rebuild_done: cannot (re-)build
domain: -3
libxl: error: libxl_dm.c:1250:libxl__destroy_device_model: could not find
device-model''s pid for dom 14
libxl: error: libxl.c:1414:libxl__destroy_domid:
libxl__...
2012 Nov 23
1
[PATCH] libxl - fix a variable underflow in libxl_wait_for_free_memory
...available to create the domU.
But because of a variable-underflow the loop can finish too soon and xl
finally aborts with the message:
xc: error: panic: xc_dom_boot.c:161: xc_dom_boot_mem_init: can''t allocate low
memory for domain: Out of memory
libxl: error: libxl_dom.c:430:libxl__build_pv: xc_dom_boot_mem_init failed:
Device or resource busy
libxl: error: libxl_create.c:901:domcreate_rebuild_done: cannot (re-)build
domain: -3
The variable-underflow happens when freemem_slack is larger then
info.free_pages*4, beca...
2011 May 13
0
Bug#626644: xen-utils-4.1: xl fails because /var/lib/xen is missing
...GEMENT:
Loader: 0000000000100000->0000000000179850
TOTAL: 0000000000000000->000000001f800000
ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000000fb
1GB PAGES: 0x0000000000000000
libxl: error: libxl_dom.c:718:libxl_userdata_store cannot write /var/lib/xen/userdata-n.3.71d22787-7fff-4553-9cbb-7ff6fa9866b3.xl for /var/lib/xen/userdata-d.3.71d22787-7fff-4553-9cbb-7ff6fa9866b3.xl: No such file or directory
cannot save config file: No such file or directory
libxl: error: libxl_dom.c:645:libxl__userdata...
2012 Sep 21
6
xl create bug on first-attempt with passthrough
...3.4.11
I have tested the new Xen 4.2 stable, and Xen unstable revision 25777, both
are giving me the same error so I do not believe it is related to a change
in Xen.
The first attempt to pass a PCI device after booting the system gives me
these messages (on "xl create"):
libxl: error: libxl_dom.c:557:libxl__build_hvm: hvm building failed
libxl: error: libxl_create.c:901:domcreate_rebuild_done: cannot (re-)build
domain: -3
libxl: error: libxl_dm.c:1239:libxl__destroy_device_model: could not find
device-model''s pid for dom 1
libxl: error: libxl.c:1427:libxl__destroy_domid:
libxl__d...