diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-06-13 14:15:36 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-13 15:32:59 +0300 |
commit | ad0a655161a487007742b65d0b1b55aea8051cea (patch) | |
tree | d8dbc0438f62735164c23a9079eef79a9241dc20 /hw/hpet.c | |
parent | 27bb0b2d6f80f058bdb6fcc8fcdfa69b0c8a6d71 (diff) | |
download | qemu-ad0a655161a487007742b65d0b1b55aea8051cea.zip qemu-ad0a655161a487007742b65d0b1b55aea8051cea.tar.gz qemu-ad0a655161a487007742b65d0b1b55aea8051cea.tar.bz2 |
hpet: Silence warning on write to running main counter
Setting the main counter while the HPET is enabled may not be a good
idea of the guest, but it is supported and should, thus, not spam the
host console with warnings.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/hpet.c')
-rw-r--r-- | hw/hpet.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -520,7 +520,7 @@ static void hpet_ram_writel(void *opaque, target_phys_addr_t addr, break; case HPET_COUNTER: if (hpet_enabled()) { - printf("qemu: Writing counter while HPET enabled!\n"); + DPRINTF("qemu: Writing counter while HPET enabled!\n"); } s->hpet_counter = (s->hpet_counter & 0xffffffff00000000ULL) | value; @@ -529,7 +529,7 @@ static void hpet_ram_writel(void *opaque, target_phys_addr_t addr, break; case HPET_COUNTER + 4: if (hpet_enabled()) { - printf("qemu: Writing counter while HPET enabled!\n"); + DPRINTF("qemu: Writing counter while HPET enabled!\n"); } s->hpet_counter = (s->hpet_counter & 0xffffffffULL) | (((uint64_t)value) << 32); |