Files
xen/tools
Dmitry Isaykin 2faeb4213d tools/xl: fix autoballoon regex
This regex is used for auto-balloon mode detection based on Xen command line.

The case of specifying a negative size was handled incorrectly.
>From misc/xen-command-line documentation:

    dom0_mem (x86)
    = List of ( min:<sz> | max:<sz> | <sz> )

    If a size is positive, it represents an absolute value.
    If a size is negative, it is subtracted from the total available memory.

Also add support for [tT] granularity suffix.
Also add support for memory fractions (i.e. '50%' or '1G+25%').

Signed-off-by: Dmitry Isaykin <isaikin-dmitry@yandex.ru>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
2021-10-12 14:40:14 +01:00
..
2021-09-13 13:38:36 +01:00
2021-02-01 15:18:36 +00:00
2021-07-07 13:07:46 +01:00
2021-10-12 14:40:14 +01:00
2021-02-10 15:30:59 +00:00
2021-01-18 18:58:20 +00:00