qemu/hw
Sripathi Kodi 00ede4c252 virtio-9p: getattr server implementation for 9P2000.L protocol.
SYNOPSIS

              size[4] Tgetattr tag[2] fid[4] request_mask[8]

              size[4] Rgetattr tag[2] lstat[n]

           DESCRIPTION

              The getattr transaction inquires about the file identified by fid.
              request_mask is a bit mask that specifies which fields of the
              stat structure is the client interested in.

              The reply will contain a machine-independent directory entry,
              laid out as follows:

                 st_result_mask[8]
                    Bit mask that indicates which fields in the stat structure
                    have been populated by the server

                 qid.type[1]
                    the type of the file (directory, etc.), represented as a bit
                    vector corresponding to the high 8 bits of the file's mode
                    word.

                 qid.vers[4]
                    version number for given path

                 qid.path[8]
                    the file server's unique identification for the file

                 st_mode[4]
                    Permission and flags

                 st_uid[4]
                    User id of owner

                 st_gid[4]
                    Group ID of owner

                 st_nlink[8]
                    Number of hard links

                 st_rdev[8]
                    Device ID (if special file)

                 st_size[8]
                    Size, in bytes

                 st_blksize[8]
                    Block size for file system IO

                 st_blocks[8]
                    Number of file system blocks allocated

                 st_atime_sec[8]
                    Time of last access, seconds

                 st_atime_nsec[8]
                    Time of last access, nanoseconds

                 st_mtime_sec[8]
                    Time of last modification, seconds

                 st_mtime_nsec[8]
                    Time of last modification, nanoseconds

                 st_ctime_sec[8]
                    Time of last status change, seconds

                 st_ctime_nsec[8]
                    Time of last status change, nanoseconds

                 st_btime_sec[8]
                    Time of creation (birth) of file, seconds

                 st_btime_nsec[8]
                    Time of creation (birth) of file, nanoseconds

                 st_gen[8]
                    Inode generation

                 st_data_version[8]
                    Data version number

              request_mask and result_mask bit masks contain the following bits
                 #define P9_STATS_MODE          0x00000001ULL
                 #define P9_STATS_NLINK         0x00000002ULL
                 #define P9_STATS_UID           0x00000004ULL
                 #define P9_STATS_GID           0x00000008ULL
                 #define P9_STATS_RDEV          0x00000010ULL
                 #define P9_STATS_ATIME         0x00000020ULL
                 #define P9_STATS_MTIME         0x00000040ULL
                 #define P9_STATS_CTIME         0x00000080ULL
                 #define P9_STATS_INO           0x00000100ULL
                 #define P9_STATS_SIZE          0x00000200ULL
                 #define P9_STATS_BLOCKS        0x00000400ULL

                 #define P9_STATS_BTIME         0x00000800ULL
                 #define P9_STATS_GEN           0x00001000ULL
                 #define P9_STATS_DATA_VERSION  0x00002000ULL

                 #define P9_STATS_BASIC         0x000007ffULL
                 #define P9_STATS_ALL           0x00003fffULL

        This patch implements the client side of getattr implementation for 9P2000.L.
        It introduces a new structure p9_stat_dotl for getting Linux stat information
        along with QID. The data layout is similar to stat structure in Linux user
        space with the following major differences:

        inode (st_ino) is not part of data. Instead qid is.

        device (st_dev) is not part of data because this doesn't make sense on the
        client.

        All time variables are 64 bit wide on the wire. The kernel seems to use
        32 bit variables for these variables. However, some of the architectures
        have used 64 bit variables and glibc exposes 64 bit variables to user
        space on some architectures. Hence to be on the safer side we have made
        these 64 bit in the protocol. Refer to the comments in
        include/asm-generic/stat.h

        There are some additional fields: st_btime_sec, st_btime_nsec, st_gen,
        st_data_version apart from the bitmask, st_result_mask. The bit mask
        is filled by the server to indicate which stat fields have been
        populated by the server. Currently there is no clean way for the
        server to obtain these additional fields, so it sends back just the
        basic fields.

        Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>
        Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
