qemu-e2k/hw
David Gibson 7980833619 spapr: Rework DRC name handling
DRC objects have a get_name method which returns the DRC name generated
when the DRC is created.  Replace that with a fixed spapr_drc_name()
function which generates the name on the fly from other information.  This
means:
  * We get rid of a method with only one implementation, and only local
    callers
  * We don't have to carry the name string around for the lifetime of the
    DRC
  * We use information added to the class structure to generate the name
    in standard format, so we don't need an explicit switch on drc type
    any more

We also eliminate the 'name' property; it's basically useless since the
only information in it can easily be deduced from other things.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Acked-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2017-06-08 14:38:27 +10:00
..
9pfs 9pfs: local: metadata file for the VirtFS root 2017-05-25 10:30:14 +02:00
acpi shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
adc
alpha memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
arm numa: make sure that all cpus have has_node_id set if numa is enabled 2017-06-05 14:59:08 -03:00
audio
block nvme: Add support for Controller Memory Buffers 2017-05-26 16:48:21 +02:00
bt be-hci: use backend functions 2017-06-02 11:33:53 +04:00
char -----BEGIN PGP SIGNATURE----- 2017-06-05 10:09:14 +01:00
core x86 and machine queue, 2017-06-05 2017-06-06 10:00:34 +01:00
cpu
cris
display Remove/replace sysemu/char.h inclusion 2017-06-02 11:33:52 +04:00
dma hw/dma: QOM'ify sun4m_iommu.c 2017-06-02 05:54:43 +01:00
gpio
i2c migration/next for 20170601 2017-06-02 14:07:53 +01:00
i386 numa: make sure that all cpus have has_node_id set if numa is enabled 2017-06-05 14:59:08 -03:00
ide
input shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
intc arm_gicv3: Fix ICC_BPR1 reset value when EL3 not implemented 2017-06-07 17:21:44 +01:00
ipack
ipmi char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
isa chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
lm32
m68k
mem
microblaze
mips chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
misc -----BEGIN PGP SIGNATURE----- 2017-06-05 10:09:14 +01:00
moxie
net -----BEGIN PGP SIGNATURE----- 2017-06-07 11:16:22 +01:00
nios2
nvram spapr_nvram: Check return value from blk_getlength() 2017-06-06 09:18:32 +10:00
openrisc
pci
pci-bridge
pci-host pci, virtio, vhost: fixes 2017-05-30 14:15:04 +01:00
pcmcia
ppc spapr: Rework DRC name handling 2017-06-08 14:38:27 +10:00
s390x migration: remove register_savevm() 2017-06-06 08:53:24 +10:00
scsi scsi/lsi53c895a: Remove unused lsi_mem_*() return value 2017-06-04 18:42:55 +03:00
sd
sh4 shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
smbios
sparc -----BEGIN PGP SIGNATURE----- 2017-06-05 10:09:14 +01:00
sparc64 hw/sparc: use ARRAY_SIZE() macro 2017-06-04 18:42:55 +03:00
ssi
timer altera_timer: fix incorrect memset 2017-06-04 18:42:55 +03:00
tpm
tricore
unicore32
usb char: make chr_fe_deinit() optionaly delete backend 2017-06-02 11:33:53 +04:00
vfio pci, virtio, vhost: fixes 2017-05-30 14:15:04 +01:00
virtio -----BEGIN PGP SIGNATURE----- 2017-06-05 10:09:14 +01:00
watchdog shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
xen chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
xenpv shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
xtensa target/xtensa: support output to chardev console 2017-06-06 02:40:48 -07:00
Makefile.objs