qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Question about piix3's PIRQC register set
@ 2018-12-05 15:13 Li Qiang
  2018-12-05 21:18 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Li Qiang @ 2018-12-05 15:13 UTC (permalink / raw)
  To: pbonzini@redhat.com, Alex Williamson; +Cc: qemu-devel@nongnu.org

Hello Paolo Alex, and all,

I have a question when reading the ‘vfio_intx_enable’ function.

There calls ‘pci_device_route_intx_to_irq’ to get the ‘irq number’ from 
a device intx info.

It is read from ‘piix3->dev.config[PIIX_PIRQC + pin];’ in ‘piix3_route_intx_pin_to_irq’.

Here my question when the piix3’s PIRQx route control registers is set and by who?
I mean when this ‘‘piix3->dev.config[PIIX_PIRQC + pin];’’ is set?

Once I think this is set by seabios. 
But seems it is not as this function is called in vfio_realize, the guest dones’t begin.

Thanks,
Li Qiang 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-05 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-05 15:13 [Qemu-devel] Question about piix3's PIRQC register set Li Qiang
2018-12-05 21:18 ` Paolo Bonzini

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).