[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QEMU][PATCHv2 1/8] xen: when unplugging emulated devices skip virtio devices
On Thu, 26 Oct 2023, David Woodhouse wrote: > On Wed, 2023-10-25 at 14:24 -0700, Vikram Garhwal wrote: > > From: Juergen Gross <jgross@xxxxxxxx> > > > > Virtio devices should never be unplugged at boot time, as they are > > similar to pci passthrough devices. > > > > Signed-off-by: Juergen Gross <jgross@xxxxxxxx> > > Signed-off-by: Vikram Garhwal <vikram.garhwal@xxxxxxx> > > Hm, do your virtio NICs still actually *work* after that? Or are they > all disconnected from their netdev peers? > > I suspect you're going to want a variant of > https://lore.kernel.org/qemu-devel/20231025145042.627381-19-dwmw2@xxxxxxxxxxxxx/T/#u > which also leave the peers of your virtio devices intact? Hi David, device unplug is an x86-only thing (see the definition of xen_emul_unplug in Linux under arch/x86/xen/platform-pci-unplug.c) I suspect Vikram who is working on ARM hasn't tested it. Vikram, a simple option is to drop this patch if you don't need it.
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |