[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/4] prevent Qemu from waking up needlessly
From: |
Stefano Stabellini |
Subject: |
[Qemu-devel] [PATCH 0/4] prevent Qemu from waking up needlessly |
Date: |
Tue, 15 Nov 2011 14:48:17 +0000 |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
Hi all,
this small patch series prevents Qemu from waking up needlessly on Xen
several times a second in order to check some timers.
The first two patches stop Qemu from emulating the RTC and the PIT on
Xen, that are both already emulated in the hypervisor and consume
precious cpu cycles because they need qemu-timers to work.
The third patch makes use of a new mechanism to receive buffered io
event notifications from Xen, so that Qemu doesn't need to check the
buffered io page for data 10 times a sec for the entire life of the VM.
Finally the last patch increases the default select timeout to 1h:
nothing should rely on the select timeout to be 1sec, so we might as
well increase it to 1h.
Stefano Stabellini (4):
xen: introduce mc146818rtcxen
xen: do not initialize the interval timer emulator
xen: introduce an event channel for buffered io event notifications
qemu_calculate_timeout: increase minimum timeout to 1h
hw/mc146818rtc.c | 36 +++++++++++++++++++++++++++++++++++-
hw/pc.c | 7 +++++--
qemu-timer.c | 2 +-
xen-all.c | 38 ++++++++++++++++++++++++++++++++------
4 files changed, 73 insertions(+), 10 deletions(-)
A git tree based on v1.0-rc2 is available here:
git://xenbits.xen.org/people/sstabellini/qemu-dm.git timers-1.0-rc2
Cheers,
Stefano
- [Qemu-devel] [PATCH 0/4] prevent Qemu from waking up needlessly,
Stefano Stabellini <=
- [Qemu-devel] [PATCH 2/4] xen: do not initialize the interval timer emulator, stefano.stabellini, 2011/11/15
- [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, stefano.stabellini, 2011/11/15
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Anthony Liguori, 2011/11/15
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Stefano Stabellini, 2011/11/15
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Stefano Stabellini, 2011/11/18
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Anthony Liguori, 2011/11/18
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Anthony Liguori, 2011/11/18
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Avi Kivity, 2011/11/20
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Anthony Liguori, 2011/11/21
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Stefano Stabellini, 2011/11/21