From: Keir Fraser Subject: Re: [PATCH] PIT acceleration enhancement Date: Wed, 22 Feb 2006 16:21:00 +0000 Message-ID: <13f3d4bd24bc437ef3b4c024af6bdc27@cl.cam.ac.uk> References: <20060222150758.GA7230@edwin-gen.ccr> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060222150758.GA7230@edwin-gen.ccr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Edwin Zhai Cc: xen-devel@lists.xensource.com, Ian Pratt List-Id: xen-devel@lists.xenproject.org On 22 Feb 2006, at 15:07, Edwin Zhai wrote: > PIT acceleration enhancement > add a new flag in HV to control whether re-arm the actimer and handle > guest PIT io, by this we can > * stop the actimer and io interception if guest change previous > periodic mode to other mode. > * safely handle reinitialization of periodic mode from guest > > Signed-off-by: Edwin Zhai > Signed-off-by: Yunhong Jiang > Signed-off-by: Eddie Dong Please can you just sync the PIT code with the current qemu tree and move the whole lot down into Xen? The current split between dom0 and xen is unnecessary and gross, and I hate this piecemeal ad hoc migration of PIT functionality from dom0 down to xen. Just move it all in one go. The only things that should need implementing in qemu-dm are devices whose backend cannot be implemented in Xen (net, disc, keyboard, mouse, ....) -- generally real peripheral devices. Platform devices like PITs and PICs should be done entirely in Xen. -- Keir