qemu/hw
Sripathi Kodi a03c54f16e virtio-9p: Avoid SEGV when log file couldn't be opened
While running in debug mode if 9P server is unable to open the log file
it results in a SEGV deep down in glibc:

Program received signal SIGSEGV, Segmentation fault.
0x008fca8c in fwrite () from /lib/libc.so.6
(gdb) bt
#0  0x008fca8c in fwrite () from /lib/libc.so.6
#1  0x081eb87e in pprint_pdu (pdu=0x89a52e1c)
    at /data/sripathi/code/qemu/new/qemu-next-upstream/hw/virtio-9p-debug.c:380
#2  0x0806dad8 in submit_pdu (s=0x897dc008, pdu=0x89a52e1c)
    at /data/sripathi/code/qemu/new/qemu-next-upstream/hw/virtio-9p.c:3092
#3  0x0806dc63 in handle_9p_output (vdev=0x897dc008, vq=0x86d8218)
    at /data/sripathi/code/qemu/new/qemu-next-upstream/hw/virtio-9p.c:3122
#4  0x081ac728 in virtio_queue_notify (vdev=0x897dc008, n=0)
    at /data/sripathi/code/qemu/new/qemu-next-upstream/hw/virtio.c:563
#5  0x08063876 in virtio_ioport_write (opaque=0x86d7b98, addr=16, val=0)
    at /data/sripathi/code/qemu/new/qemu-next-upstream/hw/virtio-pci.c:222
#6  0x08063e26 in virtio_pci_config_writew (opaque=0x86d7b98, addr=16, val=0)
    at /data/sripathi/code/qemu/new/qemu-next-upstream/hw/virtio-pci.c:357
#7  0x080c881a in ioport_write (index=1, address=49296, data=0) at ioport.c:80
#8  0x080c8d4c in cpu_outw (addr=49296, val=0) at ioport.c:204
#9  0x08073010 in kvm_handle_io (port=49296, data=0xab393000, direction=1, size=2, count=1)
    at /data/sripathi/code/qemu/new/qemu-next-upstream/kvm-all.c:735
...
...

This is ugly and misleading. The following patch adds a BUG_ON to catch this
error. With this patch we get an abort message like the following, which makes
it easier to analyze:

