]> xenbits.xensource.com Git - xen.git/commit
vpci/header: cope with devices not having vpci allocated
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 17 Jul 2023 06:32:34 +0000 (08:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 17 Jul 2023 06:32:34 +0000 (08:32 +0200)
commitc15221e45c0ffafdbb9faafd1a07ffb054b2cde3
tree2b9712bed567d6e8d172287892bbecdca94cd217
parentc9c8b20ebcb5a75b40da34f541ff226cac70dd22
vpci/header: cope with devices not having vpci allocated

When traversing the list of pci devices assigned to a domain cope with
some of them not having the vpci struct allocated. It should be
possible for the hardware domain to have read-only devices assigned
that are not handled by vPCI, such support will be added by further
patches.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: ee045f3a4a6dddb09f5aa96a50cceaae97d3245f
master date: 2023-05-26 09:18:37 +0200
xen/drivers/vpci/header.c