[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv2 for-2.4] block: Auto-generate node_names for e
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCHv2 for-2.4] block: Auto-generate node_names for each BDS entry |
Date: |
Tue, 23 Jun 2015 13:24:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Paolo Bonzini <address@hidden> 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.