diff options
author | grehan <grehan@FreeBSD.org> | 2014-08-17 01:23:52 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2014-08-17 01:23:52 +0000 |
commit | 46d28d66fb3e9d4bfd5383e9b2ffa437115af6e6 (patch) | |
tree | 3eccc4cc10658396ede1ae036b060d6802d92bbc /usr.sbin/bhyveload | |
parent | c00f011a6ecb134c74a4cf17b0cae12586601eb4 (diff) | |
download | FreeBSD-src-46d28d66fb3e9d4bfd5383e9b2ffa437115af6e6.zip FreeBSD-src-46d28d66fb3e9d4bfd5383e9b2ffa437115af6e6.tar.gz |
MFC r267311, r267330, r267811, r267884
Turn on interrupt window exiting unconditionally when an ExtINT is being
injected into the guest.
Add helper functions to populate VM exit information for rendezvous and
astpending exits.
Provide APIs to directly get 'lowmem' and 'highmem' size directly.
Expose the amount of resident and wired memory from the guest's vmspace
Diffstat (limited to 'usr.sbin/bhyveload')
-rw-r--r-- | usr.sbin/bhyveload/bhyveload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bhyveload/bhyveload.c b/usr.sbin/bhyveload/bhyveload.c index 4442496..ff6b269 100644 --- a/usr.sbin/bhyveload/bhyveload.c +++ b/usr.sbin/bhyveload/bhyveload.c @@ -505,8 +505,8 @@ static void cb_getmem(void *arg, uint64_t *ret_lowmem, uint64_t *ret_highmem) { - vm_get_memory_seg(ctx, 0, ret_lowmem, NULL); - vm_get_memory_seg(ctx, 4 * GB, ret_highmem, NULL); + *ret_lowmem = vm_get_lowmem_size(ctx); + *ret_highmem = vm_get_highmem_size(ctx); } struct env { |