qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 07/32] introduce QEMUAccel and fill it with inte


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH 07/32] introduce QEMUAccel and fill it with interrupt specific driver
Date: Thu, 23 Oct 2008 09:00:25 -0500
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Glauber Costa wrote:
From: Glauber Costa <address@hidden>

This patch introduces QEMUAccel, a placeholder for function pointers
that aims at helping qemu to abstract accelerators such as kqemu and
kvm (actually, the 'accelerator' name was proposed by avi kivity, since
he loves referring to kvm that way).

To begin with, the accelerator is given the opportunity to register a
cpu_interrupt function, to be called after the raw cpu_interrupt.
This has the side effect of, for the kqemu accelerator, calling 
kqemu_cpu_interrupt
everytime, which didn't use to happen. But looking at the code, this seems safe 
to me.

This patch applies on raw qemu.


See my previous bit of feedback. cpu_interrupt place to be hooking. It really ought to be an io_window or cpu_loop_exit hook or something like that.

Regards,

Anthony Liguori





reply via email to

[Prev in Thread] Current Thread [Next in Thread]