Hi Lee,

On Thu, Sep 28, 2023 at 10:55 PM Lee Garrett <lgarrett@rocketjump.eu> wrote:
(resend, as it bounced on tyan-all@redhat.com)

Hi Ming,

On 27.09.23 14:46, Ming Xie wrote:
> Hi Richard,
>
> Sorry, I missed the email, I found out that the ova OS used by the customer is
> win11 uefi, so I tried to reproduce the error today using win11-uefi guest
>
> Steps:
> 1. Convert win10-efi with UTC-8 timezone, win11-non-efi with UTC-8 timezone,
> win11-efi with UTC-8 timezone, win11-efi with UTC+8 timezone, win2022-efi with
> UTC-8 timezone from VMware by v2v, then check the installation status after
> finishing conversion
>
>
> Summary the test result as below:
>
>                                              qemu-ga
>
>    Win10-efi-UTC-8              PASS
>    Win11-non-efi UTC-8       PASS
>    Win11-efi-UTC-8              FAIL(can't find qemu-ga log in c:\)
>    Win11-efi-UTC+8             FAIL(can't find qemu-ga log in c:\)
>    Win2022-efi-UTC-8          PASS
>
>    Based on the above results, I think this problem is only caused by win11-efi
> and has nothing to do with the time zone "UTC-8"

hmm, where are you exactly setting the timezone? Within the guest, the scheduled
task, or in the libvirt XML description?


The timezone is UTC-8(US&Canada Pacific Time) in third win11-efi and the clock is UTC after v2v conversion

 
The Windows 11 trial VM in question (downloaded from
https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/ ->
https://aka.ms/windev_VM_vmware) comes with the timezone within the VM set to
US/Pacific.

If I also set the RTC clock for the VM in the libvirt XML description after
conversion like this:
   <clock offset="timezone" timezone="US/Pacific">
     <timer name="rtc" tickpolicy="catchup"/>
     <timer name="pit" tickpolicy="delay"/>
     <timer name="hpet" present="no"/>
     <timer name="hypervclock" present="yes"/>
   </clock>

Then qemu-ga successfully gets installed after a 2 minute delay. If I leave the
default libvirt XML description at:

<clock offset="utc"/>

This method does not work in my win11-efi guest, the timezone in the guest is UTC-8(US&Canada Pacific Time) ) and changed the clock as above configurationrestarted the guest but qemu-ga still can‘t install successfully

Regards
Ming Xie