search for: hvm_domain_relinquish_resources

Displaying 8 results from an estimated 8 matches for "hvm_domain_relinquish_resources".

2008 Dec 02
0
[PATCH] Fix Xen panic with oprofile
...n.c Fri Aug 22 10:45:19 2008 +0100 +++ b/xen/arch/x86/domain.c Mon Dec 01 23:52:14 2008 -0800 @@ -1817,9 +1817,6 @@ int domain_relinquish_resources(struct d BUG(); } - /* Free page used by xen oprofile buffer. */ - free_xenoprof_pages(d); - if ( is_hvm_domain(d) ) hvm_domain_relinquish_resources(d); diff -r 18eff064c628 xen/common/domain.c --- a/xen/common/domain.c Fri Aug 22 10:45:19 2008 +0100 +++ b/xen/common/domain.c Mon Dec 01 23:52:14 2008 -0800 @@ -534,6 +534,9 @@ static void complete_domain_destroy(stru sched_destroy_domain(d); + /* Free page used by xen oprofile buffer....
2010 May 04
0
[PATCH] svm: support EFER.LMSLE for guests
...-05-04 13:23:02.000000000 +0200 @@ -136,6 +136,12 @@ struct hvm_function_table { extern struct hvm_function_table hvm_funcs; extern int hvm_enabled; +#ifdef __i386__ +# define cpu_has_lmsl 0 +#else +extern unsigned char cpu_has_lmsl; +#endif + int hvm_domain_initialise(struct domain *d); void hvm_domain_relinquish_resources(struct domain *d); void hvm_domain_destroy(struct domain *d); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2013 Apr 19
0
[PATCH] x86/HVM: move per-vendor function tables into .init.data
...s8 hvm_port80_allowed; -extern struct hvm_function_table *start_svm(void); -extern struct hvm_function_table *start_vmx(void); +extern const struct hvm_function_table *start_svm(void); +extern const struct hvm_function_table *start_vmx(void); int hvm_domain_initialise(struct domain *d); void hvm_domain_relinquish_resources(struct domain *d); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
2013 Aug 16
7
[PATCH v2] xen/console: buffer and show origin of guest PV writes
...d->arch.hvm_domain.io_handler->num_slot = 0; @@ -578,7 +573,6 @@ int hvm_domain_initialise(struct domain *d) fail0: xfree(d->arch.hvm_domain.io_handler); xfree(d->arch.hvm_domain.params); - xfree(d->arch.hvm_domain.pbuf); return rc; } @@ -603,7 +597,6 @@ void hvm_domain_relinquish_resources(struct domain *d) xfree(d->arch.hvm_domain.io_handler); xfree(d->arch.hvm_domain.params); - xfree(d->arch.hvm_domain.pbuf); } void hvm_domain_destroy(struct domain *d) diff --git a/xen/common/domain.c b/xen/common/domain.c index 6c264a5..daac2c9 100644 --- a/xen/common/d...
2013 Sep 09
0
[PATCH v3] xen/console: buffer and show origin of guest PV writes
...d->arch.hvm_domain.io_handler->num_slot = 0; @@ -578,7 +573,6 @@ int hvm_domain_initialise(struct domain *d) fail0: xfree(d->arch.hvm_domain.io_handler); xfree(d->arch.hvm_domain.params); - xfree(d->arch.hvm_domain.pbuf); return rc; } @@ -603,7 +597,6 @@ void hvm_domain_relinquish_resources(struct domain *d) xfree(d->arch.hvm_domain.io_handler); xfree(d->arch.hvm_domain.params); - xfree(d->arch.hvm_domain.pbuf); } void hvm_domain_destroy(struct domain *d) diff --git a/xen/common/domain.c b/xen/common/domain.c index 9390a22..5999779 100644 --- a/xen/common/d...
2012 Aug 23
2
[PATCH] nvmx: fix resource relinquish for nested VMX
...86/hvm/vmx/vvmx.h | 1 + 5 files changed, 18 insertions(+), 1 deletions(-) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index 7f8a025..0576a24 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -561,6 +561,9 @@ int hvm_domain_initialise(struct domain *d) void hvm_domain_relinquish_resources(struct domain *d) { + if ( hvm_funcs.nhvm_domain_relinquish_resources ) + hvm_funcs.nhvm_domain_relinquish_resources(d); + hvm_destroy_ioreq_page(d, &d->arch.hvm_domain.ioreq); hvm_destroy_ioreq_page(d, &d->arch.hvm_domain.buf_ioreq); diff --git a/xen/arch/x86/h...
2007 Aug 28
6
[PATCH] Make XEN_DOMCTL_destroydomain hypercall continuable.
...tic void vcpu_destroy_pagetables(stru v->arch.cr3 = 0; } -void domain_relinquish_resources(struct domain *d) +int domain_relinquish_resources(struct domain *d) { struct vcpu *v; @@ -1754,6 +1754,8 @@ void domain_relinquish_resources(struct if ( is_hvm_domain(d) ) hvm_domain_relinquish_resources(d); + + return 0; } 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_...
2013 Sep 23
57
[PATCH RFC v13 00/20] Introduce PVH domU support
This patch series is a reworking of a series developed by Mukesh Rathor at Oracle. The entirety of the design and development was done by him; I have only reworked, reorganized, and simplified things in a way that I think makes more sense. The vast majority of the credit for this effort therefore goes to him. This version is labelled v13 because it is based on his most recent series, v11.