[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is p
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is provided. |
Date: |
Fri, 10 Jan 2014 12:54:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Andreas Färber <address@hidden> writes:
> Am 10.01.2014 10:09, schrieb Markus Armbruster:
>> Commands taking a device ID could be extended to take a path in the QOM
>> graph instead of an ID.
>>
>> In the human monitor, it could perhaps work like this:
>>
>> IDs consist of letters, digits, '-', '.', '_', starting with a
>> letter (see id_wellformed())
>>
>> If the argument doesn't contain '/', interpret it as ID.
>> Else, if it starts with '/', interpret it as QOM path anchored at
>> "the root" (which needs to be defined).
>> Else, split it at the first '/', and interpret the prefix as ID, and
>> the suffix as as QOM path anchored at whatever has that ID.
>>
>> Requires means to inspect the QOM graph to be usable.
>
> qom-list is available for that purpose today.
We'd need something in the human monitor, too.
- [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is provided., Hani Benhabiles, 2014/01/07
- Re: [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is provided., Markus Armbruster, 2014/01/08
- Re: [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is provided., Hani Benhabiles, 2014/01/08
- Re: [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is provided., Paolo Bonzini, 2014/01/08
- Re: [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is provided., Hani Benhabiles, 2014/01/09
- Re: [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is provided., Paolo Bonzini, 2014/01/09
- Re: [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is provided., Markus Armbruster, 2014/01/10
- Re: [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is provided., Andreas Färber, 2014/01/10
- Re: [Qemu-devel] [PATCH] qdev: Assign a default device ID when none is provided.,
Markus Armbruster <=