Hi Jan,

> -----Original Message-----
> From: Jan Beulich <[email protected]>
> Sent: 2022年7月14日 17:58
> To: Wei Chen <[email protected]>
> Cc: nd <[email protected]>; Andrew Cooper <[email protected]>; Roger Pau
> Monné <[email protected]>; Wei Liu <[email protected]>; xen-
> [email protected]
> Subject: Re: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA
> status
> 
> >
> > How about update the table like this:
> > +------------+----------+----------------+----------------+------------+
> > |  original  |          |                |                |            |
> > +------------+----------+----------------+----------------+------------+
> > | numa_off   | true     | true           | true           | true       |
> > | acpi_numa  | 0        | 1              | -1             | x          |
> > | numa_fake  | x        | x              | x              | fake_nodes |
> > | enum state | numa_off | numa_off       | numa_off       | numa_off   |
> > +------------+----------+----------------+----------------+------------+
> >
> > +------------+----------------+------------+-------------+------------+
> > |  original  |                |            |             |            |
> > +------------+----------------+------------+-------------+------------+
> > | numa_off   | false          | false      | false       | false      |
> > | acpi_numa  | 0              | 1          | -1          | x          |
> > | numa_fake  | x              | x          | x           | fake_nodes |
> > | enum state | numa_fw_nodata | numa_fw_ok | numa_fw_bad | numa_emu   |
> > +------------+----------------+------------+-------------+------------+
> 
> Well, this makes the table complete, but it doesn't explain how you mean
> to fold the settings of the two command line options into one variable.
> 

No matter how many separate "numa=" parameters have been parsed from
Command line, the values of these original variables are determined
after parsing the command line. So the determined status can be mapped
to the new one variable from above table.

Thanks,
Wei Chen

> Jan

Reply via email to