2010-09-08 22:56:39 +05:30
..
ide Rearrange block headers 2010-08-24 15:22:24 +00: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 acpi: fix file size check with -acpitable. 2010-08-30 20:06:35 +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 Replace cpu_abort with hw_error 2009-05-08 02:35:15 +01:00
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 hw/bonito: remove incorrect pci_mem_base setting 2010-07-14 14:35:10 +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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Merge remote branch 'mst/for_anthony' into staging 2010-07-26 08:05:27 -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 sparc escc IUS improvements (SunOS 4.1.4 fix) 2010-08-15 17:56:12 +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 etraxfs_eth: correct use of ! and & 2010-08-26 18:04:18 +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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00:00
fdc.h Rearrange block headers 2010-08-24 15:22:24 +00:00
file-op-9p.h qemu: virtio-9p: Implement statfs support in server 2010-09-08 22:56:39 +05:30
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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Support marking a device as non-migratable 2010-08-10 16:25:15 -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
ivshmem.c Fix ivshmem build on 32-bit hosts 2010-09-04 09:53:53 +00:00
jazz_led.c jazz led: Fix debug prints 2010-07-31 17:14:50 +02: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 remove dead code from hw/loader.c 2010-07-30 23:05:51 +02: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00:00
mips_int.c mips: more fixes to the MIPS interrupt glue logic 2010-07-25 16:54:02 +02:00
mips_jazz.c Rearrange block headers 2010-08-24 15:22:24 +00:00
mips_malta.c Rearrange block headers 2010-08-24 15:22:24 +00:00
mips_mipssim.c qemu_ram_alloc: Add DeviceState and name parameters 2010-07-06 10:36:28 -05:00
mips_r4k.c Rearrange block headers 2010-08-24 15:22:24 +00: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 load_multiboot(): get_image_size() returns int 2010-09-04 09:45:54 +00:00
multiboot.h multiboot: Separate multiboot loading into separate file 2010-01-08 09:58:41 -06:00
musicpal.c Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 isapc: fix segfault. 2010-08-28 08:50:40 +00:00
pc.c Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 pckbd: support for commands 0xf0-0xff: Pulse output bit 2010-08-22 16:19:00 -05:00
pcmcia.h Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 ppc4xx: don't unregister RAM at reset 2010-08-26 18:18:26 +02: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 ppc4xx: load Bamboo kernel, initrd, and fdt at fixed addresses 2010-08-26 18:18:26 +02: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 PPC: Add PV hypercall transport through fw_cfg 2010-08-26 18:13:38 +02:00
ppc_oldworld.c PPC: Add PV hypercall transport through fw_cfg 2010-08-26 18:13:38 +02:00
ppc_prep.c Rearrange block headers 2010-08-24 15:22:24 +00:00
ppc.c target-ppc: remove dead code 2010-05-18 21:12:54 +02:00
ppc.h PPC: Add PV hypercall transport through fw_cfg 2010-08-26 18:13:38 +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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00:00
qdev.c Rearrange block headers 2010-08-24 15:22:24 +00:00
qdev.h Rearrange block headers 2010-08-24 15:22:24 +00:00
r2d.c Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00:00
scsi-generic.c Rearrange block headers 2010-08-24 15:22:24 +00:00
scsi.h scsi: Dequeue requests before invoking completion callback 2010-07-22 05:52:10 +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 qemu_malloc + memset with qemu_mallocz 2010-08-20 21:04:37 +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 fix last cpu timer initialization 2010-08-02 18:49:13 +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 qemu: Add support for SMBIOS command line otions (Alex Williamson) 2009-04-17 18:59:56 +00:00
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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00:00
sun4m.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
sun4u.c Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 QemuOpts: make most qemu_*_opts static 2010-08-22 17:11:06 -05: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 VGA: Don't register deprecated VBE range 2010-08-22 17:11:06 -05:00
vhost_net.c Remove unused eventfd.h 2010-07-30 23:25:25 +02:00
vhost_net.h vhost: vhost net support 2010-04-01 13:56:43 -05:00
vhost.c Remove unused eventfd.h 2010-07-30 23:25:25 +02:00
vhost.h vhost: vhost net support 2010-04-01 13:56:43 -05:00
virtio-9p-debug.c virtio-9p: getattr server implementation for 9P2000.L protocol. 2010-09-08 22:56:39 +05:30
virtio-9p-debug.h virtio-9p: pdu processing support. 2010-05-03 12:17:37 -05:00
virtio-9p-local.c qemu: virtio-9p: Implement statfs support in server 2010-09-08 22:56:39 +05:30
virtio-9p.c virtio-9p: getattr server implementation for 9P2000.L protocol. 2010-09-08 22:56:39 +05:30
virtio-9p.h virtio-9p: getattr server implementation for 9P2000.L protocol. 2010-09-08 22:56:39 +05:30
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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00:00
virtio-serial-bus.c virtio-serial: Cleanup on device hot-unplug 2010-08-22 16:19:00 -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-serial: Cleanup on device hot-unplug 2010-08-22 16:19:00 -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 QemuOpts: make most qemu_*_opts static 2010-08-22 17:11:06 -05: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 Rearrange block headers 2010-08-24 15:22:24 +00: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 Rearrange block headers 2010-08-24 15:22:24 +00:00
xen_disk.c Rearrange block headers 2010-08-24 15:22:24 +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: pv domain builder. (Gerd Hoffmann) 2009-04-22 15:19:44 +00:00
xen_machine_pv.c Rearrange block headers 2010-08-24 15:22:24 +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