f12-kvm login: qemu: /data/sripathi/code/qemu/new/qemu-next-upstream/hw/virtio-9p-debug.c:353: pprint_pdu: Assertion `!(!llogfile)' failed.

Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-07-13 09:06:58 -05:00
..
ide pci/multi function bit: fix vt82c686.c. 2010-07-12 18:36:02 +02:00
9p.h Move stdbool.h 2010-06-13 19:00:50 +01:00
a9mpcore.c ARM PBX-A9 board support 2009-11-19 16:45:21 +00:00
ac97.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
acpi_piix4.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
acpi.c Trim unnecessary includes 2010-05-15 17:36:13 +00:00
acpi.h Update to a hopefully more future proof FSF address 2010-05-15 17:52:49 +00:00
adb.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
adlib.c Unexport ticks_per_sec variable. Create get_ticks_per_sec() function 2009-09-11 10:19:52 -05:00
ads7846.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
alpha_palcode.c alpha: remove dead assignments, spotted by clang analyzer 2010-04-25 20:30:17 +00:00
an5206.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
apb_pci.c pci: set PCI multi-function bit appropriately. 2010-07-11 20:01:02 +03:00
apb_pci.h pci: pci.h cleanup: move out stuff not in pci.c 2009-12-01 17:51:04 +02:00
apic.c apic: qdev conversion cleanup 2010-06-19 07:47:42 +00:00
apic.h apic: qdev conversion cleanup 2010-06-19 07:47:42 +00:00
apm.c Trim unnecessary includes 2010-05-15 17:36:13 +00:00
apm.h acpi: split out apm register emulation from acpi.c 2010-05-15 15:27:19 +00:00
applesmc.c AppleSMC device emulation 2010-07-11 20:33:10 +03:00
arm11mpcore.c ARM PBX-A9 board support 2009-11-19 16:45:21 +00:00
arm_boot.c arm: fix arm kernel boot for non zero start addr 2010-05-31 19:40:41 +02:00
arm_gic.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
arm_pic.c
arm_sysctl.c Realview/EB procid hacks 2009-11-13 04:04:18 +00:00
arm_timer.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
arm-misc.h ARM PBX-A9 board support 2009-11-19 16:45:21 +00:00
armv7m_nvic.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
armv7m.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
audiodev.h Push AUD_init down to devices 2009-05-12 12:33:04 +01:00
axis_dev88.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
baum.c baum: add destroy hook 2010-04-08 21:17:10 +02:00
baum.h usb-serial and braille: use qdev for -usbdevice 2009-10-30 08:39:31 -05:00
bitbang_i2c.c GPIO I2C rework 2009-11-22 21:27:40 +00:00
bitbang_i2c.h GPIO I2C rework 2009-11-22 21:27:40 +00:00
blizzard_template.h rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN 2009-07-27 14:09:21 -05:00
blizzard.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
boards.h Fix Sparse error: dubious one-bit signed bitfield 2009-12-25 16:12:26 +00:00
bonito.c MIPS: Initial support of bonito north bridge used by fulong mini pc 2010-06-29 23:07:51 +02:00
bt-hci-csr.c bt: remove dead assignments, spotted by clang analyzer 2010-04-25 18:20:28 +00:00
bt-hci.c bt: remove dead assignments, spotted by clang analyzer 2010-04-25 18:20:28 +00:00
bt-hid.c qdev: Replace device names containing whitespace 2009-12-12 07:59:38 -06:00
bt-l2cap.c bt-l2cap: fix if statement with empty body, spotted by clang 2010-04-22 03:41:24 +02:00
bt-sdp.c bt-sdp: Fix an excessive ; and assignment of the wrong variable 2010-04-22 03:55:46 +02:00
bt.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
bt.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
cbus.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
cdrom.c scsi: move scsi-disk.h -> scsi.h 2009-11-09 08:43:03 -06:00
cirrus_vga_rop2.h vga: Replace VGA_COMMON with a structure 2009-05-08 16:11:38 -05:00
cirrus_vga_rop.h vga: Replace VGA_COMMON with a structure 2009-05-08 16:11:38 -05:00
cirrus_vga.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
cris_pic_cpu.c cris: First shot at qdev for CRIS interrupts. 2009-05-18 22:24:22 +02:00
cris-boot.c cris: Break out image loading to hw/cris-boot.c. 2010-06-10 14:45:46 +02:00
cris-boot.h cris: Break out image loading to hw/cris-boot.c. 2010-06-10 14:45:46 +02:00
cs4231.c sparc32 (mostly): remove unneeded calls to device reset 2009-11-07 08:55:24 +00:00
cs4231a.c savevm: Port to qdev.vmsd all devices that have qdev 2009-12-03 10:05:58 -06:00
cuda.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
debugcon.c Debugcon: Fix debugging printf 2010-04-08 21:44:38 +02:00
dec_pci.c pci_bridge: make pci bridge aware of pci multi function bit. 2010-07-11 20:01:00 +03:00
dec_pci.h dec: actually implement PCI bridging 2010-02-07 19:28:32 +00:00
device-hotplug.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
devices.h OHCI qdev conversion 2010-04-05 19:57:40 +01:00
dma.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
dp8393x.c net: remove VLANClientState members now in NetClientInfo 2009-12-03 09:41:34 -06:00
ds1225y.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
ds1338.c DS1338 RTC 2009-11-22 21:27:40 +00:00
dummy_m68k.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
e1000_hw.h Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
e1000.c Change #define DEBUG to #define E1000_DEBUG in hw/e1000.c 2010-06-14 10:58:08 -05:00
ecc.c Follow coding conventions 2009-05-10 01:44:56 +01:00
eccmemctl.c sparc32 (mostly): remove unneeded calls to device reset 2009-11-07 08:55:24 +00:00
eepro100.c eepro100: Add a dev field to eeprom new/free functions 2010-07-06 10:36:28 -05:00
eeprom93xx.c eepro100: Add a dev field to eeprom new/free functions 2010-07-06 10:36:28 -05:00
eeprom93xx.h eepro100: Add a dev field to eeprom new/free functions 2010-07-06 10:36:28 -05:00
elf_ops.h microblaze: Handle new elf mach nr for sysemu. 2010-05-24 11:14:04 +02:00
empty_slot.c create empty_slot device 2010-04-18 08:55:12 +00:00
empty_slot.h create empty_slot device 2010-04-18 08:55:12 +00:00
es1370.c es1370: symbolic names for pci registers 2009-12-23 16:35:00 +02:00
escc.c escc: don't use reserved _t suffix 2010-02-07 08:05:47 +00:00
escc.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
esp.c scsi: scsi_bus_legacy_handle_cmdline() can fail, fix callers 2010-07-02 13:18:01 +02:00
esp.h esp: use CamelCaseFunc for function types 2010-02-07 09:17:35 +00:00
etraxfs_dma.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
etraxfs_dma.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
etraxfs_eth.c cris: remove dead assignments, spotted by clang analyzer 2010-04-25 19:46:46 +00:00
etraxfs_pic.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
etraxfs_ser.c etrax-ser: Support the uart rx fifo. 2010-06-14 18:41:12 +02:00
etraxfs_timer.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
etraxfs.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
etraxfs.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
event_notifier.c notifier: event notifier implementation 2010-04-01 13:56:43 -05:00
event_notifier.h notifier: event notifier implementation 2010-04-01 13:56:43 -05:00
fdc.c fdc: Reject unimplemented error actions 2010-07-06 17:05:49 +02:00
fdc.h blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
file-op-9p.h virtio-9p: Implement Security model for mksock using mknod. 2010-06-22 15:15:51 -05:00
firmware_abi.h
flash.h Compile pflash_cfi01 only once 2010-03-29 19:23:56 +00:00
fmopl.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
fmopl.h
framebuffer.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
framebuffer.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
fw_cfg.c fw_cfg: convert to qdev 2010-06-27 16:04:55 +00:00
fw_cfg.h fw_cfg: don't use reserved _ prefix 2010-02-07 09:15:26 +00:00
g364fb.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
grackle_pci.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
gt64xxx.c pci: use PCI_DEVFN() where appropriate. 2010-07-11 19:58:57 +03:00
gumstix.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
gus.c savevm: Port to qdev.vmsd all devices that have qdev 2009-12-03 10:05:58 -06:00
gusemu_hal.c
gusemu_mixer.c
gusemu.h qdev/isa: convert gravis ultrasound 2009-09-10 19:48:00 +04:00
gustate.h
heathrow_pic.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
hpet_emul.h pass info about hpets to seabios.] 2010-06-14 11:12:53 -05:00
hpet.c Fix comparison which always returned false 2010-06-16 01:43:38 +04:00
hw.h savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
i2c.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
i2c.h vmstate: remove i2c_slave_load/save 2009-10-05 09:32:39 -05:00
i8254.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
i8259.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
ide.h pc: Fix CMOS info for drives defined with -device 2010-07-02 13:18:02 +02:00
integratorcp.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
ioapic.c ioapic: convert to qdev 2010-06-19 07:41:43 +00:00
irq.c
irq.h
isa_mmio.c Compile isa_mmio only once 2010-03-21 19:47:09 +00:00
isa-bus.c move two variable declarations out of vl.c 2010-04-09 18:55:54 +02:00
isa.h Compile dma only once 2010-05-22 08:00:52 +00:00
jazz_led.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
lan9118.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
lance.c savevm: Port to qdev.vmsd all devices that have qdev 2009-12-03 10:05:58 -06:00
lm832x.c savevm: Port to qdev.vmsd all devices that have qdev 2009-12-03 10:05:58 -06:00
loader.c load_elf: replace the address addend by a translation function 2010-03-16 08:38:05 +01:00
loader.h load_elf: replace the address addend by a translation function 2010-03-16 08:38:05 +01:00
lsi53c895a.c scsi: Fix SCSI bus reset 2010-07-06 10:36:27 -05:00
m48t59.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
mac_dbdma.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
mac_dbdma.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
mac_nvram.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
macio.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
mainstone.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
mainstone.h Follow coding conventions 2009-05-10 01:44:56 +01:00
marvell_88w8618_audio.c Remove useless device dependency of HAS_AUDIO 2010-06-27 16:04:31 +00:00
max111x.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
max7310.c savevm: Port to qdev.vmsd all devices that have qdev 2009-12-03 10:05:58 -06:00
mc146818rtc.c make rtc alatm work 2010-07-06 10:36:27 -05:00
mc146818rtc.h hpet/rtc: Rework RTC IRQ replacement by HPET 2010-06-13 15:33:00 +03:00
mcf5206.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
mcf5208.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
mcf_fec.c net: convert mcf_fec to NICState 2009-12-03 09:41:32 -06:00
mcf_intc.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
mcf_uart.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
mcf.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
microblaze_pic_cpu.c microblaze: Add CPU interrupt wrapper logic. 2009-05-26 21:10:38 +02:00
mips_addr.c Compile some MIPS devices only once 2010-03-27 07:26:16 +00:00
mips_cpudevs.h Compile some MIPS devices only once 2010-03-27 07:26:16 +00:00
mips_fulong2e.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
mips_int.c Compile some MIPS devices only once 2010-03-27 07:26:16 +00:00
mips_jazz.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
mips_malta.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
mips_mipssim.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
mips_r4k.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
mips_timer.c Compile some MIPS devices only once 2010-03-27 07:26:16 +00:00
mips-bios.h Remove obsolete BIOS_SIZE from sysemu.h 2009-05-19 14:52:42 +01:00
mips.h MIPS: Initial support of bonito north bridge used by fulong mini pc 2010-06-29 23:07:51 +02:00
mipsnet.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
mpcore.c ARM PBX-A9 board support 2009-11-19 16:45:21 +00:00
msix.c Remove unused DEBUG defines from hw/msix.c 2010-06-14 10:58:08 -05:00
msix.h msix: add helper to unuse all msix entries 2009-12-01 17:58:27 +02:00
msmouse.c convert msmouse chardev to QemuOpts. 2009-09-11 10:19:48 -05:00
msmouse.h convert msmouse chardev to QemuOpts. 2009-09-11 10:19:48 -05:00
mst_fpga.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
multiboot.c multiboot: compilation fix with DEBUG_MULTIBOOT enabled. 2010-06-10 16:49:28 +00:00
multiboot.h multiboot: Separate multiboot loading into separate file 2010-01-08 09:58:41 -06:00
musicpal.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
nand.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
ne2000-isa.c Add "static" to please Sparse 2009-12-04 20:44:44 +00:00
ne2000.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
ne2000.h net: convert ne2000 to NICState 2009-12-03 09:41:31 -06:00
nseries.c arm: fix arm kernel boot for non zero start addr 2010-05-31 19:40:41 +02:00
nvram.h m48t59: don't use reserved _t suffix 2010-02-07 08:05:03 +00:00
omap1.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
omap2.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
omap_clk.c Fix Sparse warnings about using plain integer as NULL pointer 2009-09-21 18:11:34 +00:00
omap_dma.c hw/omap_dma: add matching {} in if 0 2009-10-04 13:24:45 +02:00
omap_dss.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
omap_gpio.c hw/omap2.c : separate gpio module 2010-06-30 20:41:36 +02:00
omap_gpmc.c hw/omap2.c : separate gpmc(general purpose memory controller) 2010-06-30 20:41:36 +02:00
omap_gptimer.c hw/omap2.c : separate gptimer module 2010-06-30 20:41:36 +02:00
omap_i2c.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
omap_intc.c hw/omap1.c : separate interrupt controller module 2010-06-30 20:41:37 +02:00
omap_l4.c hw/omwp2.c : separate l4 interconnect module 2010-06-30 20:41:37 +02:00
omap_lcd_template.h rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN 2009-07-27 14:09:21 -05:00
omap_lcdc.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
omap_mmc.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
omap_sdrc.c hw/omap2.c : separate sdrc (sdram controller) 2010-06-30 20:41:36 +02:00
omap_spi.c hw/omap2.c : separate spi module 2010-06-30 20:41:37 +02:00
omap_sx1.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
omap_synctimer.c hw/omap2.c : separate synctimer module 2010-06-30 20:41:36 +02:00
omap_tap.c hw/omap2.c : separate tap module(Test-Chip-level) 2010-06-30 20:41:37 +02:00
omap_uart.c hw/omap1.c : separate uart module 2010-06-30 20:41:37 +02:00
omap.h hw/omap : make local function static and remove declaration from header 2010-06-30 20:41:38 +02:00
onenand.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
openpic.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
openpic.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
palm.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
parallel.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
pc_piix.c pc: Fix CMOS info for drives defined with -device 2010-07-02 13:18:02 +02:00
pc.c pc: Avoid registering zero sized memory 2010-07-13 09:06:58 -05:00
pc.h pc: Fix CMOS info for drives defined with -device 2010-07-02 13:18:02 +02:00
pci_host.c pci_host: fix breakage 2010-03-23 09:59:54 +01:00
pci_host.h Compile pci_host only once 2010-03-21 19:47:15 +00:00
pci_ids.h Initial support of vt82686b south bridge used by fulong mini pc 2010-06-29 23:07:51 +02:00
pci_regs.h pci: import Linux pci_regs.h 2009-12-23 16:35:00 +02:00
pci-hotplug.c pci hotplug: make pci_device_hot_remove() static 2010-07-11 23:14:57 +03:00
pci.c pci: fix bridge update 2010-07-11 23:31:52 +03:00
pci.h pci_bridge: make pci bridge aware of pci multi function bit. 2010-07-11 20:01:00 +03:00
pcie_host.c Update to a hopefully more future proof FSF address 2010-03-07 15:48:43 +00:00
pcie_host.h Update to a hopefully more future proof FSF address 2010-03-07 15:48:43 +00:00
pckbd.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pcmcia.h blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
pcnet.c pcnet: address TODOs 2010-07-11 23:14:57 +03:00
pcnet.h net: convert pcnet to NICState 2009-12-03 09:41:31 -06:00
pcspk.c Remove any pretense that there can be more than one AudioState 2009-05-14 03:20:43 +04:00
petalogix_s3adsp1800_mmu.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
pflash_cfi01.c pflash_cfi01: add device ID read command 2010-05-21 11:52:08 +02:00
pflash_cfi02.c arm: remove dead assignments, spotted by clang analyzer 2010-04-25 19:31:06 +00:00
piix4.c pci: set PCI multi-function bit appropriately. 2010-07-11 20:01:02 +03:00
piix_pci.c pci: set PCI multi-function bit appropriately. 2010-07-11 20:01:02 +03:00
pixel_ops.h
pl011.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pl022.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pl031.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
pl050.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
pl061.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pl080.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
pl110_template.h rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN 2009-07-27 14:09:21 -05:00
pl110.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
pl181.c qdev: Move declaration of qdev_init_bdrv() into qdev.h 2010-06-04 11:43:40 +02:00
pl190.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
pm_smbus.c Update to a hopefully more future proof FSF address 2010-05-15 17:52:49 +00:00
pm_smbus.h acpi: split out piix4 smbus routines from acpi.c into pm_smbus.c 2010-05-15 15:25:31 +00:00
ppc4xx_devs.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
ppc4xx_pci.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
ppc4xx.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
ppc405_boards.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
ppc405_uc.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
ppc405.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
ppc440_bamboo.c load_elf: replace the address addend by a translation function 2010-03-16 08:38:05 +01:00
ppc440.c Compile serial only once 2010-03-21 19:47:11 +00:00
ppc440.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
ppc_mac.h PPC: Use Mac99_U3 type on ppc64 2010-02-14 16:10:54 +02:00
ppc_newworld.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
ppc_oldworld.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
ppc_prep.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
ppc.c target-ppc: remove dead code 2010-05-18 21:12:54 +02:00
ppc.h PPC: tell the guest about the time base frequency 2010-02-14 16:10:54 +02:00
ppce500_mpc8544ds.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
ppce500_pci.c pci: use PCI_DEVFN() where appropriate. 2010-07-11 19:58:57 +03:00
ppce500.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
prep_pci.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
prep_pci.h pci: pci.h cleanup: move out stuff not in pci.c 2009-12-01 17:51:04 +02:00
primecell.h Realview/EB procid hacks 2009-11-13 04:04:18 +00:00
ps2.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
ps2.h
ptimer.c vmstate: remove const for put operations 2009-10-05 09:32:36 -05:00
pxa2xx_dma.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pxa2xx_gpio.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pxa2xx_keypad.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pxa2xx_lcd.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pxa2xx_mmci.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pxa2xx_pcmcia.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
pxa2xx_pic.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pxa2xx_template.h Fix Sparse warnings about using plain integer as NULL pointer 2009-09-21 18:11:34 +00:00
pxa2xx_timer.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pxa2xx.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
pxa.h OHCI qdev conversion 2010-04-05 19:57:40 +01:00
qdev-addr.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
qdev-addr.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
qdev-properties.c qdev: implement qdev_prop_set_bit(). 2010-07-11 20:00:58 +03:00
qdev.c Merge remote branch 'kwolf/for-anthony' into staging 2010-07-06 10:48:01 -05:00
qdev.h qdev: implement qdev_prop_set_bit(). 2010-07-11 20:00:58 +03:00
r2d.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
rc4030.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
realview_gic.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
realview.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
rtl8139.c rtl8139: address TODOs 2010-07-11 23:15:22 +03:00
s390-virtio-bus.c Implement virtio reset 2010-04-09 22:06:22 +02:00
s390-virtio-bus.h Implement virtio reset 2010-04-09 22:06:22 +02:00
s390-virtio.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
sb16.c dma/sb16: make clang analyzer not complain 2010-01-12 21:55:53 +03:00
sbi.c sparc32 (mostly): remove unneeded calls to device reset 2009-11-07 08:55:24 +00:00
scsi-bus.c scsi: Error locations for -drive if=scsi device initialization 2010-07-06 17:05:49 +02:00
scsi-defs.h scsi-bus: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer and mode assignments 2010-06-22 14:38:01 +02:00
scsi-disk.c scsi: Reject unimplemented error actions 2010-07-06 17:05:49 +02:00
scsi-generic.c scsi: Reject unimplemented error actions 2010-07-06 17:05:49 +02:00
scsi.h qdev: Decouple qdev_prop_drive from DriveInfo 2010-07-02 13:18:02 +02:00
sd.c arm: remove dead assignments, spotted by clang analyzer 2010-04-25 19:31:06 +00:00
sd.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
serial.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
sh7750_regnames.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
sh7750_regnames.h
sh7750_regs.h
sh7750.c Replace assert(0) with abort() or cpu_abort() 2010-03-18 18:41:57 +00:00
sh_intc.c Replace assert(0) with abort() or cpu_abort() 2010-03-18 18:41:57 +00:00
sh_intc.h Replace gcc variadic macro extension with C99 version 2009-05-13 17:53:17 +00:00
sh_pci.c sh_pci: fix memory and I/O access 2010-04-13 20:17:24 +02:00
sh_pci.h pci: pci.h cleanup: move out stuff not in pci.c 2009-12-01 17:51:04 +02:00
sh_serial.c Replace assert(0) with abort() or cpu_abort() 2010-03-18 18:41:57 +00:00
sh_timer.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
sh.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
sharpsl.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
shix.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
slavio_intctl.c mask all interrupts when MASTER_DISABLE is set 2010-06-27 19:06:44 +03:00
slavio_misc.c sparc32 (mostly): remove unneeded calls to device reset 2009-11-07 08:55:24 +00:00
slavio_timer.c sparc32: improve timer implementation 2010-04-03 06:17:35 +00:00
sm501_template.h sh: sm501: Add hardware cursor feature 2010-01-14 16:15:50 +01:00
sm501.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
smbios.c Compile loader only once 2009-09-20 14:58:02 +00:00
smbios.h
smbus_eeprom.c qdev: add return value to init() callbacks. 2009-08-27 20:43:28 -05:00
smbus.c i2c: addresses are load/save as uint8_t values, change types to reflect this 2009-10-05 09:32:37 -05:00
smbus.h i2c: addresses are load/save as uint8_t values, change types to reflect this 2009-10-05 09:32:37 -05:00
smc91c111.c arm: remove dead assignments, spotted by clang analyzer 2010-04-25 19:31:06 +00:00
soc_dma.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
soc_dma.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
sparc32_dma.c sparc32 protect read-only bits in DMA CSR registers 2010-05-22 09:07:46 +00:00
sparc32_dma.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
spitz.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
ssd0303.c savevm: Port to qdev.vmsd all devices that have qdev 2009-12-03 10:05:58 -06:00
ssd0323.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
ssi-sd.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
ssi.c New qdev_init_nofail() 2009-10-07 08:54:54 -05:00
ssi.h qdev: add return value to init() callbacks. 2009-08-27 20:43:28 -05:00
stellaris_enet.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
stellaris_input.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
stellaris.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
sun4c_intctl.c sparc32 (mostly): remove unneeded calls to device reset 2009-11-07 08:55:24 +00:00
sun4m_iommu.c sparc32: add IOMMU chipset doc links 2010-04-03 07:40:47 +00:00
sun4m.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
sun4m.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
sun4u.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
syborg_fb.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
syborg_interrupt.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
syborg_keyboard.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
syborg_pointer.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
syborg_rtc.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
syborg_serial.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
syborg_timer.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
syborg_virtio.c virtio: add set_status callback 2010-04-01 13:56:43 -05:00
syborg.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
syborg.h Syborg (Symbian Virtual Platform) board 2009-05-14 23:11:09 +01:00
sysbus.c New qdev_init_nofail() 2009-10-07 08:54:54 -05:00
sysbus.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
tc6393xb_template.h Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
tc6393xb.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
tc58128.c Replace assert(0) with abort() or cpu_abort() 2010-03-18 18:41:57 +00:00
tcx.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
tmp105.c tmp105: update the register in post_load where it needs updating. 2010-05-15 14:31:27 +02:00
tosa.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
tsc210x.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
tsc2005.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
tusb6010.c arm: remove dead assignments, spotted by clang analyzer 2010-04-25 19:31:06 +00:00
twl92230.c Add "static" to please Sparse 2009-12-04 20:44:44 +00:00
unin_pci.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
usb-bt.c qdev: Replace device names containing whitespace 2009-12-12 07:59:38 -06:00
usb-bus.c usb: remove dead assignments, spotted by clang analyzer 2010-04-25 18:23:04 +00:00
usb-hid.c un-register kbd driver in case of USB kbd unplug. 2010-06-14 15:46:28 -05:00
usb-hub.c usb: remove dead assignments, spotted by clang analyzer 2010-04-25 18:23:04 +00:00
usb-msd.c block: Catch attempt to attach multiple devices to a blockdev 2010-07-02 13:18:02 +02:00
usb-musb.c usb-musb: convert fifo to 8bit and add more registers 2009-12-18 23:23:56 +01:00
usb-net.c usb: remove dead assignments, spotted by clang analyzer 2010-04-25 18:23:04 +00:00
usb-ohci.c OHCI address decoding fix 2010-06-13 23:37:31 +01:00
usb-ohci.h Revert "Compile usb-ohci only once" 2010-04-04 21:18:26 +01:00
usb-serial.c usb-serial: Fail instead of crash when chardev is missing 2010-06-30 20:35:46 +02:00
usb-uhci.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
usb-uhci.h MIPS: Initial support of VIA USB controller used by fulong mini pc 2010-06-29 23:07:52 +02:00
usb-wacom.c qdev: Replace device names containing whitespace 2009-12-12 07:59:38 -06:00
usb.c qdev/usb: add usb bus support to qdev, convert drivers. 2009-09-09 14:55:17 -05:00
usb.h usb: class specific interface requests 2010-03-31 11:16:52 -05:00
versatile_pci.c pci: use PCI_DEVFN() where appropriate. 2010-07-11 19:58:57 +03:00
versatilepb.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
vga_int.h update bochs vbe interface 2010-04-08 11:11:21 +02:00
vga_template.h vga: Rename last VGAState occurrences to VGACommonState 2009-09-09 14:55:14 -05:00
vga-isa-mm.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
vga-isa.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
vga-pci.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
vga.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
vhost_net.c vhost_net.c: v2 Fix build failure introduced by 0bfcd599e3 2010-05-27 18:57:31 +00:00
vhost_net.h vhost: vhost net support 2010-04-01 13:56:43 -05:00
vhost.c vhost.c: include <linux/vhost.h> last 2010-04-14 00:12:04 +02:00
vhost.h vhost: vhost net support 2010-04-01 13:56:43 -05:00
virtio-9p-debug.c virtio-9p: Avoid SEGV when log file couldn't be opened 2010-07-13 09:06:58 -05:00
virtio-9p-debug.h virtio-9p: pdu processing support. 2010-05-03 12:17:37 -05:00
virtio-9p-local.c virtio-9p: Implement Security model for mksock using mknod. 2010-06-22 15:15:51 -05:00
virtio-9p.c virtio-9p: Implement Security model for mksock using mknod. 2010-06-22 15:15:51 -05:00
virtio-9p.h virtio-9p: Rearrange fileop structures 2010-06-22 15:15:30 -05:00
virtio-balloon.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
virtio-balloon.h virtio: Add memory statistics reporting to the balloon driver 2010-01-26 17:08:03 -06:00
virtio-blk.c Merge remote branch 'kwolf/for-anthony' into staging 2010-07-06 10:48:01 -05:00
virtio-blk.h Add virtio disk identification support 2010-07-06 17:05:49 +02:00
virtio-console.c virtio-serial: Apps should consume all data that guest sends out / Fix virtio api abuse 2010-04-28 08:58:22 -05:00
virtio-net.c virtio-net: correct packet length math 2010-07-11 23:31:52 +03:00
virtio-net.h Virtio-net: Replace the hardcode 6 with defined ETN_ALEN 2010-05-24 15:18:23 -05:00
virtio-pci.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
virtio-serial-bus.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
virtio-serial.h Move stdbool.h 2010-06-13 19:00:50 +01:00
virtio.c virtio: invoke set_features on load 2010-05-12 18:07:54 +03:00
virtio.h virtio-9p: Add a virtio 9p device to qemu 2010-05-03 12:17:37 -05:00
vmmouse.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
vmport.c KVM: Make vmport KVM-compatible 2010-02-03 19:47:34 -02:00
vmware_vga.c vmware_vga: fix reset value for command register 2010-07-11 23:15:22 +03:00
vmware_vga.h pci: pci.h cleanup: move out stuff not in pci.c 2009-12-01 17:51:04 +02:00
vt82c686.c pci/multi function bit: fix vt82c686.c. 2010-07-12 18:36:02 +02:00
vt82c686.h Initial support of vt82686b south bridge used by fulong mini pc 2010-06-29 23:07:51 +02:00
watchdog.c QMP: Introduce WATCHDOG event 2010-03-09 08:47:27 -06:00
watchdog.h Compile wdt_i6300esb only once 2009-09-20 08:02:28 +00:00
wdt_i6300esb.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
wdt_ib700.c savevm: Port to qdev.vmsd all devices that have qdev 2009-12-03 10:05:58 -06:00
wm8750.c arm: remove dead assignments, spotted by clang analyzer 2010-04-25 19:31:06 +00:00
xen_backend.c Fix free use in xen_backend.c 2009-12-02 08:57:43 -06:00
xen_backend.h xen: Fix build error due to missing include 2010-06-15 10:59:20 +02:00
xen_blkif.h static and inline should came before the type of the functions 2009-09-25 19:51:45 +00:00
xen_common.h Fix xen build after sys-queue renaming 2009-09-12 15:00:28 +00:00
xen_console.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
xen_devconfig.c Revert "Convert atexit users to exit_notifier" 2010-03-21 14:13:02 -05:00
xen_disk.c Remove dead assignments in various common files, spotted by clang analyzer 2010-04-25 18:35:52 +00:00
xen_domainbuild.c remove exec-all.h inclusion from cpu.h 2010-07-03 09:48:24 +03:00
xen_domainbuild.h
xen_machine_pv.c Move KVM and Xen global flags to vl.c 2010-03-29 19:23:49 +00:00
xen_nic.c net: convert xen to NICState 2009-12-03 09:41:34 -06:00
xen.h include inttypes.h in xen.h 2009-06-13 16:18:31 +03:00
xenfb.c Move stdbool.h 2010-06-13 19:00:50 +01:00
xilinx_ethlite.c net: convert xilinx_ethlite to NICState 2009-12-03 09:41:34 -06:00
xilinx_intc.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
xilinx_timer.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
xilinx_uartlite.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
xilinx.h xilinx_ethlite: use qdev properties for configuration. 2009-10-27 12:28:41 -05:00
zaurus.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00