Revert "qemu-char: Print strerror message on failure" and deps
The commit's purpose is laudable:
The only way for chardev drivers to communicate an error was to return a NULL pointer, which resulted in an error message that said that something went wrong, but not why....
jazz-led: use trace framework
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
jazz-led: convert to QOM
Some simplifications in I/O functions are possible becauseJazz LED only registers one byte of I/O.
hw/pc_sysfw: enable pc-sysfw as a qdev
Setup a pc-sysfw device type. It contains a singleproperty of 'rom_only' which is defaulted to enabled.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc_sysfw: support system flash memory with pflash
Flash can be enabled by calling pc_system_firmware_initwith the system_flash_enabled parameter being non-zero.If system_flash_enabled is zero, then the older qemurom creation method will be used.
If flash is enabled and a pflash image is found, then...
hw/pc_piix: remove is_default for pc-0.15
hw/pc_piix: add pc-1.1
pc_piix/pc_sysfw: enable flash by default
Now, the pc-sysfw:rom_only property will defaultto false which enables flash by default.
All pc types below pc-1.1 set rom_only to true.This prevents flash from being enabled on thesepc machine types.
For pc-1.1 rom_only will use the default (false),...
pci: add accessors to get/set registers by mask
pci_regs.h specifies many registers by mask +shifted register values.There's always some duplication when using such:for example to override device type, we would need:
pci_word_test_and_clear_mask(cap + PCI_EXP_FLAGS,...
pci: set memory type for memory behind the bridge
As we make upper bits in IO and prefetcheable memoryregisters writeable, we should declare supportfor 64 bit prefetcheable memory and 32 bit ioin the bridge.
This changes the default for apb, dec, but I'm guessing...
View revisions
Also available in: Atom