Displaying 14 results from an estimated 14 matches for "libxl_ctx_alloc".
2013 Mar 21
1
xen-4.2, libxl and libvirt
...ht.
I'm trying to compile libvirt-1.0.3, also from experimental.
Unfortunately the "configure" step fails to detect libxenlight. The
build still succeeds but it falls back to using xend, which I believe is
unsupported for xen-4.2.
The libvirt configure step outputs:
checking for libxl_ctx_alloc in -lxenlight... no
and in config.log I see:
configure:61236: checking for libxl_ctx_alloc in -lxenlight
configure:61261: gcc -std=gnu99 -o conftest -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall
-D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.c -lxenlight...
2013 Feb 17
6
Install issues for Xen 4.2.1 on Ubuntu 12.10
...no-bootscrub"'' /etc/default/grub
update-grub
echo "none /proc/xen xenfs defaults 0 0" >> /etc/fstab
reboot
After the reboot -
$ ls /proc/xen
capabilities privcmd xenbus xsd_kva xsd_port
$ cat /proc/xen/capabilities
control_d
$ xl info
libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running?
failed to stat /var/run/xenstored.pid: No such file or directory
cannot init xl context
Any help would be greatly appreciated.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
2012 Jan 26
1
[PATCH v2] libxl: fix mutex initialization
...ges since v1:
* Fix leak of mutex attr.
Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
diff -r f581bb82fecd -r 259112aee618 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Sat Jan 14 19:04:48 2012 +0100
+++ b/tools/libxl/libxl.c Sat Jan 14 19:04:48 2012 +0100
@@ -26,7 +26,6 @@ int libxl_ctx_alloc(libxl_ctx **pctx, in
{
libxl_ctx *ctx = NULL;
struct stat stat_buf;
- const pthread_mutex_t mutex_value = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
int rc;
if (version != LIBXL_VERSION) { rc = ERROR_VERSION; goto out; }
@@ -40,10 +39,10 @@ int libxl_ctx_alloc(libxl_ctx **pct...
2014 Jun 17
0
Re: [Xen-devel] Bug: /proc/xen Doesn't Mount
...t;
>> Booting to hypervisor goes well, but
>> # xl list
>> xc: error: Could not obtain handle on privileged command interface (2 =
>> No such file or directory): Internal error
>> libxl: error: libxl.c:92:libxl_ctx_alloc: cannot open libxc handle: No
>> such file or directory
>> cannot init xl context
>>
>> I find that no xen modules are loaded and /proc/xen is not mounted, so
>> loaded all xen modules. I find instructions all over the place to mount
>> /proc/xen... but they...
2013 Dec 16
8
XEN/arm XENFB support
Goodmorning,
I''m currently playing with XEN/arm on my Allwinner A20 (cubieboard2)
I would like to get the XENFB driver working on domU.
But currently in xen/arm there''s no support for VFB, atleast qemu is not
supported.
But this video http://www.youtube.com/watch?v=po1IeElg8tg and this one
http://www.youtube.com/watch?v=Km6gBnIqaWo is showing a working framebuffer.
So there are
2017 Jul 27
0
Re: Xen died - Fedora upgrade from 21 to 26
...GC
# virsh define vmtest.xml
error: Failed to define domain from vmtest.xml
error: invalid argument: could not find capabilities for arch=x86_64
domaintype=xen
# xl list
xencall: error: Could not obtain handle on privileged command interface:
No such file or directory
libxl: error: libxl.c:108:libxl_ctx_alloc: cannot open libxc handle: No
such file or directory
cannot init xl context
On 27/07/2017 11:40 AM, Alvin Starr wrote:
> I just tried my laptop and booted xen and can virsh list and xl seem
> to work.
>
>
> On 07/26/2017 06:27 PM, G Crowe wrote:
>> Alvin,
>> Tha...
2013 Sep 28
17
Problems in starting up domU with Xen-ARM (on Cortex-A15 Fast Models)
...iling.
But there seems to be something wrong when I start up domU.
First, I get errors in create domU with xl:
root@(none):/home/xiaogw# xl create domU-config
xc: error: Could not obtain handle on privileged command interface (2 = No
such file or directory): Internal error
libxl: error: libxl.c:94:libxl_ctx_alloc: cannot open libxc handle: No such
file or directory
cannot init xl context
I solve this problem by:
root@(none):/# mount -t proc proc /proc
root@(none):/# mount -t xenfs xen /proc/xen/
root@(none):/# xl list
Name
ID Mem VCPUs State Time(s)
^C
But it will halt after executin...
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
2013 Mar 25
86
[PATCH 00/28] libxl: ocaml: improve the bindings
The following series of patches fill in most of the gaps in the OCaml bindings
to libxl, to make them useful for clients such as xapi/xenopsd (from XCP).
There are a number of bugfixes to the existing bindings as well. I have an
experimental version of xenopsd that successfully uses the new bindings.
An earlier version of the first half of the series was submitted to the last
by Ian Campbell on
2013 Nov 25
22
[PATCH 0/4] Coverity fixes for tools/libxl
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
--
1.7.10.4
2017 Jul 23
6
Xen died - Fedora upgrade from 21 to 26
Hi,
I am trying to upgrade my Xen host (Dom0) and are having troubles
getting it to work.
I think that it has booted into a kernel that supports Xen (running 'xl
info' does list some Xen capabilities), but I have three problems (that
I have found so far).
Firstly, the "libvirtd" daemon doesn't start on bootup (and as a result
all 'virsh' commands fail). It
2013 Aug 27
4
Is: Xen 4.2 and using 'xl' to save/restore is buggy with PVHVM Linux guests (v3.10 and v3.11 and presumarily earlier as well). Works with Xen 4.3 and Xen 4.4. Was:Re: FAILURE 3.11.0-rc7upstream(x86_64) 3.11.0-rc7upstream(i386)\: 2013-08-26 (tst001)
...GiB free]
Total: 2 [935.44 GiB] / in use: 2 [935.44 GiB] / in no VG: 0 [0 ]
[ 18.398590] bio: create slab <bio-1> at 1
2 logical volume(s) in volume group "vg_i386-pvhvm" now active
25 logical volume(s) in volume group "guests" now active
libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running?
failed to stat /var/run/xenstored.pid: No such file or directory
cannot init xl context
[ 19.055455] smpboot: CPU 1 is now offline
[ 19.061401] installing Xen timer for CPU 1
[ 19.067643] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 19.056240] Initializing CPU...
2011 Jul 07
6
Xen unstable on NetBSD
...name'':
xen/lowlevel/xl/xl.c:483: error: too few arguments to function
''libxl_domain_rename''
cc1: warnings being treated as errors
xen/lowlevel/xl/xl.c: In function ''PyXl_init'':
xen/lowlevel/xl/xl.c:681: warning: implicit declaration of function
''libxl_ctx_alloc''
error: command ''gcc'' failed with exit status 1
gmake[3]: *** [build] Error 1
gmake[3]: Leaving directory `/root/xen-unstable.hg/tools/python''
gmake[2]: *** [subdir-install-python] Error 2
gmake[2]: Leaving directory `/root/xen-unstable.hg/tools''
gmake[1...
2013 Dec 01
70
[PATCH 00/13] Coverity fixes for libxl
Matthew Daley (13):
libxl: fix unsigned less-than-0 comparison in e820_sanitize
libxl: check for xc_domain_setmaxmem failure in libxl__build_pre
libxl: correct file open success check in libxl__device_pci_reset
libxl: don''t leak p in libxl__wait_for_backend
libxl: remove unsigned less-than-0 comparison
libxl: actually abort if initializing a ctx''s lock fails
libxl: