[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/4] [PATCH] introduce QEMUAccel and fill it wit
Re: [Qemu-devel] [PATCH 1/4] [PATCH] introduce QEMUAccel and fill it with interrupt specific driver
Fri, 02 May 2008 16:49:46 -0300
Thunderbird 126.96.36.199 (X11/20071115)
Jamie Lokier wrote:
Glauber Costa wrote:
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).
Just a little thought...
Maybe 'VCPU' would be a clearer name? QEMU provides its own VCPU, and
KQEMU+QEMU also provide one toegether. While KVM provides essentially
one or more whole VCPUs by itself and uses QEMU's drivers only doesn't
VCPU is rather confusing with the vcpus themselves. KVM, for instance,
has its own structures called "vcpu".
If it is preferred, however, we can name the structure VCPUOperations,
and change the function names that involves accel_yyy to vcpu_op_yyy()
What do you think?