qemu-e2k/hw
Markus Armbruster 1f51470d04 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_.

It attempts to achieve it by changing the interface to return 0/-errno
and update qemu_chr_open_opts() to use strerror() to display a more
helpful error message.  Unfortunately, it has serious flaws:

1. Backends "socket" and "udp" return bogus error codes, because
qemu_chr_open_socket() and qemu_chr_open_udp() assume that
unix_listen_opts(), unix_connect_opts(), inet_listen_opts(),
inet_connect_opts() and inet_dgram_opts() fail with errno set
appropriately.  That assumption is wrong, and the commit turns
unspecific error messages into misleading error messages.  For
instance:

    $ qemu-system-x86_64 -nodefaults -vnc :0 -chardev socket,id=bar,host=xxx
    inet_connect: host and/or port not specified
    chardev: opening backend "socket" failed: No such file or directory

ENOENT is what happens to be in my errno when the backend returns
-errno.  Let's put ERANGE there just for giggles:

    $ qemu-system-x86_64 -nodefaults -vnc :0 -chardev socket,id=bar,host=xxx -drive if=none,iops=99999999999999999999
    inet_connect: host and/or port not specified
    chardev: opening backend "socket" failed: Numerical result out of range

Worse: when errno happens to be zero, return -errno erroneously
signals success, and qemu_chr_new_from_opts() dies dereferencing
uninitialized chr.  I observe this with "-serial unix:".

2. All qemu_chr_open_opts() knows about the error is an errno error
code.  That's simply not enough for a decent message.  For instance,
when inet_dgram() can't resolve the parameter host, which errno code
should it use?  What if it can't resolve parameter localaddr?

Clue: many backends already report errors in their open methods.
Let's revert the flawed commit along with its dependencies, and fix up
the silent error paths instead.

This reverts commit 6e1db57b2a.

Conflicts:

	console.c
	hw/baum.c
	qemu-char.c

This reverts commit aad04cd024.

