qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

isa: isa_create(), isa_try_create() are now unused, drop

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200610053247.1583243-22-armbru@redhat.com>

-18
-16
hw/isa/isa-bus.c
··· 160 160 dev->isairq[1] = -1; 161 161 } 162 162 163 - ISADevice *isa_create(ISABus *bus, const char *name) 164 - { 165 - DeviceState *dev; 166 - 167 - dev = qdev_create(BUS(bus), name); 168 - return ISA_DEVICE(dev); 169 - } 170 - 171 - ISADevice *isa_try_create(ISABus *bus, const char *name) 172 - { 173 - DeviceState *dev; 174 - 175 - dev = qdev_try_create(BUS(bus), name); 176 - return ISA_DEVICE(dev); 177 - } 178 - 179 163 ISADevice *isa_new(const char *name) 180 164 { 181 165 return ISA_DEVICE(qdev_new(name));
-2
include/hw/isa/isa.h
··· 103 103 IsaDma *isa_get_dma(ISABus *bus, int nchan); 104 104 MemoryRegion *isa_address_space(ISADevice *dev); 105 105 MemoryRegion *isa_address_space_io(ISADevice *dev); 106 - ISADevice *isa_create(ISABus *bus, const char *name); 107 - ISADevice *isa_try_create(ISABus *bus, const char *name); 108 106 ISADevice *isa_new(const char *name); 109 107 ISADevice *isa_try_new(const char *name); 110 108 bool isa_realize_and_unref(ISADevice *dev, ISABus *bus, Error **errp);