summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Alcantara <paulo@paulo.ac>2018-09-25 10:25:58 -0300
committerPaulo Alcantara <paulo@paulo.ac>2018-09-25 10:25:58 -0300
commit6ee91efb8572a3fa32dde494570c53699afe958e (patch)
treeb7ecab3f419b2d936b7eb6e9e007397e1533cffe
parent172ad6853da6795c3cedec5a549cb2becaa8f102 (diff)
downloadvmhtool-6ee91efb8572a3fa32dde494570c53699afe958e.tar.gz
vmhtool-6ee91efb8572a3fa32dde494570c53699afe958e.tar.xz
vmhtool-6ee91efb8572a3fa32dde494570c53699afe958e.zip
Replace '-localtime' with '-rtc base=localtime'
The '-localtime' option has been deprecated in newer QEMU versions. Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
-rwxr-xr-xvmhelper2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmhelper b/vmhelper
index dc64f0f..d3e4d2e 100755
--- a/vmhelper
+++ b/vmhelper
@@ -351,7 +351,7 @@ my %qemu_win_opts = (
cdrom => "-device scsi-cd,drive=cd,bootindex=1 -drive if=none,file=%s,format=raw,id=cd",
virtio => "-device ide-cd,drive=drv,bus=ahci.0 -drive if=none,file=%s,format=raw,id=drv",
usb => "-device usb-tablet",
- time => "-localtime",
+ time => "-rtc base=localtime",
net => "-device virtio-net-pci,netdev=net0,mac=%s -netdev type=tap,id=net0,ifname=%s,script=no,downscript=no",
gfx => "-vga qxl",
mon => "-device virtio-serial-pci -monitor stdio"