Lines Matching +full:can +full:- +full:primary
1 // SPDX-License-Identifier: GPL-2.0-only
19 * KVM de-assigns based on eventfd *and* GSI, but requires unique eventfds when
20 * assigning (the API isn't symmetrical). Abuse the oddity and use a per-task
21 * GSI base to avoid false failures due to cross-task de-assign, i.e. so that
22 * the secondary doesn't de-assign the primary's eventfd and cause assign to
23 * unexpectedly succeed on the primary.
33 * The secondary task can encounter EBADF since the primary can close in juggle_eventfd_secondary()
34 * the eventfd at any time. And because the primary can recreate the in juggle_eventfd_secondary()
35 * eventfd, at the safe fd in the file table, the secondary can also in juggle_eventfd_secondary()
46 /* De-assign should succeed unless the eventfd was closed. */ in juggle_eventfd_secondary()
49 "De-assign should succeed unless the fd was closed"); in juggle_eventfd_secondary()
70 * assignments can fail, too. in juggle_eventfd_primary()
82 * De-assign should always succeed, even if the corresponding assign in juggle_eventfd_primary()
98 * Create "full" VMs, as KVM_IRQFD requires an in-kernel IRQ chip. Also in main()
119 * De-assign all eventfds, along with multiple eventfds that were never in main()
120 * assigned. KVM's ABI is that de-assign is allowed so long as the in main()