[libvirt] [PATCH 2/2] libxl: support enabling the HPET

Eric Blake eblake at redhat.com
Tue May 10 22:37:50 UTC 2011


On 05/10/2011 04:31 PM, Eric Blake wrote:
> 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 at 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.

Aaargh.  I botched things, and did 'git push' prior to 'git commit -a
--amend'.  Rather than be a revisionist and rewind history, I've just
made this a two-part commit.  Sorry.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110510/342b68a3/attachment-0001.sig>


More information about the libvir-list mailing list