qemu_ram_alloc: Add DeviceState and name parameters
commit1724f04985367b15751f11f4a9558f8736b2ab59
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 25 Jun 2010 17:09:35 +0000 (25 11:09 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 6 Jul 2010 15:36:28 +0000 (6 10:36 -0500)
tree8314db5ca99ed66015af03c2bf494177ae5e4460
parent01657c867d21bbabb1af22c6fe62ff80a2970446
qemu_ram_alloc: Add DeviceState and name parameters

These will be used to generate unique id strings for ramblocks.  The name
field is required, the device pointer is optional as most callers don't
have a device.  When there's no device or the device isn't a child of
a bus implementing BusInfo.get_dev_path, the name should be unique for
the platform.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
49 files changed:
cpu-common.h
exec.c
hw/an5206.c
hw/armv7m.c
hw/axis_dev88.c
hw/dummy_m68k.c
hw/etraxfs.c
hw/g364fb.c
hw/gumstix.c
hw/ide/via.c
hw/integratorcp.c
hw/mainstone.c
hw/mcf5208.c
hw/mips_fulong2e.c
hw/mips_jazz.c
hw/mips_malta.c
hw/mips_mipssim.c
hw/mips_r4k.c
hw/musicpal.c
hw/omap1.c
hw/omap2.c
hw/omap_sx1.c
hw/onenand.c
hw/palm.c
hw/pc.c
hw/pci.c
hw/petalogix_s3adsp1800_mmu.c
hw/ppc405_boards.c
hw/ppc405_uc.c
hw/ppc4xx_devs.c
hw/ppc_newworld.c
hw/ppc_oldworld.c
hw/ppc_prep.c
hw/ppce500_mpc8544ds.c
hw/pxa2xx.c
hw/r2d.c
hw/realview.c
hw/s390-virtio.c
hw/sm501.c
hw/spitz.c
hw/sun4m.c
hw/sun4u.c
hw/syborg.c
hw/tc6393xb.c
hw/tcx.c
hw/tosa.c
hw/versatilepb.c
hw/vga.c
hw/vmware_vga.c