Paolo Bonzini <pbonz...@redhat.com> writes: > On 23/06/2015 11:00, Markus Armbruster wrote: >> My point is: the problem is more general than just block nodes. Doesn't >> mean we mustn't solve the special problem unless we solve the general >> problem. Does mean we should at least try to solve the general problem, >> and if we fail, try our best to solve the special problem in a way that >> fits into a general solution. >> >> Have you tried to solve or at least discuss the general problem? > > IIRC blockdevs are special because some of them (the backing files) are > opened without request from the user. > > The same happens for board-created devices, but we can just say they > aren't unpluggable.
(qemu) device_add usb-mouse ... time passes ... (qemu) device_del usb-mouse Device 'usb-mouse' not found (qemu) device_del usb-bus.0/usb-mouse Device 'usb-bus.0/usb-mouse' not found (qemu) device_del /machine/peripheral-anon/device[1] Device '/machine/peripheral-anon/device[1]' not found (qemu) I hate you, too unknown command: 'I' This has come up many times.