The cmdline_size already account for NUL terminator, you can see this in xen_boot_binary_load(). The same property is set correctly for Xen command line. Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>