]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/XenBusDxe: Close XenIoProtocol openned by children
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 1 Jul 2019 10:50:12 +0000 (11:50 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Mon, 1 Jul 2019 14:46:46 +0000 (16:46 +0200)
commit64ef66ba8b4120f4958dc0275911e10eb927d311
treeff972bb776a88e2a3885f022f4a1650f6c1c48dd
parentbe0d1c17552d6a50d5321561810fb32871b54108
OvmfPkg/XenBusDxe: Close XenIoProtocol openned by children

In XenBusDxe, the XenBusAddDevice() opens the gXenIoProtocolGuid on
behalf of child controllers. It is never closed and prevents us from
uninstalling the protocol.

Close it where we stop all the children in XenBusDxe->Stop().

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190701105012.25758-1-anthony.perard@citrix.com>
OvmfPkg/XenBusDxe/XenBusDxe.c