This function tries to set guest time to the given value.
The passed time must in UTC.
If date_time
is null, the time is reset using the domain's RTC.
Please note that some hypervisors may require guest agent to be configured and running in order for this function to work.
this |
the domain |
date_time |
the time to set as DateTime. |
flags |
Unused, pass 0. |
true on success, false otherwise. |