Add QOM json update for ACPI generic port object to support HMAT enumeration.
Signed-off-by: Dave Jiang <dave.ji...@intel.com> --- qapi/machine.json | 3 ++- qapi/qom.json | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/qapi/machine.json b/qapi/machine.json index 068427b8feb8..39cb5bd713f6 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -479,7 +479,8 @@ '*cpus': ['uint16'], '*mem': 'size', '*memdev': 'str', - '*initiator': 'uint16' }} + '*initiator': 'uint16', + '*genport': 'str' }} ## # @NumaDistOptions: diff --git a/qapi/qom.json b/qapi/qom.json index 30e76653ad28..8f5faff49114 100644 --- a/qapi/qom.json +++ b/qapi/qom.json @@ -444,6 +444,16 @@ 'base': 'NetfilterProperties', 'data': { '*vnet_hdr_support': 'bool' } } +## +# @GenericPortDeviceProperties: +# +# Properties for generic port devices. +# +# Since: 7.2 +## +{ 'struct': 'GenericPortDeviceProperties', + 'data': {} } + ## # @InputBarrierProperties: # @@ -886,6 +896,7 @@ 'filter-redirector', 'filter-replay', 'filter-rewriter', + 'genport', 'input-barrier', { 'name': 'input-linux', 'if': 'CONFIG_LINUX' }, @@ -955,6 +966,7 @@ 'filter-redirector': 'FilterRedirectorProperties', 'filter-replay': 'NetfilterProperties', 'filter-rewriter': 'FilterRewriterProperties', + 'genport': 'GenericPortDeviceProperties', 'input-barrier': 'InputBarrierProperties', 'input-linux': { 'type': 'InputLinuxProperties', 'if': 'CONFIG_LINUX' },