Displaying 12 results from an estimated 12 matches for "domain_shutdown".
2010 Sep 09
2
[PATCH]: add libxl python binding
...x ocaml binding due to libxl API change
- lot''s of tidy-ups too numerous to mention
Please consider and apply :)
-----8<---------------------------------------------------------------
Introduce python binding for libxl. The binding is not yet complete but
list_domains, domid_to_name, domain_shutdown and domain_destroy methods
are implemented and tested. These functions provide examples of the two
basic patterns that all future methods should follow.
About 5,000 lines of boilerplate is automatically generated to wrap and
export all relevant libxl structure definitions. There are a few places
w...
2007 Dec 10
0
[PATCH] avoid duplication of domain ID in messages
...(void)
/* ... Shut down the domain if not. */
if ( online_count == 0 )
{
- gdprintk(XENLOG_INFO, "DOM%d: all CPUs offline -- powering off.\n",
- d->domain_id);
+ gdprintk(XENLOG_INFO, "all CPUs offline -- powering off.\n");
domain_shutdown(d, SHUTDOWN_poweroff);
}
}
Index: 2007-12-10/xen/arch/x86/mm.c
===================================================================
--- 2007-12-10.orig/xen/arch/x86/mm.c 2007-12-05 17:13:57.000000000 +0100
+++ 2007-12-10/xen/arch/x86/mm.c 2007-12-10 09:22:53.000000000 +0100
@@ -2028,8 +2028,7...
2008 Aug 21
2
doubt on releasing domain pages
Hi,
I am trying to release domU pages from page_list and xenpage_list
after domU shutdown while retaining the rest of the domain information.
To achieve this in __domain_finalise_shutdown i call
domain_relinquish_resources. This is failing to release pages from
page_list for type PGT_l2_page_tables and crashing dom0.
To be specific, while testing on mini-os i saw that when
2012 Feb 08
18
[PATCH 0 of 4] Prune outdated/impossible preprocessor symbols, and update VIOAPIC emulation
Patch 1 removes CONFIG_SMP
Patch 2 removes separate smp_{,r,w}mb()s as a result of patch 1
Patch 4 removes __ia64__ defines from the x86 arch tree
Patch 3 is related to patch 4 and changes the VIOAPIC to emulate
version 0x20 as a performance gain. It preceeds Patch 4 so as to be
more clear about the functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
2007 Aug 28
6
[PATCH] Make XEN_DOMCTL_destroydomain hypercall continuable.
...= XEN_DOMCTL_destroydomain;
domctl.domain = (domid_t)domid;
- return do_domctl(xc_handle, &domctl);
+ for (;;) {
+ ret = do_domctl(xc_handle, &domctl);
+ if (ret && errno == EAGAIN)
+ continue;
+ break;
+ }
+ return ret;
}
int xc_domain_shutdown(int xc_handle,
diff -r 58d131f1fb35 -r 2c9db26f1d0e xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c Fri Aug 24 16:32:56 2007 +0100
+++ b/xen/arch/ia64/xen/domain.c Tue Aug 28 13:06:41 2007 +0900
@@ -936,7 +936,7 @@ static void relinquish_memory(struct dom
spin_unlock_recursive(&...
2006 Jan 29
8
Infinite loop shutting down xendomains
...xen/xend/Args.py", line 145, in __call__
return self.call_with_form_args(self.fn, fargs, xargs=xargs)
File "/usr/lib/python/xen/xend/Args.py", line 121, in
call_with_form_args
return fn(*params, **keys)
File "/usr/lib/python/xen/xend/XendDomain.py", line 477, in
domain_shutdown
val = xend.domain_shutdown(dominfo.id, reason, key)
File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 723, in
domain_shutdown
ctrl = self.domainCF.getController(dom)
File "/usr/lib/python/xen/xend/server/controller.py", line 323, in
getController
ctrl = s...
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
2012 May 24
11
[PATCH 0/3] XEN: fix vmx exception mistake
This series of patches fix the mistake for debug exception(#DB), overflow
exception(#OF) and INT3(#BP), INTn instruction emulation.
Introduce new function vmx_inject_sw_exception() which deliver the software
excetion, software interrupt and privileged software exception. Split hardware
exception as a seperate function(old function vmx_inject_hw_exception()).
Also Passed down intruction length
2012 Feb 20
18
[PATCH] libxl: fix compile error of libvirt
a, libxl_event.h is included in libxl.h. So, the former one also need to be installed.
b, define __XEN_TOOLS__ in libxl.h:
the head file "xen/sysctl.h" need check this macro.
It is the same way used by the xen libxc public headers(tools/libxc/xenctrl.h and tools/libxc/xenctrlosdep.h).
Signed-off-by: Bamvor Jian Zhang <bjzhang@suse.com>
diff -r 87218bd367be
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
2012 May 30
12
[PATCH v2 0/4] XEN: fix vmx exception mistake
Changes from v1:
- Define new struct hvm_trap to represent information of trap, include
instruction length.
- Renames hvm_inject_exception to hvm_inject_trap. Then define a couple of
wrappers around that function for existing callers, so that their parameter
lists actually *shrink*.
This series of patches fix the mistake for debug exception(#DB), overflow
exception(#OF) and INT3(#BP),