grackle_pci: QOM'ify Grackle PCI host bridge
Introduce type constant. Introduce cast macro to drop dummy busdev fieldused with FROM_SYSBUS() that would've broken SYS_BUS_DEVICE().Avoid accessing parent fields directly.
Drop no-op reset function.
Signed-off-by: Andreas Färber <afaerber@suse.de>...
gt64xxx: QOM'ify GT64120 PCI host bridge
Introduce type constant. Introduce cast macro to drop dummy busdev fieldused with FROM_SYSBUS() macro that would've broken SYS_BUS_DEVICE().Avoid accessing DeviceState indirectly through PCIHostState.
pci: Make host bridge TypeInfos const
During the QOM migration they were amended with further info but this isno longer the case. All static TypeInfos can be const these days.
Signed-off-by: Andreas Färber <afaerber@suse.de>Acked-by: Michael S. Tsirkin <mst@redhat.com>...
alpha_typhoon: QOM'ify Typhoon PCI host bridge
Introduce type constant and cast macro. Don't access DeviceStateor PCIHostState indirectly through parent fields.
bonito: QOM'ify Bonito PCI host bridge
Introduce type constant. Avoid accessing DeviceState or SysBusDeviceindirectly through PCIHostState field.
Drop global state by passing BonitoState as opaque and adding the IRQsand a pointer to PCIBonitoState to its state....
dec_pci: QOM'ify DEC 21154 PCI-PCI bridge
Introduce type constant. Introduce cast macro and drop dummy busdevfield used with FROM_SYSBUS() that would've broken SYS_BUS_DEVICE().Avoid accessing parent fields directly.
virtio-blk: hide VIRTIO_BLK_F_CONFIG_WCE from old machine types
QEMU has a policy of keeping a stable guest device ABI. When new guest devicefeatures are introduced they must not change hardware info seen by existingguests. This is important because operating systems or applications may...
i82378: Remove bogus MMIO coalescing
This MMIO area is an entry gate to legacy PC ISA devices, addressed viaPIO over there. Quite a few of the PIO ports have side effects on accesslike starting/stopping timers that must be executed properly ordered/wrt the CPU. So we have to remove the coalescing mark....
pc: Fix RTC CMOS info on RAM for ram_size < 1MiB
pc_cmos_init() always claims 640KiB base memory, and ram_size - 1MiBextended memory. The latter can underflow to "lots of extendedmemory". Fix both, and clean up some.
Note: SeaBIOS currently requires 1MiB of RAM, and doesn't check...
scsi: fix warning
hw/scsi-bus.c:758: warning: ‘xfer’ may be used uninitialized in thisfunction
Isn't true, but older gcc versions (for example 4.1 as shipped in rhel5)are not clever enougth to figure, so sprinkle in a default: line to makethem happy....
View revisions
Also available in: Atom