I didn't set the -rtc flag in the normal (UTC) case as that is the
default.
Reviewed-by: Laszlo Ersek <lersek(a)redhat.com>
---
output/output_qemu.ml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/output/output_qemu.ml b/output/output_qemu.ml
index 57b1e58da2..1a5f7f7147 100644
--- a/output/output_qemu.ml
+++ b/output/output_qemu.ml
@@ -158,6 +158,8 @@ module QEMU = struct
arg_list "-device" ["vmgenid"; sprintf "guid=%s"
genid; "id=vmgenid0"]
);
+ if not guestcaps.gcaps_rtc_utc then arg "-rtc" "base=localtime";
+
arg_list "-machine" (machine_str ::
(if smm then ["smm=on"] else []) @
["accel=kvm:tcg"]);
--
2.41.0