On 1/16/26 18:21, Roman Bogorodskiy wrote: > Currently, bhyve does not support UTC clock offset on ARM64. > However, when <clock offset= > is not specified in the domain XML, > UTC offset is used by default. That results in an incorrect > configuration for the bhyve ARM64 guests by default. > > Workaround is to extend bhyveDomainDefPostParse() to fall back > to the LOCALTIME clock offset when UTC clock offset is not > supported by bhyve. > > Signed-off-by: Roman Bogorodskiy <[email protected]> > --- > src/bhyve/bhyve_domain.c | 6 ++++++ > tests/bhyvexml2argvdata/aarch64/bhyvexml2argv-base.args | 1 - > .../bhyvexml2argvdata/aarch64/bhyvexml2argv-bootloader.args | 1 - > tests/bhyvexml2argvdata/aarch64/bhyvexml2argv-console.args | 1 - > tests/bhyvexml2argvtest.c | 2 ++ > tests/bhyvexml2xmloutdata/aarch64/bhyvexml2xmlout-base.xml | 2 +- > .../aarch64/bhyvexml2xmlout-bootloader.xml | 2 +- > .../bhyvexml2xmloutdata/aarch64/bhyvexml2xmlout-console.xml | 2 +- > tests/bhyvexml2xmltest.c | 4 +++- > 9 files changed, 14 insertions(+), 7 deletions(-)
Reviewed-by: Michal Privoznik <[email protected]> Michal
