]> git.proxmox.com Git - mirror_qemu.git/commit
hpet: Make number of timers configurable
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 13 Jun 2010 12:15:44 +0000 (14:15 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Jun 2010 12:33:01 +0000 (15:33 +0300)
commitbe4b44c59bcee4b3d63bfef137c0ac7d68ef514b
treedb3825f2e725273609df6346f6d6a496d03d97df
parentcea1adfda7cca55788fbe55107e5e7943d374065
hpet: Make number of timers configurable

One HPET block supports up to 32 timers. Allow to instantiate more than
the recommended and implemented minimum of 3. The number is configured
via the qdev property "timers". It is also saved/restored so that it
need not match between migration peers.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/hpet.c
hw/hpet_emul.h