* Userspace specific host irq?
@ 2009-01-08 6:56 Sheng Yang
0 siblings, 0 replies; only message in thread
From: Sheng Yang @ 2009-01-08 6:56 UTC (permalink / raw)
To: kvm; +Cc: Avi Kivity, Weidong Han, Amit Shah, Ben-Ami Yassour
Hi all
This piece of code puzzled me at all time:
virt/kvm/kvm_main.c:assigned_device_update_intx()
> if (airq->host_irq)
> adev->host_irq = airq->host_irq;
> else
> adev->host_irq = adev->dev->irq;
I don't know why we can let userspace use a different host_irq rather than the
real one.
I've queried Amit and Ben-Ami who are the original author about this question,
and they also think this piece of code is redundancy. Send the question to the
mailing list, if everyone agree, I would discard this one.
Thanks!
--
regards
Yang, Sheng
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-08 6:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-08 6:56 Userspace specific host irq? Sheng Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).