Re: [PATCH v1] s390/vfio-ap: Signal eventfd when guest AP configuration is changed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On 1/17/25 3:30 AM, Harald Freudenberger wrote:
On 2025-01-16 17:46, Anthony Krowiak wrote:

Rorie, this is to inform listeners on the host of the guest.
The guest itself already sees this "inside" with uevents triggered
by the AP bus code.

Do you have a consumer for these events?

There is a series of QEMU patches that register a notification handler for this event. When that handler gets called, it generates and queues a CRW to the guest indicating there is event information pending which will cause the AP bus driver
to get notified of the AP configuration change via its ap_bus_cfg_chg
notifier call.

The QEMU series can be seen at:
https://lore.kernel.org/qemu-devel/7171c479-5cb4-4748-ba37-da4cf2fac35b@xxxxxxxxxxxxx/T/


Kind regards,
A Krowiak

Ok, so this way the AP bus of the guest finally get's it's config change callback invoked :-)

Yes, and it happens pretty quickly; at least in the test environment.






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux