Li, Xin B
2006-Nov-08 09:04 UTC
RE: [Xen-devel] [PATCH] [RESEND] remove redundent call tohvm_do_resume
> >On 25/10/06 13:03, "Li, Xin B" <xin.b.li@intel.com> wrote: > >> 1) use a hypercall to execute IOAPIC interrupt distribute logic, then >> return to Qemu > >That''s my plan. It''s led me down a path of some other cleanups >first though. >Keir since this is done :-), I think hvm_do_resume can be clean up more since HVM vcpu can''t be waked up by interrupts now. And you mentioned that we can batch interrupts notification hypercalls, so is it OK to batch IO events done notification hypercalls too? -Xin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Nov-08 09:31 UTC
Re: [Xen-devel] [PATCH] [RESEND] remove redundent call tohvm_do_resume
On 8/11/06 09:04, "Li, Xin B" <xin.b.li@intel.com> wrote:> since this is done :-), I think hvm_do_resume can be clean up more since > HVM vcpu can''t be waked up by interrupts now. > And you mentioned that we can batch interrupts notification hypercalls, > so is it OK to batch IO events done notification hypercalls too?Yes. The biggest win in qemu I suspect will be to remember the current state of each ''interrupt wire'' and only do a hypercall when the state changes. Feel free to generate patches to maintain that shaodw state, and to do batched multicalls. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel