Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Williamson
Date: Wednesday, June 9, 2010 - 9:37 am

On Wed, 2010-06-09 at 13:18 +0100, Paul Brook wrote:

Ok, that seems fairly reasonable, so from a device pointer we can get
something like "/i440FX-pcihost/pci.0/_addr_04.0", then we can add
something like ":rom" or ":bar.0" to it via an extra string.

qemu_ram_alloc(DeviceState *dev, const char *info, size)

Does a function already exist to print out a qdev address path?  I don't
want to guess at something based on only this example.  Is there a
reserved/unused character we can use to separate the qdev device string
from the supplied name?  Thanks,

Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 0/6] RAM migration overhaul, Alex Williamson, (Tue Jun 8, 12:14 pm)
[RFC PATCH 1/6] qemu_ram_alloc: Remove duplicate code, Alex Williamson, (Tue Jun 8, 12:15 pm)
[RFC PATCH 2/6] ram_blocks: Convert to a QLIST, Alex Williamson, (Tue Jun 8, 12:15 pm)
[RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Tue Jun 8, 12:15 pm)
[RFC PATCH 5/6] savevm: Migrate RAM based on name/offset, Alex Williamson, (Tue Jun 8, 12:16 pm)
Re: [RFC PATCH 3/6] RAMBlock: Add a name field, Anthony Liguori, (Tue Jun 8, 1:07 pm)
Re: [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Tue Jun 8, 1:09 pm)
Re: [RFC PATCH 2/6] ram_blocks: Convert to a QLIST, Chris Wright, (Tue Jun 8, 2:26 pm)
Re: [RFC PATCH 3/6] RAMBlock: Add a name field, Chris Wright, (Tue Jun 8, 2:41 pm)
Re: [RFC PATCH 2/6] ram_blocks: Convert to a QLIST, Alex Williamson, (Tue Jun 8, 2:45 pm)
Re: [RFC PATCH 2/6] ram_blocks: Convert to a QLIST, Chris Wright, (Tue Jun 8, 2:51 pm)
Re: [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Tue Jun 8, 8:13 pm)
Re: [RFC PATCH 2/6] ram_blocks: Convert to a QLIST, Juan Quintela, (Wed Jun 9, 1:19 am)
Re: [RFC PATCH 3/6] RAMBlock: Add a name field, Avi Kivity, (Wed Jun 9, 4:55 am)
Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Wed Jun 9, 9:37 am)
Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Thu Jun 10, 7:33 am)
Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Thu Jun 10, 8:05 am)
Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Thu Jun 10, 8:21 am)
Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Fri Jun 11, 8:50 am)