]> git.proxmox.com Git - mirror_qemu.git/commit
hw/xen: only remove peers of PCI NICs on unplug
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 17 Oct 2023 12:32:50 +0000 (13:32 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 7 Nov 2023 08:54:20 +0000 (08:54 +0000)
commit25511f3e8c8e0c5a888d1c5de7891f7d287d2dd3
treedf9e3cf435c0b66eef5c0cd268c3f31af32b443a
parenta72ccc7fc449748d79914439ddf5c12a6e9fd6a6
hw/xen: only remove peers of PCI NICs on unplug

When the Xen guest asks to unplug *emulated* NICs, it's kind of unhelpful
also to unplug the peer of the *Xen* PV NIC.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/xen/xen_platform.c