Re: [Xen-devel] Re: [PATCH 5/7] xen: Make event channel work with PV featured HVe

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stefano Stabellini
Date: Friday, February 12, 2010 - 4:59 am

On Thu, 11 Feb 2010, Sheng Yang wrote:

We wouldn't stick with LAPIC: the guest could still decide to use event
channels for all the vectors and LAPIC usage would be avoided, and it is
probably what is going to happen.



your approach needs:

- global enable of evtchns in place of legacy irqs on the linux side
- special translation irq -> evtchn in irq.c on the xen side
- special requests of evtchns in place of MSIs on the linux side
  (touching generic kernel code)
- special handling of evtchns in place of MSIs on the qemu/xen side

the last two points are particularly worrying.
My approach needs:

- per vector enable of evtchns on the linux side
- special delivery of evtchns for guest's vectors in vlapic.c on the xen side

I think it is worth giving it a try, given that it is simpler and it
doesn't need any change in the generic kernel code.

In any case it seems to me that the MSI\evtchn work should be part of
this patch series, because it is difficult to understand if your
approach makes sense or not without it. We should probably just wait for
it to be complete before proceeding further.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/7][v3] PV featured HVM(Hybrid) for Xen, Sheng Yang, (Mon Feb 8, 1:05 am)
[PATCH 1/7] xen: add support for hvm_op, Sheng Yang, (Mon Feb 8, 1:05 am)
[PATCH 2/7] xen: Import cpuid.h from Xen, Sheng Yang, (Mon Feb 8, 1:05 am)
[PATCH 4/7] xen: The entrance for PV featured HVM, Sheng Yang, (Mon Feb 8, 1:05 am)
[PATCH 7/7] xen: Enable grant table and xenbus, Sheng Yang, (Mon Feb 8, 1:05 am)
Re: [Xen-devel] [PATCH 5/7] xen: Make event channel work w ..., Stefano Stabellini, (Tue Feb 9, 5:51 am)
Re: [Xen-devel] Re: [PATCH 5/7] xen: Make event channel wo ..., Stefano Stabellini, (Tue Feb 9, 11:01 am)
Re: [Xen-devel] Re: [PATCH 5/7] xen: Make event channel wo ..., Stefano Stabellini, (Fri Feb 12, 4:59 am)