search for: xc_private

Displaying 20 results from an estimated 23 matches for "xc_private".

2005 Aug 27
1
problems getting xen going on FC4
...ootrd into the dom0 kernel I would get a page full of hda: lost interrupt followed by a blank screen. I then decided to remove all that and go with a xen-testing from source build. Now when I do "make tools" in the -testing directory I get: [...] In file included from xc_atropos.c:9: xc_private.h:19:31: xen/linux/privcmd.h: No such file or directory In file included from xc_atropos.c:9: xc_private.h:66: syntax error before "privcmd_hypercall_t" xc_private.h: In function `do_xen_hypercall'': xc_private.h:68: `xc_handle'' undeclared (first use in this function) xc_...
2008 May 19
1
error while static linking of libxenctrl and libxenguest
...t;xenctrl.h> #include <xenguest.h> int main(void) { printf("%p\n", xc_domain_resume); printf("%p\n", xc_domain_save); return 0; } gcc -static test.c -o test -lxenguest -lxenctrl -lpthread -lz we get /usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../../lib/libxenctrl.a(xc_private.o): In function `lock_pages'': /home/sthibault/xen-unstable-stubdom.hg/tools/libxc/xc_private.c:130: multiple definition of `lock_pages'' /usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../../lib/libxenguest.a(xg_private.o):/home/sthibault/xen-unstable-stubdom.hg/tools/libxc/xg_private.c:...
2007 Feb 23
1
RE: [PATCH][TOOLS] Reducingimpactofdomainsave/restore/dump on Dom0
> Put the Linux definition in xc_linux.c. Put a default dummy > implementation > in xc_private.c with __attribute__ ((weak)). If you have only a > function > prototype in xc_private.h then you won''t need -D_GNU_SOURCE for > xcutil/Makefile. This wont quite work -- xc_private.c isn''t part of libxenguest which includes save/restore which needs the function... that...
2006 Dec 08
3
build error: strerror() ...
Hi, changeset 12809 gives me this: xc_private.c: In function ‘safe_strerror’: xc_private.c:500: warning: return makes pointer from integer without a cast make[3]: *** [xc_private.o] Error 1 cheers, Gerd -- Gerd Hoffmann <kraxel@suse.de> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource...
2008 Mar 07
6
where is the location of definition of "do_xen_version"?
...inary file ./xen/arch/x86/hvm/hvm.o matches Binary file ./xen/arch/x86/hvm/built_in.o matches ./xen/arch/ia64/linux-xen/entry.S: data8 do_xen_version ./xen/arch/powerpc/powerpc64/hypercall_table.S: .quad do_xen_version Binary file ./dist/install/boot/xen-syms-3.1.0 matches ./tools/libxc/xc_private.c: rc = do_xen_version(xc_handle, cmd, arg); ./tools/libxc/xc_private.h:static inline int do_xen_version(int xc_handle, int cmd, void *dest) but the "do_xen_version" is not in those above. thanks a lots. www.ict.ac.cn 2008-03-07 房海峰 ___________________________________________...
2006 Dec 08
2
[patch] Add more xc_error_code values.
XC_INVALID_PARAM such as asking for features unsupported by either xen or guest kernel. XC_OUT_OF_MEMORY no comment ;) Signed-off-by: Gerd Hoffmann <kraxel@suse.de> --- tools/libxc/xenctrl.h | 2 ++ 1 file changed, 2 insertions(+) Index: build-32-unstable-12802/tools/libxc/xenctrl.h =================================================================== ---
2013 Dec 02
3
[PATCH] libxenctrl: Fix xc_interface_close() crash if it gets NULL as an argument
...ions. It means that they are also vulnerable. So fix above mentioned issue by adding NULL check in xc_interface_close_common(). This way we fix similar issue in other functions which calls xc_interface_close_common() too. Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com> --- tools/libxc/xc_private.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/libxc/xc_private.c b/tools/libxc/xc_private.c index 524862e..838fd21 100644 --- a/tools/libxc/xc_private.c +++ b/tools/libxc/xc_private.c @@ -198,6 +198,9 @@ static int xc_interface_close_common(xc_interface *xch) { int rc = 0;...
2011 Jan 22
53
Xen 4.1 rc1 test report
Hi, All Intel QA conducted a full validation for xen 4.1 rc1, it includes VT-x, VT-d, SRIOV, RAS, TXT and xl tools testing. 24 issues were exposed. Refer the bug list, please. We already assigned 14 bugs to Intel developers (which has an ''Intel'' tag in the bug title), most of the rest 10 bugs are related xl command. For the these bugs, need community''s help to fix
2006 Oct 24
1
[PATCH] libxc: Include path fix
...clude path mistake when trying to build tools/libxc on OpenBSD: gcc -O2 -fomit-frame-pointer -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -D__XEN_TOOLS__ -Werror -fno-strict-aliasing -I. -Wp,-MD,.xc_core.o.d -c -o xc_core.o xc_core.c In file included from xc_private.h:18, from xg_private.h:16, from xc_core.c:1: xen/privcmd.h:36:23: asm/types.h: No such file or directory gcc tries to use /usr/include/asm/types.h, which only exists on Linux (and therefore works on Linux). The attached patch tells gcc to use $(XEN_ROOT)/xen/in...
2013 Feb 21
4
help please - running a guest from an iSCSI disk ? getting more diagnostics than "cannot make domain: -3" ? how to make domain0 "privileged" ?
...omain.ssidref = ssidref; (gdb) 40 domctl.u.createdomain.flags = flags; (gdb) 41 memcpy(domctl.u.createdomain.handle, handle, sizeof(xen_domain_handle_t)); (gdb) 42 if ( (err = do_domctl(xch, &domctl)) != 0 ) (gdb) s do_domctl (domctl=0x7fffffffe0a0, xch=0x622240) at xc_private.h:239 239 DECLARE_HYPERCALL_BOUNCE(domctl, sizeof(*domctl), XC_HYPERCALL_BUFFER_BOUNCE_BOTH); (gdb) n 241 domctl->interface_version = XEN_DOMCTL_INTERFACE_VERSION; (gdb) 243 if ( xc_hypercall_bounce_pre(xch, domctl) ) (gdb) 249 hypercall.op = __HYPERVISOR_domc...
2012 May 23
4
Possible error restoring machine
...ore.c) if it''s not the last checkpoint we set O_NONBLOCK flag (search for fcntl) that we can call pagebuf_get or just load other pages (see following "goto loadpages;" line). Now we could ending up calling xc_tmem_restore/xc_tmem_restore_extra (xc_tmem.c) which call read_extract (xc_private.c) on the same non blocking socket/file but read_extract does not handle EAGAIN/EWOULDBLOCK (both can be returned on non blocking socket depending on file type and Unix/Linux version) leading to a failure. Does this make sense or is it impossible ?? Also note that rdexact (xc_domain_restore.c) han...
2008 Nov 12
0
libxen-dev: multiple symbol definition
Hello. That's what I've got from ld: /usr/lib/libxenguest.a(xg_private.o): In function `unlock_pages': (.text+0x490): multiple definition of `unlock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x6a0): first defined here /usr/lib/libxenguest.a(xg_private.o): In function `lock_pages': (.text+0x4d0): multiple definition of `lock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x700): first defined here collect2: ld returned 1 exit status Indeed: /usr/lib$ readelf -s lib...
2005 Feb 19
0
[PATCH] check read/write return values
...e builder. * Xen guys, nuke this if you wish. */ +#if 0 /* NOT CALLED */ void dumpit(int xc_handle, u32 dom, int start_page, int tot, unsigned long *page_array) @@ -85,6 +86,7 @@ munmap(vaddr, PAGE_SIZE); } } +#endif int blah(char *b) { --- xen-unstable/tools/libxc/xc_private.c.warn2 2005-02-19 12:12:44.000000000 -0500 +++ xen-unstable/tools/libxc/xc_private.c 2005-02-19 12:14:44.000000000 -0500 @@ -276,12 +276,14 @@ unsigned long sz; lseek(fd, 0, SEEK_SET); - read(fd, &sig, sizeof(sig)); + if ( read(fd, &sig, sizeof(sig)) != sizeof(sig) ) + r...
2006 Apr 14
8
[rfc] [patch] 32/64-bit hypercall interface revisited
Last year we had a discussion[1] about how the hypercall ABI unfortunately contains fields that change width between 32- and 64-bit builds. This is a huge problem as we come up on the python management stack for ppc64, since the distributions ship 32-bit python. A 32-bit python/libxc cannot currently manage a 64-bit hypervisor. I had a patch but was unable to test it, and some other things were
2010 Nov 25
4
[PATCH]improve suspend_evtchn lock processing
...kind of reason (e.g., kill the process). Any comments? Signed-off-by Chunyan Liu diff -r 3c4c3d48a835 tools/libxc/xc_suspend.c --- a/tools/libxc/xc_suspend.c Thu Aug 26 11:16:56 2010 +0100 +++ b/tools/libxc/xc_suspend.c Thu Nov 25 18:44:35 2010 +0800 @@ -16,8 +16,40 @@ #include "xc_private.h" #include "xenguest.h" +#include #define SUSPEND_LOCK_FILE "/var/lib/xen/suspend_evtchn" +/* cleanup obsolete suspend lock file which is unlinked for any reason, +so that current process can get lock */ +static void clean_obsolete_lock(int domid) +{ + int fd, pid...
2007 Mar 13
4
vmx status report against changeset 14356 - 1 new issue
Hi,All We have tested the latest xen on VT platform with Intel 915/E8500 chipset. Two platforms (PAE/32E) test all are based on SMP, It means that we boot up SMP guest OS in VMX. Here is the test summary: New issue (1) ================================================ 1) Fails to restore VMX guests http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=929 Issues List (3):
2010 Jan 09
3
101th domU fails to start with "SETVCPUCONTEXT failed"
Hello there, We (a small hosting community) are running a steadily growing number of Xen domUs on a quad dualcore Xeon server with 64GB ram. We''ve got 100 running domUs at the moment. Trying to create a new one results in this error: Error: (1, ''Internal error'', ''launch_vm: SETVCPUCONTEXT failed (rc=-1)\n'') If I shut down another domain, I can
2007 Jan 18
13
[PATCH 0/5] dump-core take 2:
The following dump-core patches changes its format into ELF, adds PFN-GMFN table, HVM support, and adds experimental IA64 support. - ELF format Program header and note section are adopted. - HVM domain support To know the memory area to dump, XENMEM_set_memory_map is added. XENMEM_memory_map hypercall is for current domain, so new one is created. and hvm domain builder tell xen its
2011 Sep 08
5
[PATCH 0 of 2] v2: memshare/xenpaging/xen-access fixes for xen-unstable
The following two patches allow the parallel use of memsharing, xenpaging and xen-access by using an independent ring buffer for each feature. Please review. v2: - update mem_event_check_ring arguments, check domain rather than domain_id - check ring_full first because its value was just evaluated - check if ring buffer is initialized before calling mem_access_domctl/mem_paging_domctl
2014 Sep 23
0
libvirt crashed by restore of xen vm
..., format=format@entry=0x7fd381b5610c "%s%s%s") at xtl_core.c:62 #3 0x00007fd381b4b378 in xc_reportv (xch=0x7fd35c029ec0, lg=0x7fd35c020190, level=XTL_DEBUG, code=0, fmt=0x7fd381b569b0 "hypercall buffer: total allocations:%d total releases:%d", args=args@entry=0x7fd38a444760) at xc_private.c:353 #4 0x00007fd381b4b429 in xc_report (xch=xch@entry=0x7fd35c029ec0, lg=<optimized out>, level=level@entry=XTL_DEBUG, code=code@entry=0, fmt=fmt@entry=0x7fd381b569b0 "hypercall buffer: total allocations:%d total releases:%d") at xc_private.c:364 #5 0x00007fd381b527f1 in xc__hyp...