The parts of commit db418a0a "Add stdio char device on windows" that
depend on the reverted change fixed up.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-02-24 09:06:56 -06:00
..
9pfs qom: Unify type registration 2012-02-15 09:39:21 -06:00
ide Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-02-17 06:48:47 -06:00
kvm i8259: Do not clear level-triggered lines in IRR on init 2012-02-17 09:58:22 -06:00
9p.h
a9mpcore.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
a15mpcore.c hw/a15mpcore.c: Add Cortex-A15 private peripheral model 2012-02-17 11:13:17 +00:00
ac97.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
acpi_piix4.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
acpi.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
acpi.h
adb.c
adb.h
adlib.c Restore consistent formatting 2012-02-07 22:11:04 +04:00
ads7846.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
alpha_dp264.c i8254: Pass alternative IRQ output object on initialization 2012-02-17 09:58:22 -06:00
alpha_pci.c vga: improve VGA logic 2012-01-22 07:27:06 +00:00
alpha_sys.h alpha: give ISA bus to ISA methods 2011-12-20 15:44:30 -06:00
alpha_typhoon.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
an5206.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
apb_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
apb_pci.h
apic_common.c Merge remote-tracking branch 'qemu-kvm/uq/master' into staging 2012-02-15 18:41:28 -06:00
apic_internal.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
apic.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
apic.h apic: Factor out base class for KVM reuse 2012-01-19 12:14:40 +01:00
apm.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
apm.h
applesmc.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
arm11mpcore.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
arm_boot.c arm_boot: Pass base address of GIC CPU interface, not whole GIC 2012-02-17 11:13:26 +00:00
arm_gic.c arm: make the number of GIC interrupts configurable 2012-01-17 10:54:07 +00:00
arm_l2x0.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
arm_mptimer.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
arm_pic.c
arm_sysctl.c hw/arm_sysctl: Drop legacy init function 2012-02-17 11:13:36 +00:00
arm_timer.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
arm-misc.h arm_boot: Pass base address of GIC CPU interface, not whole GIC 2012-02-17 11:13:26 +00:00
armv7m_nvic.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
armv7m.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
audiodev.h audio: remove unused parameter isa_pic 2011-12-20 15:44:31 -06:00
axis_dev88.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
baum.c Revert "qemu-char: Print strerror message on failure" and deps 2012-02-24 09:06:56 -06:00
baum.h Revert "qemu-char: Print strerror message on failure" and deps 2012-02-24 09:06:56 -06:00
bitbang_i2c.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
bitbang_i2c.h
blizzard_template.h
blizzard.c
boards.h vl: make find_default_machine externally visible 2012-02-22 09:02:17 -06:00
bonito.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
bt-hci-csr.c fix spelling in hw sub directory 2011-12-06 09:56:41 +00:00
bt-hci.c
bt-hid.c
bt-l2cap.c
bt-sdp.c
bt.c
bt.h
cbus.c
ccid-card-emulated.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ccid-card-passthru.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ccid.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
cdrom.c
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga_template.h vga: move Cirrus VGA template to its own file 2012-02-04 12:45:10 +00:00
cirrus_vga.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
collie.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
cris_pic_cpu.c
cris-boot.c
cris-boot.h
cs4231.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
cs4231a.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
cuda.c
debugcon.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
dec_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
dec_pci.h
device-hotplug.c Add generic drive hotplugging 2012-01-04 02:48:14 +01:00
devices.h
dma.c dma: Avoid reentrancy in DMA transfer handlers 2011-11-04 14:23:58 +01:00
dp8393x.c Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2011-12-05 08:44:33 -06:00
ds1225y.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ds1338.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
dummy_m68k.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
e1000_hw.h fix spelling in hw sub directory 2011-12-06 09:56:41 +00:00
e1000.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ecc.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
eccmemctl.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
eepro100.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
eeprom93xx.c
eeprom93xx.h
elf_ops.h elf: Improve symbol lookup (optimize, fix for bsd-user) 2012-01-10 18:40:09 +01:00
empty_slot.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
empty_slot.h
es1370.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
escc.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
escc.h
esp.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
esp.h
etraxfs_dma.c etraxfs-dma: Model metadata and eop 2012-01-12 13:54:17 +01:00
etraxfs_dma.h etraxfs-dma: Model metadata and eop 2012-01-12 13:54:17 +01:00
etraxfs_eth.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
etraxfs_pic.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
etraxfs_ser.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
etraxfs_timer.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
etraxfs.h
exynos4_boards.c arm_boot: Pass base address of GIC CPU interface, not whole GIC 2012-02-17 11:13:26 +00:00
exynos4210_combiner.c ARM: exynos4210: IRQ subsystem support. 2012-02-17 11:12:57 +00:00
exynos4210_fimd.c Exynos4210: added display controller implementation 2012-02-17 11:13:14 +00:00
exynos4210_gic.c ARM: exynos4210: IRQ subsystem support. 2012-02-17 11:12:57 +00:00
exynos4210_mct.c ARM: exynos4210: MCT support. 2012-02-17 11:13:09 +00:00
exynos4210_pmu.c ARM: exynos4210: basic Power Management Unit implementation 2012-02-17 11:13:07 +00:00
exynos4210_pwm.c ARM: exynos4210: PWM support. 2012-02-17 11:13:05 +00:00
exynos4210_uart.c ARM: exynos4210: UART support 2012-02-17 11:13:02 +00:00
exynos4210.c Exynos4210: added display controller implementation 2012-02-17 11:13:14 +00:00
exynos4210.h ARM: exynos4210: UART support 2012-02-17 11:13:02 +00:00
fdc.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
fdc.h isa: give ISABus/ISADevice to isa_create(), isa_bus_irqs() and isa_get_irq() functions 2011-12-20 15:44:30 -06:00
firmware_abi.h
flash.h
fmopl.c fmopl: Fix typo in function name 2012-02-10 10:44:52 +00:00
fmopl.h fmopl: Fix spelling in code and comments 2011-12-14 11:08:20 +00:00
framebuffer.c Fix memory dirty getting API change fallout 2012-02-11 10:39:13 +00:00
framebuffer.h framebuffer: drop use of cpu_get_physical_page_desc() 2011-12-20 14:14:07 +02:00
fw_cfg.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
fw_cfg.h
g364fb.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
grackle_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
grlib_apbuart.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
grlib_gptimer.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
grlib_irqmp.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
grlib.h
gt64xxx.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
gumstix.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
gus.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
gusemu_hal.c fix spelling in hw sub directory 2011-12-06 09:56:41 +00:00
gusemu_mixer.c
gusemu.h hw: Fix spelling in comments 2011-12-14 11:09:12 +00:00
gustate.h
hda-audio.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
heathrow_pic.c
hid.c
hid.h vmstate: extract declarations out of hw/hw.h 2012-01-13 10:20:51 -06:00
highbank.c Remove unnecessary includes of primecell.h 2012-02-17 11:13:42 +00:00
hpet_emul.h i8254: Rework & fix interaction with HPET in legacy mode 2012-02-17 09:58:22 -06:00
hpet.c i8254: Rework & fix interaction with HPET in legacy mode 2012-02-17 09:58:22 -06:00
hw.h vmstate: extract declarations out of hw/hw.h 2012-01-13 10:20:51 -06:00
i2c.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
i2c.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
i8254.c i8254: Factor out pit_get_channel_info 2012-02-17 09:58:22 -06:00
i8254.h i8254: Factor out pit_get_channel_info 2012-02-17 09:58:22 -06:00
i8259_common.c i8259: Do not clear level-triggered lines in IRR on init 2012-02-17 09:58:22 -06:00
i8259_internal.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
i8259.c i8259: Do not clear level-triggered lines in IRR on init 2012-02-17 09:58:22 -06:00
i82374.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
i82378.c pcspk: Convert to qdev 2012-02-17 09:58:22 -06:00
ide.h isa: give ISABus/ISADevice to isa_create(), isa_bus_irqs() and isa_get_irq() functions 2011-12-20 15:44:30 -06:00
integratorcp.c Remove unnecessary includes of primecell.h 2012-02-17 11:13:42 +00:00
intel-hda-defs.h
intel-hda.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
intel-hda.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
ioapic_common.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ioapic_internal.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
ioapic.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ioapic.h
ioh3420.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ioh3420.h
irq.c
irq.h
isa_mmio.c
isa-bus.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
isa.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
ivshmem.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
jazz_led.c jazz-led: convert to QOM 2012-02-22 09:02:19 -06:00
lan9118.c hw/lan9118: Add basic 16-bit mode support. 2012-02-17 11:13:11 +00:00
lance.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
leon3.c ptimer: move declarations to ptimer.h 2012-01-13 10:20:50 -06:00
lm32_boards.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
lm32_hwsetup.h
lm32_juart.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
lm32_juart.h
lm32_pic.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
lm32_pic.h
lm32_sys.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
lm32_timer.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
lm32_uart.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
lm32.h
lm832x.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
lm4549.c hw: Fix spelling (licenced->licensed) 2011-12-14 11:08:23 +00:00
lm4549.h hw: Fix spelling (licenced->licensed) 2011-12-14 11:08:23 +00:00
loader.c load_image_targphys() should enforce the max size 2012-01-21 05:17:01 +01:00
loader.h loader: Fix read_targphys() to behave when read() fails 2011-11-19 11:23:42 +00:00
lsi53c895a.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
m48t59.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
mac_dbdma.c
mac_dbdma.h
mac_nvram.c
macio.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
mainstone.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
marvell_88w8618_audio.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
max111x.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
max7310.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
mc146818rtc.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
mc146818rtc.h isa: give ISABus/ISADevice to isa_create(), isa_bus_irqs() and isa_get_irq() functions 2011-12-20 15:44:30 -06:00
mcf5206.c ptimer: move declarations to ptimer.h 2012-01-13 10:20:50 -06:00
mcf5208.c ptimer: move declarations to ptimer.h 2012-01-13 10:20:50 -06:00
mcf_fec.c mcf_fec: convert to memory API 2011-11-28 15:38:42 +02:00
mcf_intc.c mcf_intc: convert to memory API 2011-11-28 15:38:42 +02:00
mcf_uart.c mcf_uart: convert to memory API 2011-11-28 15:38:42 +02:00
mcf.h mcf_intc: convert to memory API 2011-11-28 15:38:42 +02:00
microblaze_pic_cpu.c
microblaze_pic_cpu.h
milkymist-ac97.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
milkymist-hpdmc.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
milkymist-hw.h
milkymist-memcard.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
milkymist-minimac2.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
milkymist-pfpu.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
milkymist-softusb.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
milkymist-sysctl.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
milkymist-tmu2.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
milkymist-uart.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
milkymist-vgafb_template.h lm32: Fix mixup of uint32 and uint32_t 2012-01-19 08:16:41 +00:00
milkymist-vgafb.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
milkymist.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
mips_addr.c
mips_cpudevs.h
mips_fulong2e.c i8254: Pass alternative IRQ output object on initialization 2012-02-17 09:58:22 -06:00
mips_int.c
mips_jazz.c jazz-led: convert to QOM 2012-02-22 09:02:19 -06:00
mips_malta.c i8254: Pass alternative IRQ output object on initialization 2012-02-17 09:58:22 -06:00
mips_mipssim.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
mips_r4k.c i8254: Pass alternative IRQ output object on initialization 2012-02-17 09:58:22 -06:00
mips_timer.c
mips-bios.h
mips.h jazz-led: convert to QOM 2012-02-22 09:02:19 -06:00
mipsnet.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
mpc8544_guts.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
msi.c msi: Generalize msix_supported to msi_supported 2012-01-19 12:14:39 +01:00
msi.h msi: Generalize msix_supported to msi_supported 2012-01-19 12:14:39 +01:00
msix.c msi: Generalize msix_supported to msi_supported 2012-01-19 12:14:39 +01:00
msix.h msi: Generalize msix_supported to msi_supported 2012-01-19 12:14:39 +01:00
msmouse.c Revert "qemu-char: Print strerror message on failure" and deps 2012-02-24 09:06:56 -06:00
msmouse.h Revert "qemu-char: Print strerror message on failure" and deps 2012-02-24 09:06:56 -06:00
mst_fpga.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
multiboot.c
multiboot.h
musicpal.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
nand.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ne2000-isa.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ne2000.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ne2000.h
nseries.c nseries: attach monitor powerdown request to menelaus 2012-02-17 07:42:22 +01:00
nvram.h isa: give ISABus/ISADevice to isa_create(), isa_bus_irqs() and isa_get_irq() functions 2011-12-20 15:44:30 -06:00
omap1.c Merge remote-tracking branch 'pmaydell/arm-devs.for-upstream' into staging 2012-01-04 10:06:25 -06:00
omap2.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
omap_clk.c
omap_dma.c omap_dma: convert to memory API 2011-11-28 15:38:41 +02:00
omap_dss.c omap_dss: correct chip[1] index in RFBI_READ/RFBI_STATUS 2012-01-13 10:36:59 +00:00
omap_gpio.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
omap_gpmc.c hw/omap_gpmc: Fix region map/unmap when configuring prefetch engine 2012-01-04 13:41:42 +00:00
omap_gptimer.c omap_l4: rename omap_l4_attach_region() to omap_l4_attach() 2011-11-28 15:40:49 +02:00
omap_i2c.c omap_l4: rename omap_l4_attach_region() to omap_l4_attach() 2011-11-28 15:40:49 +02:00
omap_intc.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
omap_l4.c omap_l4: rename omap_l4_attach_region() to omap_l4_attach() 2011-11-28 15:40:49 +02:00
omap_lcd_template.h
omap_lcdc.c framebuffer: drop use of cpu_get_physical_page_desc() 2011-12-20 14:14:07 +02:00
omap_mmc.c omap_l4: rename omap_l4_attach_region() to omap_l4_attach() 2011-11-28 15:40:49 +02:00
omap_sdrc.c omap_sdrc: convert to memory API 2011-11-28 15:38:41 +02:00
omap_spi.c omap_l4: rename omap_l4_attach_region() to omap_l4_attach() 2011-11-28 15:40:49 +02:00
omap_sx1.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
omap_synctimer.c omap_l4: rename omap_l4_attach_region() to omap_l4_attach() 2011-11-28 15:40:49 +02:00
omap_tap.c omap_l4: rename omap_l4_attach_region() to omap_l4_attach() 2011-11-28 15:40:49 +02:00
omap_uart.c omap_l4: rename omap_l4_attach_region() to omap_l4_attach() 2011-11-28 15:40:49 +02:00
omap.h hw/omap1.c: Separate dpll_ctl from omap_mpu_state 2012-01-04 13:41:42 +00:00
onenand.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
opencores_eth.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
openpic.c openpic: remove dead code to make a PCI device version 2012-01-27 10:28:30 -06:00
openpic.h openpic: remove dead code to make a PCI device version 2012-01-27 10:28:30 -06:00
palm.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
parallel.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pc_piix.c pc_piix/pc_sysfw: enable flash by default 2012-02-22 09:02:18 -06:00
pc_sysfw.c pc_piix/pc_sysfw: enable flash by default 2012-02-22 09:02:18 -06:00
pc.c hw/pc: move rom init to pc_sysfw.c 2012-02-22 09:02:17 -06:00
pc.h hw/pc: move rom init to pc_sysfw.c 2012-02-22 09:02:17 -06:00
pci_bridge.c pci: convert to QEMU Object Model 2012-01-27 10:50:50 -06:00
pci_bridge.h
pci_host.c
pci_host.h prep_pci: convert to memory API 2011-11-24 18:32:03 +02:00
pci_ids.h prep: Add i82378 PCI-to-ISA bridge emulation 2012-01-20 00:27:12 +01:00
pci_internals.h
pci_regs.h
pci-hotplug.c Add generic drive hotplugging 2012-01-04 02:48:14 +01:00
pci-stub.c pcie_aer: adjust do_pcie_aer_inejct_error -> do_pcie_aer_inject_error 2011-12-06 09:56:41 +00:00
pci.c pci: set memory type for memory behind the bridge 2012-02-22 09:02:18 -06:00
pci.h pci: add accessors to get/set registers by mask 2012-02-22 09:02:18 -06:00
pcie_aer.c pcie_aer: adjust do_pcie_aer_inejct_error -> do_pcie_aer_inject_error 2011-12-06 09:56:41 +00:00
pcie_aer.h
pcie_host.c
pcie_host.h
pcie_port.c
pcie_port.h
pcie_regs.h
pcie.c pci: convert to QEMU Object Model 2012-01-27 10:50:50 -06:00
pcie.h vmstate: extract declarations out of hw/hw.h 2012-01-13 10:20:51 -06:00
pckbd.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pcmcia.h
pcnet-pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pcnet.c qdev: don't access name through info 2012-01-27 10:50:39 -06:00
pcnet.h
pcspk.c i8254: Factor out pit_get_channel_info 2012-02-17 09:58:22 -06:00
pcspk.h pcspk: Convert to qdev 2012-02-17 09:58:22 -06:00
petalogix_ml605_mmu.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
petalogix_s3adsp1800_mmu.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
pflash_cfi01.c pflash_cfi01/02: support read-only pflash devices 2012-02-22 09:02:17 -06:00
pflash_cfi02.c pflash_cfi01/02: support read-only pflash devices 2012-02-22 09:02:17 -06:00
piix4.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
piix_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pixel_ops.h
pl011.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pl022.c Remove unnecessary includes of primecell.h 2012-02-17 11:13:42 +00:00
pl031.c hw/pl031: Actually raise interrupt on timer expiry 2012-02-17 11:13:45 +00:00
pl041.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pl041.h hw: Fix spelling (licenced->licensed) 2011-12-14 11:08:23 +00:00
pl041.hx hw: Fix spelling (licenced->licensed) 2011-12-14 11:08:23 +00:00
pl050.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pl061.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pl080.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pl110_template.h
pl110.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pl181.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pl190.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pm_smbus.c
pm_smbus.h
ppc4xx_devs.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
ppc4xx_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ppc4xx.h
ppc405_boards.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
ppc405_uc.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
ppc405.h
ppc440_bamboo.c PPC: Bamboo: Integrate SoC instatiation, use qdev for PCI 2012-01-21 05:17:01 +01:00
ppc_booke.c
ppc_mac.h
ppc_newworld.c openpic: remove dead code to make a PCI device version 2012-01-27 10:28:30 -06:00
ppc_oldworld.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
ppc_prep.c qom: move properties from qdev to object 2012-02-03 10:41:08 -06:00
ppc-viosrp.h
ppc.c fix typo: delete redundant semicolon 2011-12-06 09:56:41 +00:00
ppc.h
ppce500_mpc8544ds.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
ppce500_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ppce500_spin.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
prep_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
primecell.h hw/primecell.h: Remove obsolete pl080_init() declaration 2012-02-17 11:13:39 +00:00
ps2.c
ps2.h
ptimer.c ptimer: move declarations to ptimer.h 2012-01-13 10:20:50 -06:00
ptimer.h vmstate: extract declarations out of hw/hw.h 2012-01-13 10:20:51 -06:00
pxa2xx_dma.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pxa2xx_gpio.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pxa2xx_keypad.c pxa2xx_keypad: fix unbalanced parenthesis. 2012-01-17 02:14:42 +01:00
pxa2xx_lcd.c pxa2xx_lcd: SRAM is valid location for the framebuffer 2012-02-17 08:25:43 +01:00
pxa2xx_mmci.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
pxa2xx_pcmcia.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
pxa2xx_pic.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pxa2xx_template.h
pxa2xx_timer.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pxa2xx.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
pxa.h pxa2xx_lcd: convert to memory API 2011-11-24 18:31:59 +02:00
qdev-addr.c qdev: remove unused fields from PropertyInfo 2012-02-07 13:52:42 +01:00
qdev-addr.h
qdev-monitor.c device_add: don't add a /peripheral link until init is complete 2012-02-15 09:39:21 -06:00
qdev-properties.c qdev: drop unnecessary parse/print methods 2012-02-22 08:31:25 +01:00
qdev.c qdev: Fix qdev_try_create() semantics 2012-02-17 09:58:21 -06:00
qdev.h qdev: remove unused fields from PropertyInfo 2012-02-07 13:52:42 +01:00
qxl-logger.c
qxl-render.c qxl: don't render stuff when the vm is stopped. 2012-02-21 10:36:04 +01:00
qxl.c qxl: add user-friendly bar size properties 2012-02-21 10:36:05 +01:00
qxl.h qxl: add user-friendly bar size properties 2012-02-21 10:36:05 +01:00
r2d.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
rc4030.c rc4030: convert to memory API 2011-11-24 18:31:59 +02:00
realview_gic.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
realview.c arm_boot: Pass base address of GIC CPU interface, not whole GIC 2012-02-17 11:13:26 +00:00
rtl8139.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
s390-virtio-bus.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
s390-virtio-bus.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
s390-virtio.c vga: improve VGA logic 2012-01-22 07:27:06 +00:00
sb16.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sbi.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
scsi-bus.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
scsi-defs.h scsi: update list of commands 2011-11-18 13:57:16 +01:00
scsi-disk.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
scsi-generic.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
scsi.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
sd.c sd: Remember to reset .expecting_acmd on reset. 2011-12-21 05:04:21 +01:00
sd.h
serial.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sga.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sh7750_regnames.c
sh7750_regnames.h
sh7750_regs.h fix spelling in hw sub directory 2011-12-06 09:56:41 +00:00
sh7750.c sh_serial: convert to memory API 2011-11-24 18:32:03 +02:00
sh_intc.c sh_intc: convert interrupt controller to memory API 2011-11-24 18:32:03 +02:00
sh_intc.h sh_intc: convert interrupt controller to memory API 2011-11-24 18:32:03 +02:00
sh_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sh_serial.c sh_serial: convert to memory API 2011-11-24 18:32:03 +02:00
sh_timer.c ptimer: move declarations to ptimer.h 2012-01-13 10:20:50 -06:00
sh.h sh_serial: convert to memory API 2011-11-24 18:32:03 +02:00
sharpsl.h
shix.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
slavio_intctl.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
slavio_misc.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
slavio_timer.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sm501_template.h
sm501.c Fix memory dirty getting API change fallout 2012-02-11 10:39:13 +00:00
smbios.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
smbios.h
smbus_eeprom.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
smbus.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
smbus.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
smc91c111.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
soc_dma.c
soc_dma.h
spapr_hcall.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
spapr_llan.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
spapr_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
spapr_pci.h
spapr_rtas.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
spapr_vio.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
spapr_vio.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
spapr_vscsi.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
spapr_vty.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
spapr.c vga: improve VGA logic 2012-01-22 07:27:06 +00:00
spapr.h pseries: FDT NUMA extensions to support multi-node guests 2012-01-03 15:49:11 +01:00
sparc32_dma.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sparc32_dma.h
spitz.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
srp.h
ssd0303.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ssd0323.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ssi-sd.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ssi.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
ssi.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
stellaris_enet.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
stellaris_input.c
stellaris.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
strongarm.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
strongarm.h
sun4c_intctl.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sun4m_iommu.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sun4m.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sun4m.h
sun4u.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sysbus.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
sysbus.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
tc6393xb_template.h Convert source files to UTF-8 encoding 2011-12-06 09:59:05 +00:00
tc6393xb.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
tc58128.c hw/tc58128.c: Remove unnecessary check for g_malloc failure 2011-11-11 12:49:53 -06:00
tcx.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
tmp105.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
tosa.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
tsc210x.c
tsc2005.c
tusb6010.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
twl92230.c nseries: attach monitor powerdown request to menelaus 2012-02-17 07:42:22 +01:00
unin_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
usb-audio.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-bt.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-bus.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-ccid.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-desc.c usb: convert to QEMU Object Model 2012-01-27 10:50:47 -06:00
usb-desc.h usb-desc: audio endpoint support 2012-01-13 10:25:44 +01:00
usb-ehci.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-hid.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-hub.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-libhw.c
usb-msd.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-musb.c usb: Set USBEndpoint in usb_packet_setup(). 2012-02-10 11:31:57 +01:00
usb-net.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-ohci.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-ohci.h
usb-serial.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-uhci.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-uhci.h
usb-wacom.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb-xhci.c Merge remote-tracking branch 'kraxel/usb.38' into staging 2012-02-15 17:25:25 -06:00
usb.c usb: add USBBusOps->wakeup_endpoint 2012-02-10 12:16:30 +01:00
usb.h usb: add USBBusOps->wakeup_endpoint 2012-02-10 12:16:30 +01:00
versatile_pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
versatilepb.c Remove unnecessary includes of primecell.h 2012-02-17 11:13:42 +00:00
vexpress.c hw/vexpress.c: Add vexpress-a15 machine 2012-02-17 11:13:34 +00:00
vga_int.h vga: use constants from vga.h 2012-02-04 12:45:10 +00:00
vga_template.h vga: use constants from vga.h 2012-02-04 12:45:10 +00:00
vga-isa-mm.c
vga-isa.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
vga-pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
vga.c vga: Fix full updates in graphic mode 2012-02-11 10:39:57 +00:00
vga.h vga.h: remove unused stuff and reformat 2012-02-04 12:45:10 +00:00
vhost_net.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
vhost_net.h
vhost.c memory: change dirty setting APIs to take a size 2012-01-25 18:32:47 +00:00
vhost.h vhost: avoid cpu_get_physical_page_desc() 2012-01-03 19:19:28 +02:00
virtex_ml507.c PPC: Bamboo: fold ppc440.c and ppc440_bamboo.c into a single file 2012-01-21 05:17:01 +01:00
virtio-balloon.c virtio-balloon: avoid cpu_get_physical_page_desc() 2012-01-03 19:19:28 +02:00
virtio-balloon.h
virtio-blk.c virtio-blk: add virtio_blk_handle_read trace event 2012-01-26 14:49:18 +01:00
virtio-blk.h
virtio-console.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
virtio-net.c qdev: don't access name through info 2012-01-27 10:50:39 -06:00
virtio-net.h
virtio-pci.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
virtio-pci.h hw/9pfs: Add qdev.reset callback for virtio-9p-pci device 2011-12-04 22:35:28 +05:30
virtio-serial-bus.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
virtio-serial.h qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
virtio.c virtio: Remove unneeded g_free() check in virtio_cleanup() 2012-02-10 10:44:52 +00:00
virtio.h virtio: add and use virtio_set_features 2011-11-28 11:36:28 -06:00
vmmouse.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
vmport.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
vmware_vga.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
vmware_vga.h vga: improve VGA logic 2012-01-22 07:27:06 +00:00
vt82c686.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
vt82c686.h fulong2e: give ISA bus to ISA methods 2011-12-20 15:44:30 -06:00
watchdog.c
watchdog.h
wdt_i6300esb.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
wdt_ib700.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
wm8750.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xen_backend.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
xen_backend.h
xen_blkif.h
xen_common.h
xen_console.c
xen_devconfig.c
xen_disk.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
xen_domainbuild.c
xen_domainbuild.h
xen_machine_pv.c
xen_nic.c prepare for future GPLv2+ relicensing 2012-01-13 10:55:56 -06:00
xen_platform.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xen.h xen, vga: add API for registering the framebuffer 2011-12-20 14:14:08 +02:00
xenfb.c
xgmac.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xics.c
xics.h
xilinx_axidma.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xilinx_axidma.h
xilinx_axienet.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xilinx_ethlite.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xilinx_intc.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xilinx_timer.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xilinx_uartlite.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xilinx.h
xio3130_downstream.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xio3130_downstream.h
xio3130_upstream.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
xio3130_upstream.h
xtensa_bootparam.h
xtensa_lx60.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
xtensa_pic.c
xtensa_sim.c vmstate, memory: decouple vmstate from memory API 2012-01-04 13:34:48 +02:00
z2.c qdev: register all types natively through QEMU Object Model 2012-02-03 10:41:06 -06:00
zaurus.c qom: Unify type registration 2012-02-15 09:39:21 -06:00