Hi,
there is no ovirt 4.7, the latest (and it could be the last ☹) version of ovirt is 4.5.
Probably you mean 4.4.7?
Probably enabling HPET is not needed so often, so I guess it is just a missing feature of
ovirt.
Anyway, replying on your question - it is wrong to modify Libvirt XML, the source of truth
is pretty much database in ovengine.
You might consider VDSM hook:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/...
(but I don't know a lot about VDSM hooks myself)
BR,
Konstantin
Am 02.06.23, 07:35 schrieb "ricardoot(a)gmail.com
<mailto:ricardoot@gmail.com>" <ricardoot(a)gmail.com
<mailto:ricardoot@gmail.com>>:
Hello community members,
I'm currently using oVirt 4.7 as my virtualization environment, and I'm facing an
issue with enabling the HPET (High Precision Event Timer) component in the XML
configuration file of virtual machine (VM).
Upon inspecting the XML file, I noticed that the `<timer name='hpet'
present='no'/>` line is missing, indicating that the HPET component is
disabled.
Here are the steps I have taken so far:
1. I verified that the VM's XML configuration file does not include the `<timer
name='hpet' present='yes'/>` line.
2. While the VM was powered on, I used the following command to edit the XML configuration
file:
```
virsh edit VM_NAME
```
I added the `<timer name='hpet' present='yes'/>` line to the XML
file. However, the changes did not persist after restarting the VM.
To provide additional information, on the host where oVirt is running, the available clock
sources can be viewed by executing the following command:
```
cat /sys/devices/system/clocksource/clocksource0/available_clocksource
```
The output shows the available clock sources, such as `tsc`, `hpet`, and `acpi_pm`.
To resolve the authentication issue with the `virsh` command, I created a user with
appropriate privileges using the following command:
```
sudo saslpasswd2 -a libvirt USERNAME
```
After creating the user, I was able to authenticate successfully with the `virsh` command
using the newly created credentials.
However, I'm unable to find an option to add the HPET parameter in the web console of
oVirt. It seems that the option to configure HPET is not available in the web console.
Has anyone else encountered a similar issue in oVirt 4.7? Could you please provide
guidance or suggest a solution to enable the HPET component in the XML configuration file
of a powered-off VM in oVirt 4.7? Any insights, experiences, or suggestions would be
greatly appreciated.
Thank you in advance for your assistance!
Best regards,
_______________________________________________
Users mailing list -- users(a)ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-leave(a)ovirt.org
<mailto:users-leave@ovirt.org>
Privacy Statement:
https://www.ovirt.org/privacy-policy.html
<
https://www.ovirt.org/privacy-policy.html>
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<
https://www.ovirt.org/community/about/community-guidelines/>
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org
<mailto:users@ovirt.org>/message/VGUARICFTRVHJAUEWGNRYLB374T2QJU3/