]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/XenBusDxe: Don't call DisconnectController in Stop()
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 1 Jul 2019 11:14:03 +0000 (12:14 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Mon, 1 Jul 2019 14:46:51 +0000 (16:46 +0200)
commit6a1f06fadb26c342205cf9edeba7e67e92e2135b
treed06336adc968071e34c95ff1271dfca2cf8b2fc4
parent64ef66ba8b4120f4958dc0275911e10eb927d311
OvmfPkg/XenBusDxe: Don't call DisconnectController in Stop()

Calling DisconnectController() on children isn't part of the job of
EFI_DRIVER_BINDING_PROTOCOL.Stop() as it only needs to deallocate
resources allocated in Start(). The disconnection will happen when
both DevicePath and XenBus protocols gets uninstalled.

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