]> www.infradead.org Git - users/dwmw2/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>
Mon, 6 Nov 2023 10:03:45 +0000 (10:03 +0000)
commit5062f68295fa3243c8bdf8f458cfcd626b6b47b8
tree34b789f1b9148d250082fcb02875f0321472311a
parentc0aabbb856871ce1c4d1dc1d5481f7df29d74789
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