Displaying 4 results from an estimated 4 matches for "relinquish_memory".
2008 Aug 21
2
doubt on releasing domain pages
...t 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
domain_relinquish_resources calls relinquish_memory for
PGT_l2_page_tables, this eventually calls free_l2_table which fails at
map_domain_page() by returning an invalid virtual address, due to which
dom0 crashes immediately.
When the same sequence of functions works perfectly fine during domU
destruction, why not during shutdown. Am I missing anyth...
2007 Aug 28
6
[PATCH] Make XEN_DOMCTL_destroydomain hypercall continuable.
...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(&d->page_alloc_lock);
}
-void domain_relinquish_resources(struct domain *d)
+int domain_relinquish_resources(struct domain *d)
{
/* Relinquish guest resources for VT-i domain. */
if (d->vcpu[0] && VMX_DOMAIN(d->vcpu[0]))
@@ -9...
2008 Mar 18
1
Compilation failure
...root/randy/vtd-stage/xen/common/memory.c:172: undefined reference to
`__bitop_bad_size''
/root/randy/vtd-stage/xen/common/memory.c:172: relocation truncated to
fit: R_X86_64_PC32 against undefined symbol `__bitop_bad_size''
/root/randy/vtd-stage/xen/arch/x86/built_in.o: In function
`relinquish_memory'':
/root/randy/vtd-stage/xen/arch/x86/domain.c:1705: undefined reference to
`__bitop_bad_size''
/root/randy/vtd-stage/xen/arch/x86/domain.c:1705: relocation truncated
to fit: R_X86_64_PC32 against undefined symbol `__bitop_bad_size''
/root/randy/vtd-stage/xen/arch/x86/built_...
2010 Nov 04
4
Bug#602378: xen-hypervisor-4.0-amd64: Live migration of Guests crashes and reboots
...hadows+0xa5/0xb60
(XEN) [<ffff82c4801602c7>] put_page_from_l4e+0x57/0xd0
(XEN) [<ffff82c48015f477>] free_page_type+0x1e7/0x650
(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) [<ffff82c48014a...