x86/hvm: add domain_relinquish_resources() method
authorPaul Durrant <pdurrant@amazon.com>
Fri, 24 Jan 2020 15:30:58 +0000 (15:30 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 25 Jan 2020 18:43:32 +0000 (18:43 +0000)
commit10a6e9cb5d282ffbc0bbd68c935a9c659173e3d9
tree391ec155b902caf1a5604677fa6b654755be2098
parent55eb0187a65a16acfa52917d924caf76cdfd07f3
x86/hvm: add domain_relinquish_resources() method

There are two functions in hvm.c to deal with tear-down and a domain:
hvm_domain_relinquish_resources() and hvm_domain_destroy(). However, only
the latter has an associated method in 'hvm_funcs'. This patch adds
a method for the former.

A subsequent patch will define a VMX implementation.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c
xen/include/asm-x86/hvm/hvm.h