On Mon, Jun 09, 2025 at 09:50:24AM +0530, Trupti wrote: > Package: libvirt-daemon > Severity: important > Tags: trixie ppc64el > > Version Info: > > Host/Guest OS: Debian Trixie/sid (powerpc64le) > Kernel: 6.12.27-powerpc64le-64k > QEMU: 10.0.0 > Libvirt: 11.3.0 > > Issue: > > Live-attaching or detaching a device with virsh on a Debian Trixie (ppc64le) > guest does not take effect immediately. While the host command succeeds, the > guest OS only recognizes the change after a full reboot. This defeats the > purpose of the hotplug feature. > > Steps to reproduce: > 1) Start a guest with Debian-Trixie OS same as Host > 2) Attach an interface to guest using below virsh attach-device command > 'virsh attach-interface --live vm bridge --source virbr0' > 3) The command executes successfully and give output as "Interface attached > successfully" > 4) But the interface is not immediately attached to guest. When the guest is > rebooted , then the > interface is seen on the guest. > 5) Same is happening with virsh detach-interface command. A guest reboot is > required to remove > the interface from guest
What's the output of attach-interface if you pass the --print-xml flag to it? What does the full live XML look like before and after the operation? Honestly this sounds like a guest OS issue rather than a bug in libvirt. Is any message produced in dmesg/journal as a consequence of the hotplug operation? -- Andrea Bolognani <[email protected]> Resistance is futile, you will be garbage collected.
signature.asc
Description: PGP signature

