search for: xc_domain

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

2007 Aug 28
6
[PATCH] Make XEN_DOMCTL_destroydomain hypercall continuable.
...warning message. To prevent softlokup, make the hypercall continuable. PATCHNAME: make_xen_domctl_destroydomain_hypercall_continuable Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Keir Fraser <keir@xensource.com> diff -r 58d131f1fb35 -r 2c9db26f1d0e tools/libxc/xc_domain.c --- a/tools/libxc/xc_domain.c Fri Aug 24 16:32:56 2007 +0100 +++ b/tools/libxc/xc_domain.c Tue Aug 28 13:06:41 2007 +0900 @@ -55,10 +55,17 @@ int xc_domain_destroy(int xc_handle, int xc_domain_destroy(int xc_handle, uint32_t domid) { + int ret; DECLARE_DOMCTL;...
2012 Nov 28
0
[PATCH v8 2/2] tools: XENMEM_claim_pages (subop of existing) hypercall
...Jan, this is a separate post of the tools part of the patch. NOTE: This patch must be applied after the hypervisor part of the patchset or otherwise may break the build! v5->v8: - no change in this patch (only in patch 1of2) Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> xc_domain.c | 1 + xenctrl.h | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/libxc/xc_domain.c b/tools/libxc/xc_domain.c index d98e68b..6d06f7c 100644 --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -234,6 +234,7 @@ int xc_domain_getinfo(xc_interface *xch, info-&...
2005 Jun 29
0
[PATCH] fix xc_domain_memory_increase_reservation return value
in xc_domain_memory_increase_reservation, when do_dom_mem_op return 0, it shall also return -1,I met this problem when I try to allocate domain memory. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> diff -Nru a/tools/libxc/xc_domain.c b/tools/libxc/xc_domain.c --- a/tools/libxc/xc_domain.c 20...
2006 Aug 17
4
[PATCH]configuration files(sched-credit)
...-To allow cpu_cap to be set in the Xen configuration files python/xen/xm/create.py, python/xen/xend/XendDomainInfo.py, python/xen/lowlevel/xc/xc.c -To allow cpu_cap and cpu_weight in the Xen configuration files to be passed to xend python/xen/sv/CreateDomain.py, libxc/xenctrl.h, xc_domain.c, python/xen/lowlevel/xc/xc.c -To set default values for each scheduler Previously, the default value, 1.0 had been set for the bvt scheduler by the Xen configuration files parsing in XendDomainInfo.py. It has now been modified so that default values are set in xc_domain.c after the sche...
2013 Mar 13
0
[PATCH 3 of 4] PoC: libxc+ocaml: add interfaces to send triggers to HVM guests
...nt Required by xapi. Taken from xen-api-libs.hg/xc and adjusted for upstream libxc+ocaml. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Rebased on top of xen-unstable. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> diff -r b279ec057736 -r 03997417771b tools/libxc/xc_domain.c --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -1562,6 +1562,36 @@ int xc_domain_get_acpi_s_state(xc_interf return value; } +int xc_domain_trigger_power(xc_interface *xch, unsigned int domid) +{ + int ret; + DECLARE_DOMCTL; + + domctl.cmd = XEN_DOMCTL_sendtrigger;...
2012 Nov 15
1
[RFC/PATCH v4] XENMEM_claim_pages (subop of existing) hypercall
...ot; discussed earlier. We certainly don''t unclaimed_pages to go negative! Note 3: Save/restore/migrate may need to be modified or it can be documented that all claims are cancelled. Thanks for any feedback! Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> tools/libxc/xc_domain.c | 1 tools/libxc/xenctrl.h | 1 xen/arch/x86/mm.c | 2 xen/arch/x86/mm/mem_sharing.c | 4 - xen/common/domain.c | 1 xen/common/domctl.c | 1 xen/common/grant_table.c | 2 xen/common/memory.c | 33 ++++++++++...
2008 Mar 15
2
How to use the functions provided by xen?
Hello~~~ I need to use some functions provided by xen, such as xc_vcpu_getcontext(), xc_map_foreign_ranger() and so on. I have find them in the /libxc/xc_domain.c~~~ But I don't know how to use them in my program. For example, if I need to use the function named printf(), I have to include the header file <stdio.h>~~~ Now, I want to use these functions provided by xen, which header files do I need to include? Good luck!...
2007 May 04
0
[PATCH] 3/4 "nemesis" scheduling domains for Xen
Implements tool interfaces for scheduling domains. libxenctrl, xm, and xend. signed-off-by: Mike D. Day <ncmike@us.ibm.com> -- libxc/xc_domain.c | 85 +++++++++++++++++++++++++++++++++--- libxc/xenctrl.h | 43 ++++++++++++++++-- python/xen/xend/XendDomain.py | 78 +++++++++++++++++++++++++++++++++ python/xen/xend/server/SrvDomain.py | 27 +++++++++++ python/xen/xm/main.py |...
2005 May 09
1
trying to trace xm create
...origin in the code. So my question is : Where does this http request being sent to ? (where is the HTTP server - is it the SrvDaemon from under xend/server ? ) And more important: where does this create domain request reach ? I assume it does reach a "C" code and I assume it reaches xc_domain_create() method from tools\ libxc\xc_domain.c ; am I right ? Regards, Sting the _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it''s FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/...
2007 Jan 18
13
[PATCH 0/5] dump-core take 2:
...domain builder tell xen its memory map. - IA64 support IA64 support is for only review. It doesn''t work because Xen/IA64 doesn''t support memory map hypercall. Subject: [PATCH 1/5] dump-core take 2: XENMEM_set_memory_map hypercall Subject: [PATCH 2/5] dump-core take 2: libxc: xc_domain memmap functions Subject: [PATCH 3/5] dump-core take 2: libxc: add xc_domain_tranlate_gpfn() Subject: [PATCH 4/5] dump-core take 2: hvm builder: tell memory map Subject: [PATCH 5/5] dump-core take 2: elf formatify and added PFN-GMFN table -- yamahata _______________________________________________...
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
2005 Feb 01
3
BVT scheduler settings examples
Are there any examples of bvt scheduler parameters usage? If I understand it right, bvt provides me with option to scale domain''s CPU usage. Eg. I have 2 (non-zero) domains pinned to the same CPU. Can I assign eg. 30% of CPU time to domain 1 and 70% to domain 2? (I mean in peaks when both domains are not idle and require the CPU time) If yes, how should I build the "xm bvt"
2013 May 08
11
[PATCH 1/2] xen, libxc: init msix addr/data with value from qemu via hypercall
...s doesn''t match the value from qemu side, although pirq may already be mapped and binded in qemu side. Kernel will get wrong value when reading msix info. Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com> Tested-by: Yuval Shaia <yuval.shaia@oracle.com> --- tools/libxc/xc_domain.c | 7 ++++++- tools/libxc/xenctrl.h | 4 +++- xen/arch/x86/hvm/vmsi.c | 13 ++++++++++++- xen/drivers/passthrough/io.c | 3 ++- xen/include/public/domctl.h | 2 ++ xen/include/xen/pci.h | 3 ++- 6 files changed, 27 insertions(+), 5 deletions(-) diff --git...
2005 Oct 10
13
[PATCH] 0/2 VCPU creation and allocation
I''ve put together two patches. The first introduces a new dom0_op, set_max_vcpus, which with an associated variable and a check in the VCPUOP handler fixes [1]bug 288. Also included is a new VCPUOP, VCPUOP_create, which handles all of the vcpu creation tasks and leaves initialization and unpausing to VCPUOP_initialize. The separation allows for build-time allocation of vcpus which
2008 Mar 10
1
About special functions provided by xen
Hello~~~~ I have to use some special functions provided by xen, such as xc_vcpu_getcontext(),xc_map_foreign_range() and so on. I tried to find them in the Xen Interface Manuel, but failed. Does anyone know where they are? And another problem: In the Xen Interface Manuel(Appendix A), "xen/include/public/" has been mentioned many times.But I havn't found such a directory in my
2006 Aug 01
18
[Patch] Enable "sysrq c" handler for domU coredump
Hi, In the case of linux, crash_kexec() is occured by "sysrq c". In the case of DomainU on xen, Help is occured by "sysrq c" now. So The way of dumping DomainU''s memory manualy is nothing. I fix this issue by the following way. 1. Panic is occured by "sysrq c" on both Domain0 and DomainU. 2. On DomainU, coredump is generated in /var/xen/dump (on Domain0).
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" ?
...o create a domain at all , in dmesg output or in the system log. Tracing this command in gdb shows the hypervisor command is returning -1, with errno set to 1 (EPERM) : libxl: debug: libxl_create.c:1174:do_domain_create: ao 0x622890: create: how=(nil) callback=(nil) poller=0x622920 Breakpoint 2, xc_domain_create (xch=0x622240, ssidref=0, handle=handle@entry=0x7fffffffe1b0 "\316\260\203\242\376\252E\260\257\342;\324N\264\330\303\031", flags=flags@entry=0, pdomid=pdomid@entry=0x7fffffffe28c) at xc_domain.c:33 33 { (gdb) n 37 domctl.cmd = XEN_DOMCTL_createdomain; (gdb) 38...
2005 Feb 18
14
autotoolizing xen?
Hi there! I was wondering what the general opinion on autotoolizing xen is? I am volunteering to do so, if there is interest in updating the build system to use autoconf, automake and/or libtool. Is one configure script for all of xen enough or do you want to be able to configure all/some tools separately? I know that Anthony is no fan of libtool... are there more reservations about some
2007 Feb 20
9
[PATCH 0/8] Domain Groups: Introduction
...mple is to ensure that the group''s database server is always running before and after the group''s web server. Patch Application: - Patches should apply cleanly to cs 14006 - Apply patches in any order. ---- b/tools/examples/xmexample.grp | 20 + b/tools/libxc/xc_domain_group.c | 100 +++++++ b/tools/python/xen/xend/XendDomainGroup.py | 345 +++++++++++++++++++++++++ b/tools/python/xen/xend/XendDomainGroupInfo.py | 239 +++++++++++++++++ b/tools/python/xen/xm/group.py | 274 +++++++++++++++++++ b/xen/common/domgrp.c...
2008 May 21
7
Debugging the hypervisor
I am trying to debug the Xen hypervisor from a second computer over the serial port, but nothing seems to work. Using mercurial, I got xen-3.2-testing.hg. I followed the steps in crashdb.txt in the docs/misc/ folder: set debug=y in Config.mk, crash_debug=y in xen/Rules.mk I also added -fno-omit-frame-pointer to these file as well. I compiled with no errors and booted with minicom connected to