
11 May
2011
11 May
'11
12:31 a.m.
On 05/10/2011 04:18 PM, Jim Fehlig wrote:
Paolo Bonzini wrote:
libxl accepts hpet configuration in its domain info struct. Parse the domain definition's <clock> element in order to set the value.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> + for (i = 0; i < def->clock.ntimers; i++) { + if (def->clock.timers[i]->name == VIR_DOMAIN_TIMER_NAME_HPET && + def->clock.timers[i]->present == 1) { + b_info->u.hvm.acpi.hpet = 1;
That should be
b_info->u.hvm.hpet = 1;
ACK with that change.
Pushed. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org