summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2015-08-25 17:13:01 +0200
committerLaurent Vivier <lvivier@redhat.com>2015-09-25 14:56:05 +0200
commit0a4f9240f5b8b1bfe2d5c5c2748545bc23771bb4 (patch)
tree31b198f7c8c1d4bbdb0530278766a422c8a0bc2c /scripts/qapi.py
parent352c98e502893dee405d0bd8301264fca3b79179 (diff)
downloadfocaccia-qemu-0a4f9240f5b8b1bfe2d5c5c2748545bc23771bb4.tar.gz
focaccia-qemu-0a4f9240f5b8b1bfe2d5c5c2748545bc23771bb4.zip
hpet: remove muldiv64()
hpet defines a clock period in femtoseconds but
then converts it to nanoseconds to use the internal
timers.

We can define the period in nanoseconds and use it
directly, this allows to remove muldiv64().

We only need to convert the period to femtoseconds
to put it in internal hpet capability register.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions