* Should we move kvm_vcpu_ioctl_interrupt to arch?
@ 2007-11-28 7:49 Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA3911D-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Zhang, Xiantao @ 2007-11-28 7:49 UTC (permalink / raw)
To: avi-atKUWr5tajBWk0Htik3J/w
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
cotte-tA70FqPdS9bQT0dZR+AlfA, hollisb-r/Jw6+rmf7HQT0dZR+AlfA
Hi, Avi
Since IA64's irqchip is always in kernel side, so we don't need
kvm_vcpu_ioctl_interrupt for irq delivery. Should we moved it to arch?
Otherwise, we have to define two unnecessary fields(irq_summary and
irq_pending) for vcpu structure for compile pass.
Xiantao
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Should we move kvm_vcpu_ioctl_interrupt to arch?
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA3911D-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2007-11-28 8:08 ` Carsten Otte
[not found] ` <474D221B.9060508-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-11-28 9:58 ` Avi Kivity
1 sibling, 1 reply; 5+ messages in thread
From: Carsten Otte @ 2007-11-28 8:08 UTC (permalink / raw)
To: Zhang, Xiantao
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
hollisb-r/Jw6+rmf7HQT0dZR+AlfA, avi-atKUWr5tajBWk0Htik3J/w
Zhang, Xiantao wrote:
> Since IA64's irqchip is always in kernel side, so we don't need
> kvm_vcpu_ioctl_interrupt for irq delivery. Should we moved it to arch?
> Otherwise, we have to define two unnecessary fields(irq_summary and
> irq_pending) for vcpu structure for compile pass.
We don't have an irqchip at all. Nevertheless we have the need to
inject interrupts from userspace. How does the in-kernel irqchip get
triggered to present an interruption from userland?
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Should we move kvm_vcpu_ioctl_interrupt to arch?
[not found] ` <474D221B.9060508-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
@ 2007-11-28 8:17 ` Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA39142-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Zhang, Xiantao @ 2007-11-28 8:17 UTC (permalink / raw)
To: carsteno-tA70FqPdS9bQT0dZR+AlfA
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
hollisb-r/Jw6+rmf7HQT0dZR+AlfA, avi-atKUWr5tajBWk0Htik3J/w
Carsten Otte wrote:KVM_IRQ_LINE
> Zhang, Xiantao wrote:
>> Since IA64's irqchip is always in kernel side, so we don't need
>> kvm_vcpu_ioctl_interrupt for irq delivery. Should we moved it to
>> arch? Otherwise, we have to define two unnecessary
>> fields(irq_summary and irq_pending) for vcpu structure for compile
>> pass.
> We don't have an irqchip at all. Nevertheless we have the need to
> inject interrupts from userspace. How does the in-kernel irqchip get
> triggered to present an interruption from userland?
You mean you also need these two fields to hold irqs ?
If in-kernel irqchip works, all irqs from userland may transfer to
kernel through another path. You can reference KVM_IRQ_LINE vm ioctl for
that.
If you don't need these two fields as well, we can use CONFIG_X86 macro
to comment out them in common code instead.
Xiantao
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Should we move kvm_vcpu_ioctl_interrupt to arch?
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA39142-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2007-11-28 8:29 ` Carsten Otte
0 siblings, 0 replies; 5+ messages in thread
From: Carsten Otte @ 2007-11-28 8:29 UTC (permalink / raw)
To: Zhang, Xiantao
Cc: carsteno-tA70FqPdS9bQT0dZR+AlfA,
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
hollisb-r/Jw6+rmf7HQT0dZR+AlfA, avi-atKUWr5tajBWk0Htik3J/w
Zhang, Xiantao wrote:
> You mean you also need these two fields to hold irqs ?
No we don't. I think they can go to x86.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Should we move kvm_vcpu_ioctl_interrupt to arch?
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA3911D-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-28 8:08 ` Carsten Otte
@ 2007-11-28 9:58 ` Avi Kivity
1 sibling, 0 replies; 5+ messages in thread
From: Avi Kivity @ 2007-11-28 9:58 UTC (permalink / raw)
To: Zhang, Xiantao
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
cotte-tA70FqPdS9bQT0dZR+AlfA, hollisb-r/Jw6+rmf7HQT0dZR+AlfA
Zhang, Xiantao wrote:
> Hi, Avi
> Since IA64's irqchip is always in kernel side, so we don't need
> kvm_vcpu_ioctl_interrupt for irq delivery. Should we moved it to arch?
> Otherwise, we have to define two unnecessary fields(irq_summary and
> irq_pending) for vcpu structure for compile pass.
>
Yes, it can be x86 specific (or arch specific if somebody else wants it).
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-11-28 9:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-28 7:49 Should we move kvm_vcpu_ioctl_interrupt to arch? Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA3911D-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-28 8:08 ` Carsten Otte
[not found] ` <474D221B.9060508-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-11-28 8:17 ` Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA39142-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-28 8:29 ` Carsten Otte
2007-11-28 9:58 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox