acrn-hypervisor/devicemodel/core
Shuo A Liu b218544872 dm: Remove hardcode vm_config size from vm_get_config()
vm_config size can be calced by platform_info.sw.max_vms *
platform_info.sw.vm_config_size.

Change vm_get_config() to call IOCTL ACRN_IOCTL_GET_PLATFORM_INFO
twice, first to get platform_info, second to get the vm_configs
content.

Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
2021-07-15 11:53:54 +08:00
..
console.c DM: remove unused function console_ptr_event 2019-05-24 11:51:00 +08:00
gc.c dm: gc: clean up assert 2019-07-03 09:40:15 +08:00
hugetlb.c dm: Fix wrong hugetlb_lv_max 2020-07-08 15:32:15 +08:00
inout.c hv: dm: Use new I/O request data structures 2021-07-15 11:53:54 +08:00
main.c hv: dm: Use new I/O request data structures 2021-07-15 11:53:54 +08:00
mem.c hv: dm: Use new I/O request data structures 2021-07-15 11:53:54 +08:00
mevent.c build: fix dm and acrn_crashlog build error with gcc-11 2021-05-19 11:38:18 +08:00
monitor.c dm: core: Convert print output to acrn-dm logger 2020-09-10 09:33:25 +08:00
mptbl.c dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
pm.c acrn-dm: add some logs for vm state transition 2020-05-15 10:06:23 +08:00
pm_vuart.c dm: add allow_trigger_s5 mode to pm_notify_channel uart 2021-05-21 10:16:30 +08:00
post.c dm: refine 'assert' in inout.c and post.c 2019-06-20 08:55:44 +08:00
sw_load_bzimage.c hv: dm: Use new ioctl ACRN_IOCTL_SET_VCPU_REGS 2021-07-15 11:53:54 +08:00
sw_load_common.c dm: fix minor comment in acrn_create_e820_table 2021-05-17 15:34:57 +08:00
sw_load_elf.c hv: dm: Use new ioctl ACRN_IOCTL_SET_VCPU_REGS 2021-07-15 11:53:54 +08:00
sw_load_ovmf.c hv: dm: Use new ioctl ACRN_IOCTL_SET_VCPU_REGS 2021-07-15 11:53:54 +08:00
sw_load_vsbl.c hv: dm: Use new ioctl ACRN_IOCTL_SET_VCPU_REGS 2021-07-15 11:53:54 +08:00
timer.c dm:replace perror with pr_err 2020-01-08 13:37:57 +08:00
vmmapi.c dm: Remove hardcode vm_config size from vm_get_config() 2021-07-15 11:53:54 +08:00
vrpmb.c dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00