diff --git a/misc/config_tools/schema/checks/rdt_support.xsd b/misc/config_tools/schema/checks/rdt_support.xsd new file mode 100644 index 000000000..fb073e7ab --- /dev/null +++ b/misc/config_tools/schema/checks/rdt_support.xsd @@ -0,0 +1,86 @@ + + + + + + vCAT can be enabled only when RDT_ENABLED is 'y' and CDP_ENABLED is 'n' + + + + + + Per VM virtual_cat_support can be set only when RDT_ENABLED is 'y' and VCAT_ENABLED is 'y'. + + + + + + For a vCAT VM, number of clos/vcpu_clos elements must be greater than 1! + + + + + + For a vCAT VM, vcpu_clos cannot be set to CLOSID 0, CLOSID 0 is reserved to be used by hypervisor + + + + + + For a vCAT VM, each clos/vcpu_clos must be less than L2/L3 COS_MAX! + + + + + + For a vCAT VM, its clos/vcpu_clos elements cannot contain duplicate values + + + + + + if RDT_ENABLED is 'y', there should not be any CLOS IDs overlap between a vCAT VM and any other VMs + + + + + + Service VM cannot use LAPIC passthrough unless GUEST_FLAG_NVMX_ENABLED is set. + + + + + + diff --git a/misc/config_tools/schema/config.xsd b/misc/config_tools/schema/config.xsd index 4bf20ad6c..06f4c7f12 100644 --- a/misc/config_tools/schema/config.xsd +++ b/misc/config_tools/schema/config.xsd @@ -153,7 +153,6 @@ Machine Check Error on Page Size Change. - @@ -440,12 +439,6 @@ its ``id`` attribute. - - - - Service VM cannot use LAPIC passthrough unless nested_virtualization_support is set. - - @@ -469,79 +462,6 @@ to launch post-launched User VMs. - - - - vCAT can be enabled only when RDT_ENABLED is 'y' and CDP_ENABLED is 'n' - - - - - - Per VM virtual_cat_support can be set only when RDT_ENABLED is 'y' and VCAT_ENABLED is 'y'. - - - - - - For a vCAT VM, number of clos/vcpu_clos elements must be greater than 1! - - - - - - For a vCAT VM, vcpu_clos cannot be set to CLOSID 0, CLOSID 0 is reserved to be used by hypervisor - - - - - - For a vCAT VM, each clos/vcpu_clos must be less than L2/L3 COS_MAX! - - - - - - For a vCAT VM, its clos/vcpu_clos elements cannot contain duplicate values - - - - - - if RDT_ENABLED is 'y', there should not be any CLOS IDs overlap between a vCAT VM and any other VMs - - -