mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-26 23:36:51 +00:00
HV: remove unused vm num config
The VM number configuration in description.c is never used, remove it; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
2e32fba536
commit
bc62ab79c2
@ -7,8 +7,6 @@
|
|||||||
#include <hypervisor.h>
|
#include <hypervisor.h>
|
||||||
#include <e820.h>
|
#include <e820.h>
|
||||||
|
|
||||||
#define NUM_USER_VMS 2U
|
|
||||||
|
|
||||||
/* Number of CPUs in VM1 */
|
/* Number of CPUs in VM1 */
|
||||||
#define VM1_NUM_CPUS 2U
|
#define VM1_NUM_CPUS 2U
|
||||||
|
|
||||||
@ -151,8 +149,6 @@ static struct vpci_vdev_array vpci_vdev_array2 = {
|
|||||||
/* User Defined VM definitions */
|
/* User Defined VM definitions */
|
||||||
/*******************************/
|
/*******************************/
|
||||||
struct vm_config_arraies vm_config_partition = {
|
struct vm_config_arraies vm_config_partition = {
|
||||||
/* Number of user virtual machines */
|
|
||||||
.num_vm_config = NUM_USER_VMS,
|
|
||||||
|
|
||||||
/* Virtual Machine descriptions */
|
/* Virtual Machine descriptions */
|
||||||
.vm_config_array = {
|
.vm_config_array = {
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
#include <hypervisor.h>
|
#include <hypervisor.h>
|
||||||
#include <e820.h>
|
#include <e820.h>
|
||||||
|
|
||||||
#define NUM_USER_VMS 2U
|
|
||||||
|
|
||||||
/* Number of CPUs in VM1*/
|
/* Number of CPUs in VM1*/
|
||||||
#define VM1_NUM_CPUS 4U
|
#define VM1_NUM_CPUS 4U
|
||||||
|
|
||||||
@ -185,8 +183,6 @@ static struct vpci_vdev_array vpci_vdev_array2 = {
|
|||||||
/* User Defined VM definitions */
|
/* User Defined VM definitions */
|
||||||
/*******************************/
|
/*******************************/
|
||||||
struct vm_config_arraies vm_config_partition = {
|
struct vm_config_arraies vm_config_partition = {
|
||||||
/* Number of user virtual machines */
|
|
||||||
.num_vm_config = NUM_USER_VMS,
|
|
||||||
|
|
||||||
/* Virtual Machine descriptions */
|
/* Virtual Machine descriptions */
|
||||||
.vm_config_array = {
|
.vm_config_array = {
|
||||||
|
Loading…
Reference in New Issue
Block a user