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
gc.c
hugetlb.c
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
mptbl.c
pm.c
pm_vuart.c dm: add allow_trigger_s5 mode to pm_notify_channel uart 2021-05-21 10:16:30 +08:00
post.c
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
vmmapi.c dm: Remove hardcode vm_config size from vm_get_config() 2021-07-15 11:53:54 +08:00
vrpmb.c