search for: domain_kil

Displaying 11 results from an estimated 11 matches for "domain_kil".

Did you mean: domain_kill
2007 Aug 28
6
[PATCH] Make XEN_DOMCTL_destroydomain hypercall continuable.
...; } void arch_dump_domain_info(struct domain *d) diff -r 58d131f1fb35 -r 2c9db26f1d0e xen/common/domain.c --- a/xen/common/domain.c Fri Aug 24 16:32:56 2007 +0100 +++ b/xen/common/domain.c Tue Aug 28 13:06:41 2007 +0900 @@ -298,26 +298,37 @@ struct domain *rcu_lock_domain_by_id(dom } -void domain_kill(struct domain *d) -{ - domain_pause(d); - - /* Already dying? Then bail. */ - if ( test_and_set_bool(d->is_dying) ) - { - domain_unpause(d); - return; - } - - evtchn_destroy(d); - gnttab_release_mappings(d); - domain_relinquish_resources(d); - put_domain...
2011 Jan 26
9
[PATCH]vtd: Fix for irq bind failure after PCI attaching 32 times
vtd: Fix for irq bind failure after PCI attaching 32 times Originally when detaching a PCI device, pirq_to_emuirq and pirq_to_irq are freed via hypercall do_physdev_op. Now in function pt_irq_destroy_bind_vtd, duplicated logic is added to free pirq_to_emuirq, but not pirq_to_irq. This causes do_physdev_op fail to free both emuirq and irq. After attaching a PCI device for 32 times, irq resources
2006 Aug 03
3
RE: [Patch][RFC] Support "xm dump" (is Re: Re: [Patch]Enable "sysrq c" handler for domU coredump)
Two things: 1. I''m not convinced ''xm crash'' is needed - ''xm destroy'' will do this (and if you want a dump, do ''xm dump'' followed by ''xm destroy'') 2. I don''t see the point of the --noreboot option on ''xm dump'' -- I think this command should simply live-dump the specified domain - as
2006 Mar 29
0
Assertion ''! IS_INVALID_M2P_ENTRY(gpfn)'' failed kills machine
...;] shadow_unpin+0xb2/0xb4 (XEN) [<ff14c484>] free_shadow_pages+0x3b9/0x43f (XEN) [<ff14f52e>] __shadow_mode_disable+0x2a/0x11c (XEN) [<ff12ab9a>] shadow_mode_disable+0x83/0x134 (XEN) [<ff12aac3>] domain_relinquish_resources+0x188/0x1dc (XEN) [<ff105317>] domain_kill+0x6b/0xa7 (XEN) [<ff1039df>] do_dom0_op+0x8d9/0x19d4 (XEN) [<ff180ac7>] hypercall+0x97/0xb7 (XEN) (XEN) (XEN) **************************************** (XEN) Panic on CPU 0: (XEN) CPU0 FATAL TRAP: vector = 6 (invalid opcode) (XEN) **************************************** (XEN) (XE...
2010 Nov 04
4
Bug#602378: xen-hypervisor-4.0-amd64: Live migration of Guests crashes and reboots
...50 (XEN) [<ffff82c48015fa1c>] __put_page_type+0x13c/0x2d0 (XEN) [<ffff82c48015d7b8>] get_page+0x28/0xf0 (XEN) [<ffff82c48014f338>] relinquish_memory+0x278/0x450 (XEN) [<ffff82c48014f989>] domain_relinquish_resources+0x1d9/0x270 (XEN) [<ffff82c48010611b>] domain_kill+0x7b/0x100 (XEN) [<ffff82c480103f54>] domctl_lock_acquire+0x44/0x70 (XEN) [<ffff82c48010465e>] do_domctl+0x4ae/0x1050 (XEN) [<ffff82c48014ab4d>] vcpu_kick+0x1d/0x80 (XEN) [<ffff82c48015d7b8>] get_page+0x28/0xf0 (XEN) [<ffff82c4801e9169>] syscall_enter+0...
2012 Nov 15
1
[RFC/PATCH v4] XENMEM_claim_pages (subop of existing) hypercall
...onehead ASSERTs [JBeulich] - Need not hold heaplock for decrease case too [JBeulich] - More descriptive failure return values [JBeulich] - Don''t allow a claim to exceed max_pages [IanC] - Subops must be in correct ifdef block in memory.c [keir] v1->v2: - Add reset-to-zero page claim in domain_kill [JBeulich] - Proper handling of struct passed to hypercall [JBeulich] - Fix alloc_heap_pages when a domain has a claim [JBeulich] - Need not hold heap_lock if !d->unclaimed_pages [keir] - Fix missed tot_pages call in donate_page [djm] - Remove domain_reset_unclaimed_pages; use set with zero [dj...
2006 Aug 03
2
RE: [Patch][RFC] Support "xm dump" (is Re: Re:[Patch]Enable "sysrq c" handler for domU coredump)
...m destroy'' will do this > >(and if you want > > a dump, do ''xm dump'' followed by ''xm destroy'') > > > What do you mean? > I think we cannot dump with "xm destroy" now. > "xm destory" only call the following domain_kill(). I mean that if you want to crash a domain and collect a dump, you can do ''xm dump'' followed by ''xm destroy'' or ''xm reboot'' -- there''s no need to add another command to do the combination. > >2. I don''t see the poin...
2012 Dec 12
2
[PATCH v7 1/2] xen: unify domain locking in domctl code
These two patches were originally part of the XSM series that I have posted, and remain prerequisites for that series. However, they are independent of the XSM changes and are a useful simplification regardless of the use of XSM. The Acked-bys on these patches were provided before rebasing them over the copyback changes in 26268:1b72138bddda, which had minor conflicts that I resolved. [PATCH
2013 Oct 16
4
[PATCH 1/7] xen: vNUMA support for PV guests
...| 1 + xen/include/xen/vnuma.h | 18 +++++++++++ 8 files changed, 175 insertions(+) create mode 100644 xen/include/xen/vnuma.h diff --git a/xen/common/domain.c b/xen/common/domain.c index 5999779..d084292 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -539,6 +539,7 @@ int domain_kill(struct domain *d) tmem_destroy(d->tmem); domain_set_outstanding_pages(d, 0); d->tmem = NULL; + domain_vnuma_destroy(&d->vnuma); /* fallthrough */ case DOMDYING_dying: rc = domain_relinquish_resources(d); @@ -1287,6 +1288,15 @@ i...
2013 Mar 21
27
[PATCH 0/4] xen/arm: guest SMP support
Hi all, this small patch series implement guest SMP support for ARM, using the ARM PSCI interface for secondary cpu bringup. Stefano Stabellini (4): xen/arm: basic PSCI support, implement cpu_on xen/arm: support for guest SGI xen/arm: support vcpu_op hypercalls xen: move VCPUOP_register_vcpu_info to common code xen/arch/arm/domain.c | 66 ++++++++++++++++++++++++
2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3: - mini-os configuration files moved into stubdom/ - mini-os extra console support now a config option - Fewer #ifdefs - grant table setup uses hypercall bounce - Xenstore stub domain syslog support re-enabled Changes from v2: - configuration support added to mini-os build system - add mini-os support for conditionally compiling frontends, xenbus -