[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 08/27] dimm: implement dimm device abstraction
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 08/27] dimm: implement dimm device abstraction |
Date: |
Mon, 25 Nov 2013 16:16:55 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
Il 25/11/2013 16:10, Igor Mammedov ha scritto:
> In initial implementation I had 'backend' property which was exactly
> just link<> to backend.
>
> but when adding dimm (CLI/Moinitor), I had to specify full QOM path
> to backend which looked like -device
> dimm,id=foo1,backend=/backend/memdev[foo2]
> which was ugly. So I moved to a currently used model by netdev
> and replaced it with 'memdev' property.
>
> But since then backend path has changed to /backend/memdev/foo
> so I guess it should be possible to use backend=foo for partial
> path resolving should yield object without full path.
Yes.
> The only downside would be backend instance name in global name space.
Two possibilities here:
(1) accept that -object has a global namespace
(2) in the aforementioned interface that helps command-line processing,
add a method that returns the place where the object should be added in
the QOM object tree. For memdevs this can return /backend/memdev.
Paolo
- Re: [Qemu-devel] [PATCH 02/27] rename pci_hotplug_fn to hotplug_fn and make it available for other devices, (continued)
- [Qemu-devel] [PATCH 09/27] dimm: map DimmDevice into DimBus provided address space, Igor Mammedov, 2013/11/20
- [Qemu-devel] [PATCH 10/27] dimm: add busy slot check and slot auto-allocation, Igor Mammedov, 2013/11/20
- [Qemu-devel] [PATCH 11/27] dimm: add busy address check and address auto-allocation, Igor Mammedov, 2013/11/20
- [Qemu-devel] [PATCH 13/27] acpi: memory hotplug ACPI hardware implementation, Igor Mammedov, 2013/11/20
- Re: [Qemu-devel] [PATCH 13/27] acpi: memory hotplug ACPI hardware implementation, Michael S. Tsirkin, 2013/11/21
- Re: [Qemu-devel] [PATCH 13/27] acpi: memory hotplug ACPI hardware implementation, Igor Mammedov, 2013/11/21
- Re: [Qemu-devel] [PATCH 13/27] acpi: memory hotplug ACPI hardware implementation, Michael S. Tsirkin, 2013/11/21
- Re: [Qemu-devel] [PATCH 13/27] acpi: memory hotplug ACPI hardware implementation, Igor Mammedov, 2013/11/22
- Re: [Qemu-devel] [PATCH 13/27] acpi: memory hotplug ACPI hardware implementation, Michael S. Tsirkin, 2013/11/24
- Re: [Qemu-devel] [PATCH 13/27] acpi: memory hotplug ACPI hardware implementation, Markus Armbruster, 2013/11/25