History log of /openbmc/qemu/block/ (Results 5901 – 5925 of 6194)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
77a5a00016-May-2011 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

qed: support for growing images

The .bdrv_truncate() operation resizes images and growing is easy to
implement in QED. Simply check that the new size is valid and then
update the image_size header

qed: support for growing images

The .bdrv_truncate() operation resizes images and growing is easy to
implement in QED. Simply check that the new size is valid and then
update the image_size header field to reflect the new size.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

6f321e9309-May-2011 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

qed: Periodically flush and clear need check bit

One strategy to limit the startup delay of consistency check when
opening image files is to ensure that the file is marked dirty for as
little time a

qed: Periodically flush and clear need check bit

One strategy to limit the startup delay of consistency check when
opening image files is to ensure that the file is marked dirty for as
little time as possible.

QED currently marks the image dirty when the first allocating write
request is issued and clears the dirty bit again when the image is
cleanly closed. In practice that means the image is marked dirty for
most of a guest's lifetime and prone to being in a dirty state upon
crash or power failure.

It is safe to clear the dirty bit after all allocating write requests
have completed and a flush has been performed. This patch adds a timer
after the last allocating write request completes. When the timer fires
it will flush and then clear the dirty bit. The timer is set to 5
seconds and is cancelled upon arrival of a new allocating write request.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/arch_init.c
/openbmc/qemu/arch_init.h
qed.c
qed.h
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-all.h
/openbmc/qemu/cpu-common.h
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/exec.c
/openbmc/qemu/hppa-dis.c
/openbmc/qemu/hw/ac97.c
/openbmc/qemu/hw/boards.h
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/ich.c
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/lsi53c895a.c
/openbmc/qemu/hw/pc.c
/openbmc/qemu/hw/pc.h
/openbmc/qemu/hw/pc_piix.c
/openbmc/qemu/hw/pci.c
/openbmc/qemu/hw/pcie_aer.c
/openbmc/qemu/hw/piix_pci.c
/openbmc/qemu/hw/ppc.c
/openbmc/qemu/hw/ppce500_mpc8544ds.c
/openbmc/qemu/hw/ppce500_pci.c
/openbmc/qemu/hw/spapr.c
/openbmc/qemu/hw/spapr_hcall.c
/openbmc/qemu/hw/spapr_rtas.c
/openbmc/qemu/hw/spapr_vio.h
/openbmc/qemu/hw/usb-musb.c
/openbmc/qemu/hw/xen.h
/openbmc/qemu/hw/xen_backend.c
/openbmc/qemu/hw/xen_backend.h
/openbmc/qemu/hw/xen_common.h
/openbmc/qemu/hw/xen_disk.c
/openbmc/qemu/hw/xen_domainbuild.c
/openbmc/qemu/hw/xen_machine_pv.c
/openbmc/qemu/hw/xen_nic.c
/openbmc/qemu/hw/xilinx_axidma.c
/openbmc/qemu/kvm-all.c
/openbmc/qemu/libcacard/Makefile
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/monitor.c
/openbmc/qemu/poison.h
/openbmc/qemu/posix-aio-compat.c
/openbmc/qemu/qemu-common.h
/openbmc/qemu/qemu-config.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-os-win32.h
/openbmc/qemu/qemu-progress.c
/openbmc/qemu/qemu-tool.c
/openbmc/qemu/sysemu.h
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-cris/cpu.h
/openbmc/qemu/target-cris/translate_v10.c
/openbmc/qemu/target-i386/cpu.h
/openbmc/qemu/target-lm32/translate.c
/openbmc/qemu/target-microblaze/cpu.h
/openbmc/qemu/target-mips/exec.h
/openbmc/qemu/target-mips/helper.c
/openbmc/qemu/target-ppc/cpu.h
/openbmc/qemu/target-ppc/helper.c
/openbmc/qemu/target-ppc/helper.h
/openbmc/qemu/target-ppc/kvm.c
/openbmc/qemu/target-ppc/op_helper.c
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/target-ppc/translate_init.c
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/tests/test-i386.c
/openbmc/qemu/trace-events
/openbmc/qemu/ui/sdl.c
/openbmc/qemu/usb-linux.c
/openbmc/qemu/vl.c
/openbmc/qemu/xen-all.c
/openbmc/qemu/xen-mapcache-stub.c
/openbmc/qemu/xen-mapcache.c
/openbmc/qemu/xen-mapcache.h
/openbmc/qemu/xen-stub.c
a1c7273b28-Apr-2011 Stefan Weil <weil@mail.berlios.de>

Fix typos in comments and code (occured -> occurred and related)

The code changed here is an unused data type name (evt_flush_occurred).

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off

Fix typos in comments and code (occured -> occurred and related)

The code changed here is an unused data type name (evt_flush_occurred).

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

show more ...

ebabb67a26-Apr-2011 Stefan Weil <weil@mail.berlios.de>

Fix typo in code and comments

Replace writeable -> writable

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

d2d979c628-Apr-2011 Nick Thomas <nick@bytemark.co.uk>

NBD: Avoid leaking a couple of strings when the NBD device is closed

Signed-off-by: Nick Thomas <nick@bytemark.co.uk>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

19dfc44a24-Apr-2011 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

qed: Fix consistency check on 32-bit hosts

The qed_bytes_to_clusters() function is normally used with size_t
lengths. Consistency check used it with file size length and therefore
failed on 32-bit

qed: Fix consistency check on 32-bit hosts

The qed_bytes_to_clusters() function is normally used with size_t
lengths. Consistency check used it with file size length and therefore
failed on 32-bit hosts when the image file is 4 GB or more.

Make qed_bytes_to_clusters() explicitly 64-bit and update consistency
check to keep 64-bit cluster counts.

Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/.gitmodules
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/acl.c
/openbmc/qemu/arch_init.h
/openbmc/qemu/arm-semi.c
/openbmc/qemu/balloon.c
/openbmc/qemu/block-migration.c
qed-check.c
qed.h
/openbmc/qemu/bt-host.c
/openbmc/qemu/bt-vhci.c
/openbmc/qemu/buffered_file.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-all.h
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/cpus.h
/openbmc/qemu/device_tree.c
/openbmc/qemu/docs/tracing.txt
/openbmc/qemu/exec-all.h
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat-macros.h
/openbmc/qemu/fpu/softfloat-native.c
/openbmc/qemu/fpu/softfloat-native.h
/openbmc/qemu/fpu/softfloat-specialize.h
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/fpu/softfloat.h
/openbmc/qemu/hw/adb.c
/openbmc/qemu/hw/ads7846.c
/openbmc/qemu/hw/an5206.c
/openbmc/qemu/hw/arm_boot.c
/openbmc/qemu/hw/arm_timer.c
/openbmc/qemu/hw/armv7m.c
/openbmc/qemu/hw/armv7m_nvic.c
/openbmc/qemu/hw/axis_dev88.c
/openbmc/qemu/hw/blizzard.c
/openbmc/qemu/hw/bt-hci-csr.c
/openbmc/qemu/hw/collie.c
/openbmc/qemu/hw/cris-boot.c
/openbmc/qemu/hw/cuda.c
/openbmc/qemu/hw/dummy_m68k.c
/openbmc/qemu/hw/e1000.c
/openbmc/qemu/hw/eepro100.c
/openbmc/qemu/hw/empty_slot.c
/openbmc/qemu/hw/etraxfs.c
/openbmc/qemu/hw/flash.h
/openbmc/qemu/hw/grlib_apbuart.c
/openbmc/qemu/hw/grlib_gptimer.c
/openbmc/qemu/hw/grlib_irqmp.c
/openbmc/qemu/hw/gumstix.c
/openbmc/qemu/hw/heathrow_pic.c
/openbmc/qemu/hw/hw.h
/openbmc/qemu/hw/ide/atapi.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/ich.c
/openbmc/qemu/hw/ide/internal.h
/openbmc/qemu/hw/ide/isa.c
/openbmc/qemu/hw/ide/macio.c
/openbmc/qemu/hw/ide/microdrive.c
/openbmc/qemu/hw/ide/mmio.c
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/integratorcp.c
/openbmc/qemu/hw/isa-bus.c
/openbmc/qemu/hw/lm32_boards.c
/openbmc/qemu/hw/m48t59.c
/openbmc/qemu/hw/mac_dbdma.c
/openbmc/qemu/hw/mac_nvram.c
/openbmc/qemu/hw/mainstone.c
/openbmc/qemu/hw/max111x.c
/openbmc/qemu/hw/milkymist-pfpu.c
/openbmc/qemu/hw/mipsnet.c
/openbmc/qemu/hw/nand.c
/openbmc/qemu/hw/ne2000.c
/openbmc/qemu/hw/omap_sx1.c
/openbmc/qemu/hw/pcie.c
/openbmc/qemu/hw/pcnet-pci.c
/openbmc/qemu/hw/piix4.c
/openbmc/qemu/hw/pl011.c
/openbmc/qemu/hw/pl022.c
/openbmc/qemu/hw/ppc440_bamboo.c
/openbmc/qemu/hw/ppc4xx_devs.c
/openbmc/qemu/hw/ppc4xx_pci.c
/openbmc/qemu/hw/ppce500_pci.c
/openbmc/qemu/hw/ptimer.c
/openbmc/qemu/hw/pxa2xx.c
/openbmc/qemu/hw/pxa2xx_keypad.c
/openbmc/qemu/hw/pxa2xx_lcd.c
/openbmc/qemu/hw/rtl8139.c
/openbmc/qemu/hw/s390-virtio-bus.c
/openbmc/qemu/hw/s390-virtio.c
/openbmc/qemu/hw/stellaris.c
/openbmc/qemu/hw/stellaris_input.c
/openbmc/qemu/hw/strongarm.c
/openbmc/qemu/hw/strongarm.h
/openbmc/qemu/hw/syborg.c
/openbmc/qemu/hw/syborg_keyboard.c
/openbmc/qemu/hw/syborg_pointer.c
/openbmc/qemu/hw/syborg_rtc.c
/openbmc/qemu/hw/syborg_serial.c
/openbmc/qemu/hw/syborg_timer.c
/openbmc/qemu/hw/syborg_virtio.c
/openbmc/qemu/hw/sysbus.c
/openbmc/qemu/hw/tc58128.c
/openbmc/qemu/hw/tosa.c
/openbmc/qemu/hw/twl92230.c
/openbmc/qemu/hw/usb-hid.c
/openbmc/qemu/hw/usb-msd.c
/openbmc/qemu/hw/virtio-balloon.c
/openbmc/qemu/hw/virtio-pci.c
/openbmc/qemu/hw/virtio.c
/openbmc/qemu/hw/vmport.c
/openbmc/qemu/hw/xen_console.c
/openbmc/qemu/hw/xen_domainbuild.c
/openbmc/qemu/hw/xen_machine_pv.c
/openbmc/qemu/hw/xenfb.c
/openbmc/qemu/hw/xilinx_timer.c
/openbmc/qemu/json-lexer.c
/openbmc/qemu/kvm-stub.c
/openbmc/qemu/libcacard/vcard_emul_nss.c
/openbmc/qemu/linux-user/alpha/syscall_nr.h
/openbmc/qemu/linux-user/arm/nwfpe/fpa11.c
/openbmc/qemu/linux-user/arm/nwfpe/fpa11.h
/openbmc/qemu/linux-user/arm/nwfpe/fpa11_cpdt.c
/openbmc/qemu/linux-user/arm/nwfpe/fpa11_cprt.c
/openbmc/qemu/linux-user/ioctls.h
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/strace.list
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/migration-exec.c
/openbmc/qemu/migration-fd.c
/openbmc/qemu/migration-tcp.c
/openbmc/qemu/migration-unix.c
/openbmc/qemu/migration.h
/openbmc/qemu/net.c
/openbmc/qemu/net/dump.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/vde.c
/openbmc/qemu/osdep.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/pxe-e1000.rom
/openbmc/qemu/pc-bios/pxe-eepro100.rom
/openbmc/qemu/pc-bios/pxe-ne2k_pci.rom
/openbmc/qemu/pc-bios/pxe-pcnet.rom
/openbmc/qemu/pc-bios/pxe-rtl8139.rom
/openbmc/qemu/pc-bios/pxe-virtio.rom
/openbmc/qemu/qemu-common.h
/openbmc/qemu/qemu-config.c
/openbmc/qemu/qemu-error.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-os-win32.h
/openbmc/qemu/qemu-timer.c
/openbmc/qemu/qemu-timer.h
/openbmc/qemu/qemu-tool.c
/openbmc/qemu/roms/ipxe
/openbmc/qemu/savevm.c
/openbmc/qemu/scripts/refresh-pxe-roms.sh
/openbmc/qemu/scripts/tracetool
/openbmc/qemu/sysemu.h
/openbmc/qemu/target-alpha/op_helper.c
/openbmc/qemu/target-alpha/translate.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/helper.h
/openbmc/qemu/target-arm/iwmmxt_helper.c
/openbmc/qemu/target-arm/neon_helper.c
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-cris/op_helper.c
/openbmc/qemu/target-cris/translate.c
/openbmc/qemu/target-i386/exec.h
/openbmc/qemu/target-i386/helper.c
/openbmc/qemu/target-i386/op_helper.c
/openbmc/qemu/target-i386/ops_sse.h
/openbmc/qemu/target-i386/translate.c
/openbmc/qemu/target-lm32/op_helper.c
/openbmc/qemu/target-lm32/translate.c
/openbmc/qemu/target-m68k/op_helper.c
/openbmc/qemu/target-m68k/translate.c
/openbmc/qemu/target-microblaze/op_helper.c
/openbmc/qemu/target-microblaze/translate.c
/openbmc/qemu/target-mips/op_helper.c
/openbmc/qemu/target-mips/translate.c
/openbmc/qemu/target-ppc/op_helper.c
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/target-s390x/cpu.h
/openbmc/qemu/target-s390x/exec.h
/openbmc/qemu/target-s390x/helper.c
/openbmc/qemu/target-s390x/kvm.c
/openbmc/qemu/target-s390x/op_helper.c
/openbmc/qemu/target-s390x/translate.c
/openbmc/qemu/target-sh4/op_helper.c
/openbmc/qemu/target-sh4/translate.c
/openbmc/qemu/target-sparc/op_helper.c
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/target-unicore32/translate.c
/openbmc/qemu/tests/test-mmap.c
/openbmc/qemu/trace-events
/openbmc/qemu/translate-all.c
/openbmc/qemu/usb-linux.c
/openbmc/qemu/vl.c
2d56a54613-Apr-2011 Mitnick Lyu <mitnick.lyu@gmail.com>

vpc.c: Use get_option_parameter() does the search

Use get_option_parameter() to instead of duplicating the loop, and
use BDRV_SECTOR_SIZE to instead of 512

Signed-off-by: Mitnick Lyu <mitnick.lyu@g

vpc.c: Use get_option_parameter() does the search

Use get_option_parameter() to instead of duplicating the loop, and
use BDRV_SECTOR_SIZE to instead of 512

Signed-off-by: Mitnick Lyu <mitnick.lyu@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

21df65b617-Dec-2010 Anthony Liguori <aliguori@us.ibm.com>

qed: Add support for zero clusters

Zero clusters are similar to unallocated clusters except instead of reading
their value from a backing file when one is available, the cluster is always
read as ze

qed: Add support for zero clusters

Zero clusters are similar to unallocated clusters except instead of reading
their value from a backing file when one is available, the cluster is always
read as zero.

This implements read support only. At this stage, QED will never write a
zero cluster.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/openbmc/qemu/block-migration.c
qed-check.c
qed-cluster.c
qed.c
qed.h
/openbmc/qemu/configure
/openbmc/qemu/cpu-common.h
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/default-configs/unicore32-linux-user.mak
/openbmc/qemu/disas.c
/openbmc/qemu/docs/specs/qed_spec.txt
/openbmc/qemu/elf.h
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat-specialize.h
/openbmc/qemu/fpu/softfloat.h
/openbmc/qemu/gen-icount.h
/openbmc/qemu/hw/acpi.c
/openbmc/qemu/hw/acpi.h
/openbmc/qemu/hw/acpi_piix4.c
/openbmc/qemu/hw/fdc.c
/openbmc/qemu/hw/lan9118.c
/openbmc/qemu/hw/mips_fulong2e.c
/openbmc/qemu/hw/mips_malta.c
/openbmc/qemu/hw/multiboot.c
/openbmc/qemu/hw/musicpal.c
/openbmc/qemu/hw/pc_piix.c
/openbmc/qemu/hw/pflash_cfi02.c
/openbmc/qemu/hw/ppc.c
/openbmc/qemu/hw/ppc440_bamboo.c
/openbmc/qemu/hw/ppce500_mpc8544ds.c
/openbmc/qemu/hw/ppce500_pci.c
/openbmc/qemu/hw/qdev.c
/openbmc/qemu/hw/rc4030.c
/openbmc/qemu/hw/s390-virtio-bus.c
/openbmc/qemu/hw/s390-virtio.c
/openbmc/qemu/hw/sm501_template.h
/openbmc/qemu/hw/smbus.h
/openbmc/qemu/hw/smbus_eeprom.c
/openbmc/qemu/hw/spapr.c
/openbmc/qemu/hw/spapr.h
/openbmc/qemu/hw/spapr_llan.c
/openbmc/qemu/hw/spapr_vscsi.c
/openbmc/qemu/hw/usb-ccid.c
/openbmc/qemu/hw/usb-ohci.c
/openbmc/qemu/hw/virtio-9p.c
/openbmc/qemu/hw/virtio-balloon.c
/openbmc/qemu/hw/virtio-blk.c
/openbmc/qemu/hw/vt82c686.c
/openbmc/qemu/hw/xics.c
/openbmc/qemu/hw/xics.h
/openbmc/qemu/input.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/linux-user/unicore32/syscall.h
/openbmc/qemu/linux-user/unicore32/syscall_nr.h
/openbmc/qemu/linux-user/unicore32/target_signal.h
/openbmc/qemu/linux-user/unicore32/termbits.h
/openbmc/qemu/monitor.c
/openbmc/qemu/target-alpha/translate.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-cris/translate.c
/openbmc/qemu/target-i386/translate.c
/openbmc/qemu/target-lm32/translate.c
/openbmc/qemu/target-m68k/translate.c
/openbmc/qemu/target-microblaze/cpu.h
/openbmc/qemu/target-microblaze/helper.h
/openbmc/qemu/target-microblaze/microblaze-decode.h
/openbmc/qemu/target-microblaze/op_helper.c
/openbmc/qemu/target-microblaze/translate.c
/openbmc/qemu/target-mips/translate.c
/openbmc/qemu/target-ppc/kvm_ppc.h
/openbmc/qemu/target-ppc/op_helper.c
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/target-sh4/helper.h
/openbmc/qemu/target-sh4/op_helper.c
/openbmc/qemu/target-sh4/translate.c
/openbmc/qemu/target-sparc/translate.c
/openbmc/qemu/target-unicore32/cpu.h
/openbmc/qemu/target-unicore32/exec.h
/openbmc/qemu/target-unicore32/helper.c
/openbmc/qemu/target-unicore32/helper.h
/openbmc/qemu/target-unicore32/op_helper.c
/openbmc/qemu/target-unicore32/translate.c
/openbmc/qemu/ui/vnc-enc-tight.c
/openbmc/qemu/ui/vnc-enc-zlib.c
33897dc722-Feb-2011 Nick Thomas <nick@bytemark.co.uk>

NBD device: Separate out parsing configuration and opening sockets.

We also change the way the file parameter is parsed so IPv6 IP
addresses can be used, e.g.: "drive=nbd:[::1]:5000"

Signed-off-by:

NBD device: Separate out parsing configuration and opening sockets.

We also change the way the file parameter is parsed so IPv6 IP
addresses can be used, e.g.: "drive=nbd:[::1]:5000"

Signed-off-by: Nick Thomas <nick@bytemark.co.uk>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/block.c
/openbmc/qemu/block.h
nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-all.h
/openbmc/qemu/default-configs/lm32-softmmu.mak
/openbmc/qemu/disas.c
/openbmc/qemu/exec.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/ccid-card-passthru.c
/openbmc/qemu/hw/e1000.c
/openbmc/qemu/hw/ide.h
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/milkymist-ac97.c
/openbmc/qemu/hw/milkymist-hpdmc.c
/openbmc/qemu/hw/milkymist-hw.h
/openbmc/qemu/hw/milkymist-memcard.c
/openbmc/qemu/hw/milkymist-minimac.c
/openbmc/qemu/hw/milkymist-pfpu.c
/openbmc/qemu/hw/milkymist-softusb.c
/openbmc/qemu/hw/milkymist-sysctl.c
/openbmc/qemu/hw/milkymist-tmu2.c
/openbmc/qemu/hw/milkymist-uart.c
/openbmc/qemu/hw/milkymist-vgafb.c
/openbmc/qemu/hw/milkymist-vgafb_template.h
/openbmc/qemu/hw/milkymist.c
/openbmc/qemu/hw/mips_fulong2e.c
/openbmc/qemu/hw/mips_malta.c
/openbmc/qemu/hw/mips_r4k.c
/openbmc/qemu/hw/pc_piix.c
/openbmc/qemu/hw/ppc_newworld.c
/openbmc/qemu/hw/ppc_oldworld.c
/openbmc/qemu/hw/ppc_prep.c
/openbmc/qemu/hw/s390-virtio-bus.c
/openbmc/qemu/hw/s390-virtio-bus.h
/openbmc/qemu/hw/sun4u.c
/openbmc/qemu/hw/usb-ccid.c
/openbmc/qemu/hw/virtio-pci.c
/openbmc/qemu/hw/xen_disk.c
/openbmc/qemu/nbd.c
/openbmc/qemu/nbd.h
/openbmc/qemu/qemu-common.h
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-progress.c
/openbmc/qemu/qemu-sockets.c
/openbmc/qemu/target-arm/helpers.h
/openbmc/qemu/target-arm/iwmmxt_helper.c
/openbmc/qemu/target-arm/neon_helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-s390x/kvm.c
/openbmc/qemu/tests/cris/check_openpf1.c
/openbmc/qemu/tests/cris/check_openpf2.c
/openbmc/qemu/tests/cris/check_stat3.c
/openbmc/qemu/tests/cris/check_stat4.c
/openbmc/qemu/trace-events
/openbmc/qemu/vl.c
4ff9786c13-Mar-2011 Stefan Weil <weil@mail.berlios.de>

Fix trivial "endianness bugs"

Replace endianess -> endianness.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>


/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/audio/sdlaudio.c
vdi.c
/openbmc/qemu/configure
/openbmc/qemu/docs/ccid.txt
/openbmc/qemu/docs/libcacard.txt
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/fpu/softfloat.h
/openbmc/qemu/hw/ccid-card-emulated.c
/openbmc/qemu/hw/ccid-card-passthru.c
/openbmc/qemu/hw/ccid.h
/openbmc/qemu/hw/pcnet.c
/openbmc/qemu/hw/realview.c
/openbmc/qemu/hw/usb-ccid.c
/openbmc/qemu/hw/versatilepb.c
/openbmc/qemu/hw/vexpress.c
/openbmc/qemu/libcacard/Makefile
/openbmc/qemu/libcacard/cac.c
/openbmc/qemu/libcacard/cac.h
/openbmc/qemu/libcacard/card_7816.c
/openbmc/qemu/libcacard/card_7816.h
/openbmc/qemu/libcacard/card_7816t.h
/openbmc/qemu/libcacard/event.c
/openbmc/qemu/libcacard/eventt.h
/openbmc/qemu/libcacard/link_test.c
/openbmc/qemu/libcacard/vcard.c
/openbmc/qemu/libcacard/vcard.h
/openbmc/qemu/libcacard/vcard_emul.h
/openbmc/qemu/libcacard/vcard_emul_nss.c
/openbmc/qemu/libcacard/vcard_emul_type.c
/openbmc/qemu/libcacard/vcard_emul_type.h
/openbmc/qemu/libcacard/vcardt.h
/openbmc/qemu/libcacard/vevent.h
/openbmc/qemu/libcacard/vreader.c
/openbmc/qemu/libcacard/vreader.h
/openbmc/qemu/libcacard/vreadert.h
/openbmc/qemu/libcacard/vscard_common.h
/openbmc/qemu/libcacard/vscclient.c
/openbmc/qemu/net.c
/openbmc/qemu/qemu-thread.h
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/helpers.h
/openbmc/qemu/target-arm/neon_helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-microblaze/translate.c
/openbmc/qemu/target-mips/cpu.h
/openbmc/qemu/ui/vnc_keysym.h
/openbmc/qemu/usb-bsd.c
8cffde7310-Mar-2011 Michael Tokarev <mjt@tls.msk.ru>

get rid of private bitmap functions in block/sheepdog.c, use generic ones

qemu now has generic bitmap functions,
so don't redefine them in sheepdog.c,
use common header instead. A small cleanup.

H

get rid of private bitmap functions in block/sheepdog.c, use generic ones

qemu now has generic bitmap functions,
so don't redefine them in sheepdog.c,
use common header instead. A small cleanup.

Here's only one function which is actually
used in sheepdog and gets replaced with
a generic one (simplified):

- static inline int test_bit(int nr, const volatile unsigned long *addr)
+ static inline int test_bit(int nr, const unsigned long *addr)
{
- return ((1UL << (nr % BITS_PER_LONG))
& ((unsigned long*)addr)[nr / BITS_PER_LONG])) != 0;
+ return 1UL & (addr[nr / BITS_PER_LONG] >> (nr & (BITS_PER_LONG-1)));
}

The body is equivalent, but the argument is not: there's
"volatile" in there. Why it is used for - I'm not sure.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Acked-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

show more ...


/openbmc/qemu/.gitmodules
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/spiceaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/block.c
sheepdog.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/buffered_file.c
/openbmc/qemu/configure
/openbmc/qemu/console.c
/openbmc/qemu/console.h
/openbmc/qemu/cpu-all.h
/openbmc/qemu/cpu-common.h
/openbmc/qemu/cpu-defs.h
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/default-configs/microblaze-softmmu.mak
/openbmc/qemu/default-configs/microblazeel-softmmu.mak
/openbmc/qemu/default-configs/x86_64-softmmu.mak
/openbmc/qemu/device_tree.c
/openbmc/qemu/device_tree.h
/openbmc/qemu/docs/specs/qcow2.txt
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat-macros.h
/openbmc/qemu/fpu/softfloat-native.c
/openbmc/qemu/fpu/softfloat-specialize.h
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/fpu/softfloat.h
/openbmc/qemu/hw/acpi_piix4.c
/openbmc/qemu/hw/adlib.c
/openbmc/qemu/hw/apic.c
/openbmc/qemu/hw/applesmc.c
/openbmc/qemu/hw/arm_sysctl.c
/openbmc/qemu/hw/armv7m_nvic.c
/openbmc/qemu/hw/baum.c
/openbmc/qemu/hw/bt-hci-csr.c
/openbmc/qemu/hw/bt-hci.c
/openbmc/qemu/hw/cuda.c
/openbmc/qemu/hw/dp8393x.c
/openbmc/qemu/hw/e1000.c
/openbmc/qemu/hw/etraxfs_timer.c
/openbmc/qemu/hw/fdc.c
/openbmc/qemu/hw/hpet.c
/openbmc/qemu/hw/i8254.c
/openbmc/qemu/hw/i8259.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/intel-hda.c
/openbmc/qemu/hw/lan9118.c
/openbmc/qemu/hw/lm832x.c
/openbmc/qemu/hw/lsi53c895a.c
/openbmc/qemu/hw/m48t59.c
/openbmc/qemu/hw/mc146818rtc.c
/openbmc/qemu/hw/mips_timer.c
/openbmc/qemu/hw/mpcore.c
/openbmc/qemu/hw/omap1.c
/openbmc/qemu/hw/omap_gptimer.c
/openbmc/qemu/hw/omap_synctimer.c
/openbmc/qemu/hw/pc.c
/openbmc/qemu/hw/pci-hotplug.c
/openbmc/qemu/hw/pci.c
/openbmc/qemu/hw/pci.h
/openbmc/qemu/hw/pci_host.c
/openbmc/qemu/hw/pci_internals.h
/openbmc/qemu/hw/pcie_host.c
/openbmc/qemu/hw/pcnet.c
/openbmc/qemu/hw/pcspk.c
/openbmc/qemu/hw/petalogix_ml605_mmu.c
/openbmc/qemu/hw/pflash_cfi01.c
/openbmc/qemu/hw/pflash_cfi02.c
/openbmc/qemu/hw/pl031.c
/openbmc/qemu/hw/ppc-viosrp.h
/openbmc/qemu/hw/ppc.c
/openbmc/qemu/hw/ppc.h
/openbmc/qemu/hw/ppc405_uc.c
/openbmc/qemu/hw/ppc_prep.c
/openbmc/qemu/hw/ptimer.c
/openbmc/qemu/hw/pxa2xx.c
/openbmc/qemu/hw/pxa2xx_timer.c
/openbmc/qemu/hw/qdev-properties.c
/openbmc/qemu/hw/rc4030.c
/openbmc/qemu/hw/rtl8139.c
/openbmc/qemu/hw/sb16.c
/openbmc/qemu/hw/serial.c
/openbmc/qemu/hw/soc_dma.c
/openbmc/qemu/hw/spapr.c
/openbmc/qemu/hw/spapr.h
/openbmc/qemu/hw/spapr_hcall.c
/openbmc/qemu/hw/spapr_llan.c
/openbmc/qemu/hw/spapr_rtas.c
/openbmc/qemu/hw/spapr_vio.c
/openbmc/qemu/hw/spapr_vio.h
/openbmc/qemu/hw/spapr_vscsi.c
/openbmc/qemu/hw/spapr_vty.c
/openbmc/qemu/hw/spitz.c
/openbmc/qemu/hw/srp.h
/openbmc/qemu/hw/stellaris.c
/openbmc/qemu/hw/sun4u.c
/openbmc/qemu/hw/syborg_rtc.c
/openbmc/qemu/hw/tsc2005.c
/openbmc/qemu/hw/tsc210x.c
/openbmc/qemu/hw/tusb6010.c
/openbmc/qemu/hw/twl92230.c
/openbmc/qemu/hw/usb-hid.c
/openbmc/qemu/hw/usb-musb.c
/openbmc/qemu/hw/usb-ohci.c
/openbmc/qemu/hw/usb-uhci.c
/openbmc/qemu/hw/vga.c
/openbmc/qemu/hw/vhost.c
/openbmc/qemu/hw/virtio-console.c
/openbmc/qemu/hw/virtio-net.c
/openbmc/qemu/hw/virtio-pci.c
/openbmc/qemu/hw/virtio-serial-bus.c
/openbmc/qemu/hw/virtio-serial.h
/openbmc/qemu/hw/virtio.h
/openbmc/qemu/hw/vmmouse.c
/openbmc/qemu/hw/vt82c686.c
/openbmc/qemu/hw/wdt_i6300esb.c
/openbmc/qemu/hw/wdt_ib700.c
/openbmc/qemu/hw/xen_disk.c
/openbmc/qemu/hw/xen_domainbuild.c
/openbmc/qemu/hw/xics.c
/openbmc/qemu/hw/xics.h
/openbmc/qemu/hw/xilinx.h
/openbmc/qemu/hw/xilinx_axidma.c
/openbmc/qemu/hw/xilinx_axidma.h
/openbmc/qemu/hw/xilinx_axienet.c
/openbmc/qemu/iohandler.c
/openbmc/qemu/kvm-all.c
/openbmc/qemu/kvm.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/migration-tcp.c
/openbmc/qemu/migration-unix.c
/openbmc/qemu/monitor.c
/openbmc/qemu/net/dump.c
/openbmc/qemu/os-posix.c
/openbmc/qemu/os-win32.c
/openbmc/qemu/osdep.h
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/linuxboot.bin
/openbmc/qemu/pc-bios/multiboot.bin
/openbmc/qemu/pc-bios/optionrom/linuxboot.S
/openbmc/qemu/pc-bios/optionrom/multiboot.S
/openbmc/qemu/pc-bios/optionrom/optionrom.h
/openbmc/qemu/pc-bios/petalogix-ml605.dtb
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/pc-bios/spapr-rtas.bin
/openbmc/qemu/pc-bios/spapr-rtas/Makefile
/openbmc/qemu/pc-bios/spapr-rtas/spapr-rtas.S
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-char.h
/openbmc/qemu/qemu-common.h
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-thread-posix.c
/openbmc/qemu/qemu-thread-win32.c
/openbmc/qemu/qemu-thread.h
/openbmc/qemu/qemu-timer.c
/openbmc/qemu/qemu-timer.h
/openbmc/qemu/qemu-tool.c
/openbmc/qemu/qerror.h
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/seabios
/openbmc/qemu/savevm.c
/openbmc/qemu/simpletrace.c
/openbmc/qemu/simpletrace.h
/openbmc/qemu/slirp/misc.c
/openbmc/qemu/slirp/slirp.c
/openbmc/qemu/sysemu.h
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-i386/cpu.h
/openbmc/qemu/target-i386/cpuid.c
/openbmc/qemu/target-i386/exec.h
/openbmc/qemu/target-i386/helper.c
/openbmc/qemu/target-i386/kvm.c
/openbmc/qemu/target-lm32/translate.c
/openbmc/qemu/target-ppc/cpu.h
/openbmc/qemu/target-ppc/helper.c
/openbmc/qemu/target-ppc/helper.h
/openbmc/qemu/target-ppc/kvm.c
/openbmc/qemu/target-ppc/kvm_ppc.c
/openbmc/qemu/target-ppc/kvm_ppc.h
/openbmc/qemu/target-ppc/machine.c
/openbmc/qemu/target-ppc/op_helper.c
/openbmc/qemu/target-ppc/translate.c
/openbmc/qemu/target-ppc/translate_init.c
/openbmc/qemu/target-s390x/kvm.c
/openbmc/qemu/tcg/arm/tcg-target.c
/openbmc/qemu/ui/sdl.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/vnc-palette.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/usb-linux.c
/openbmc/qemu/vl.c
5614c18819-Feb-2011 Stefan Weil <weil@mail.berlios.de>

block/qcow: Don't ignore immediate read/write and other failures

This patch is similar to 171e3d6b9997c98a97d0c525867f7cd9b640cadd
which fixed qcow2:

Returning -EIO is far from optimal, but at leas

block/qcow: Don't ignore immediate read/write and other failures

This patch is similar to 171e3d6b9997c98a97d0c525867f7cd9b640cadd
which fixed qcow2:

Returning -EIO is far from optimal, but at least it's an error code.

In addition to read/write failures, -EIO is also returned when
decompress_cluster failed.

Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

40a892b719-Feb-2011 Stefan Weil <weil@mail.berlios.de>

block/vdi: Don't ignore immediate read/write failures

This patch is similar to 171e3d6b9997c98a97d0c525867f7cd9b640cadd
which fixed qcow2:

Returning -EIO is far from optimal, but at least it's an e

block/vdi: Don't ignore immediate read/write failures

This patch is similar to 171e3d6b9997c98a97d0c525867f7cd9b640cadd
which fixed qcow2:

Returning -EIO is far from optimal, but at least it's an error code.

Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/HACKING
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/arch_init.c
/openbmc/qemu/arch_init.h
/openbmc/qemu/bitmap.c
/openbmc/qemu/bitmap.h
/openbmc/qemu/bitops.c
/openbmc/qemu/bitops.h
/openbmc/qemu/block.c
/openbmc/qemu/block.h
vdi.c
/openbmc/qemu/check-qdict.c
/openbmc/qemu/compatfd.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-all.h
/openbmc/qemu/cpu-common.h
/openbmc/qemu/cpu-defs.h
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/cpus.h
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/lm32-softmmu.mak
/openbmc/qemu/default-configs/microblazeel-linux-user.mak
/openbmc/qemu/default-configs/microblazeel-softmmu.mak
/openbmc/qemu/default-configs/x86_64-softmmu.mak
/openbmc/qemu/docs/tracing.txt
/openbmc/qemu/elf.h
/openbmc/qemu/exec-all.h
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat-specialize.h
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/fpu/softfloat.h
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/apic.c
/openbmc/qemu/hw/arm_boot.c
/openbmc/qemu/hw/arm_gic.c
/openbmc/qemu/hw/arm_sysctl.c
/openbmc/qemu/hw/cirrus_vga.c
/openbmc/qemu/hw/e1000.c
/openbmc/qemu/hw/fdc.c
/openbmc/qemu/hw/fdc.h
/openbmc/qemu/hw/fmopl.c
/openbmc/qemu/hw/grackle_pci.c
/openbmc/qemu/hw/gt64xxx.c
/openbmc/qemu/hw/hpet.c
/openbmc/qemu/hw/hw.h
/openbmc/qemu/hw/i2c.h
/openbmc/qemu/hw/i8254.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/piix.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/irq.c
/openbmc/qemu/hw/irq.h
/openbmc/qemu/hw/isa-bus.c
/openbmc/qemu/hw/isa.h
/openbmc/qemu/hw/kvmclock.c
/openbmc/qemu/hw/kvmclock.h
/openbmc/qemu/hw/lm32.h
/openbmc/qemu/hw/lm32_boards.c
/openbmc/qemu/hw/lm32_hwsetup.h
/openbmc/qemu/hw/lm32_juart.c
/openbmc/qemu/hw/lm32_juart.h
/openbmc/qemu/hw/lm32_pic.c
/openbmc/qemu/hw/lm32_pic.h
/openbmc/qemu/hw/lm32_sys.c
/openbmc/qemu/hw/lm32_timer.c
/openbmc/qemu/hw/lm32_uart.c
/openbmc/qemu/hw/lsi53c895a.c
/openbmc/qemu/hw/mainstone.c
/openbmc/qemu/hw/max7310.c
/openbmc/qemu/hw/mips_fulong2e.c
/openbmc/qemu/hw/mips_jazz.c
/openbmc/qemu/hw/mips_malta.c
/openbmc/qemu/hw/mips_r4k.c
/openbmc/qemu/hw/mst_fpga.c
/openbmc/qemu/hw/ne2000-isa.c
/openbmc/qemu/hw/parallel.c
/openbmc/qemu/hw/pc.c
/openbmc/qemu/hw/pc.h
/openbmc/qemu/hw/pc_piix.c
/openbmc/qemu/hw/pci.c
/openbmc/qemu/hw/pci.h
/openbmc/qemu/hw/pcie_aer.c
/openbmc/qemu/hw/pcnet.c
/openbmc/qemu/hw/pcspk.c
/openbmc/qemu/hw/petalogix_s3adsp1800_mmu.c
/openbmc/qemu/hw/pl061.c
/openbmc/qemu/hw/pl181.c
/openbmc/qemu/hw/ppc.c
/openbmc/qemu/hw/ppc405_boards.c
/openbmc/qemu/hw/ppc_prep.c
/openbmc/qemu/hw/primecell.h
/openbmc/qemu/hw/ps2.c
/openbmc/qemu/hw/pxa.h
/openbmc/qemu/hw/pxa2xx.c
/openbmc/qemu/hw/pxa2xx_dma.c
/openbmc/qemu/hw/pxa2xx_gpio.c
/openbmc/qemu/hw/pxa2xx_keypad.c
/openbmc/qemu/hw/pxa2xx_mmci.c
/openbmc/qemu/hw/pxa2xx_pic.c
/openbmc/qemu/hw/pxa2xx_timer.c
/openbmc/qemu/hw/qdev-properties.c
/openbmc/qemu/hw/qdev.c
/openbmc/qemu/hw/qdev.h
/openbmc/qemu/hw/realview.c
/openbmc/qemu/hw/rtl8139.c
/openbmc/qemu/hw/s390-virtio.c
/openbmc/qemu/hw/scsi-disk.c
/openbmc/qemu/hw/sd.c
/openbmc/qemu/hw/serial.c
/openbmc/qemu/hw/stellaris.c
/openbmc/qemu/hw/sun4m.c
/openbmc/qemu/hw/sun4u.c
/openbmc/qemu/hw/sysbus.c
/openbmc/qemu/hw/sysbus.h
/openbmc/qemu/hw/tc6393xb.c
/openbmc/qemu/hw/tosa.c
/openbmc/qemu/hw/unin_pci.c
/openbmc/qemu/hw/vga-isa.c
/openbmc/qemu/hw/vga.c
/openbmc/qemu/hw/vga_int.h
/openbmc/qemu/hw/vhost.c
/openbmc/qemu/hw/virtio-blk.c
/openbmc/qemu/hw/virtio-console.c
/openbmc/qemu/hw/virtio-net.c
/openbmc/qemu/hw/virtio-serial-bus.c
/openbmc/qemu/hw/virtio-serial.h
/openbmc/qemu/hw/vmmouse.c
/openbmc/qemu/hw/vmport.c
/openbmc/qemu/hw/vmware_vga.c
/openbmc/qemu/hw/vmware_vga.h
/openbmc/qemu/hw/watchdog.c
/openbmc/qemu/hw/xilinx_ethlite.c
/openbmc/qemu/hw/zaurus.c
/openbmc/qemu/ioport.c
/openbmc/qemu/kvm-all.c
/openbmc/qemu/kvm-stub.c
/openbmc/qemu/kvm.h
/openbmc/qemu/linux-user/arm/nwfpe/fpa11_cpdt.c
/openbmc/qemu/linux-user/arm/nwfpe/fpopcode.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/strace.list
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/migration.c
/openbmc/qemu/monitor.c
/openbmc/qemu/net.c
/openbmc/qemu/net/socket.c
/openbmc/qemu/net/tap-win32.c
/openbmc/qemu/os-win32.c
/openbmc/qemu/osdep.h
/openbmc/qemu/oslib-win32.c
/openbmc/qemu/poison.h
/openbmc/qemu/posix-aio-compat.c
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-common.h
/openbmc/qemu/qemu-lock.h
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-thread-posix.c
/openbmc/qemu/qemu-thread-posix.h
/openbmc/qemu/qemu-thread-win32.c
/openbmc/qemu/qemu-thread-win32.h
/openbmc/qemu/qemu-thread.h
/openbmc/qemu/qemu-timer.c
/openbmc/qemu/qemu_socket.h
/openbmc/qemu/savevm.c
/openbmc/qemu/scripts/simpletrace.py
/openbmc/qemu/scripts/tracetool
/openbmc/qemu/simpletrace.c
/openbmc/qemu/simpletrace.h
/openbmc/qemu/slirp/bootp.c
/openbmc/qemu/slirp/mbuf.c
/openbmc/qemu/slirp/tftp.c
/openbmc/qemu/slirp/tftp.h
/openbmc/qemu/sysemu.h
/openbmc/qemu/target-alpha/exec.h
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/exec.h
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/helpers.h
/openbmc/qemu/target-arm/machine.c
/openbmc/qemu/target-arm/neon_helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-cris/exec.h
/openbmc/qemu/target-i386/cpu.h
/openbmc/qemu/target-i386/exec.h
/openbmc/qemu/target-i386/kvm.c
/openbmc/qemu/target-lm32/README
/openbmc/qemu/target-lm32/TODO
/openbmc/qemu/target-lm32/cpu.h
/openbmc/qemu/target-lm32/exec.h
/openbmc/qemu/target-lm32/helper.c
/openbmc/qemu/target-lm32/helper.h
/openbmc/qemu/target-lm32/lm32-decode.h
/openbmc/qemu/target-lm32/machine.c
/openbmc/qemu/target-lm32/op_helper.c
/openbmc/qemu/target-lm32/translate.c
/openbmc/qemu/target-m68k/exec.h
/openbmc/qemu/target-microblaze/cpu.h
/openbmc/qemu/target-microblaze/exec.h
/openbmc/qemu/target-mips/exec.h
/openbmc/qemu/target-ppc/exec.h
/openbmc/qemu/target-ppc/kvm.c
/openbmc/qemu/target-ppc/translate_init.c
/openbmc/qemu/target-s390x/exec.h
/openbmc/qemu/target-s390x/kvm.c
/openbmc/qemu/target-sh4/cpu.h
/openbmc/qemu/target-sh4/exec.h
/openbmc/qemu/target-sh4/helper.c
/openbmc/qemu/target-sh4/op_helper.c
/openbmc/qemu/target-sparc/exec.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile
/openbmc/qemu/tests/linux-test.c
/openbmc/qemu/tests/lm32/Makefile
/openbmc/qemu/tests/lm32/crt.S
/openbmc/qemu/tests/lm32/linker.ld
/openbmc/qemu/tests/lm32/macros.inc
/openbmc/qemu/tests/lm32/test_add.S
/openbmc/qemu/tests/lm32/test_addi.S
/openbmc/qemu/tests/lm32/test_and.S
/openbmc/qemu/tests/lm32/test_andhi.S
/openbmc/qemu/tests/lm32/test_andi.S
/openbmc/qemu/tests/lm32/test_b.S
/openbmc/qemu/tests/lm32/test_be.S
/openbmc/qemu/tests/lm32/test_bg.S
/openbmc/qemu/tests/lm32/test_bge.S
/openbmc/qemu/tests/lm32/test_bgeu.S
/openbmc/qemu/tests/lm32/test_bgu.S
/openbmc/qemu/tests/lm32/test_bi.S
/openbmc/qemu/tests/lm32/test_bne.S
/openbmc/qemu/tests/lm32/test_break.S
/openbmc/qemu/tests/lm32/test_bret.S
/openbmc/qemu/tests/lm32/test_call.S
/openbmc/qemu/tests/lm32/test_calli.S
/openbmc/qemu/tests/lm32/test_cmpe.S
/openbmc/qemu/tests/lm32/test_cmpei.S
/openbmc/qemu/tests/lm32/test_cmpg.S
/openbmc/qemu/tests/lm32/test_cmpge.S
/openbmc/qemu/tests/lm32/test_cmpgei.S
/openbmc/qemu/tests/lm32/test_cmpgeu.S
/openbmc/qemu/tests/lm32/test_cmpgeui.S
/openbmc/qemu/tests/lm32/test_cmpgi.S
/openbmc/qemu/tests/lm32/test_cmpgu.S
/openbmc/qemu/tests/lm32/test_cmpgui.S
/openbmc/qemu/tests/lm32/test_cmpne.S
/openbmc/qemu/tests/lm32/test_cmpnei.S
/openbmc/qemu/tests/lm32/test_divu.S
/openbmc/qemu/tests/lm32/test_eret.S
/openbmc/qemu/tests/lm32/test_lb.S
/openbmc/qemu/tests/lm32/test_lbu.S
/openbmc/qemu/tests/lm32/test_lh.S
/openbmc/qemu/tests/lm32/test_lhu.S
/openbmc/qemu/tests/lm32/test_lw.S
/openbmc/qemu/tests/lm32/test_modu.S
/openbmc/qemu/tests/lm32/test_mul.S
/openbmc/qemu/tests/lm32/test_muli.S
/openbmc/qemu/tests/lm32/test_nor.S
/openbmc/qemu/tests/lm32/test_nori.S
/openbmc/qemu/tests/lm32/test_or.S
/openbmc/qemu/tests/lm32/test_orhi.S
/openbmc/qemu/tests/lm32/test_ori.S
/openbmc/qemu/tests/lm32/test_ret.S
/openbmc/qemu/tests/lm32/test_sb.S
/openbmc/qemu/tests/lm32/test_scall.S
/openbmc/qemu/tests/lm32/test_sextb.S
/openbmc/qemu/tests/lm32/test_sexth.S
/openbmc/qemu/tests/lm32/test_sh.S
/openbmc/qemu/tests/lm32/test_sl.S
/openbmc/qemu/tests/lm32/test_sli.S
/openbmc/qemu/tests/lm32/test_sr.S
/openbmc/qemu/tests/lm32/test_sri.S
/openbmc/qemu/tests/lm32/test_sru.S
/openbmc/qemu/tests/lm32/test_srui.S
/openbmc/qemu/tests/lm32/test_sub.S
/openbmc/qemu/tests/lm32/test_sw.S
/openbmc/qemu/tests/lm32/test_xnor.S
/openbmc/qemu/tests/lm32/test_xnori.S
/openbmc/qemu/tests/lm32/test_xor.S
/openbmc/qemu/tests/lm32/test_xori.S
/openbmc/qemu/trace-events
/openbmc/qemu/ui/vnc-enc-tight.c
/openbmc/qemu/ui/vnc-enc-zrle-template.c
/openbmc/qemu/ui/vnc-enc-zrle.c
/openbmc/qemu/ui/vnc-enc-zrle.h
/openbmc/qemu/ui/vnc-enc-zywrle-template.c
/openbmc/qemu/ui/vnc-enc-zywrle.h
/openbmc/qemu/ui/vnc-jobs-async.c
/openbmc/qemu/ui/vnc-palette.c
/openbmc/qemu/ui/vnc-palette.h
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/vnc.h
/openbmc/qemu/vl.c
16fde5f209-Feb-2011 Kevin Wolf <kwolf@redhat.com>

qcow2: Fix order in L2 table COW

When copying L2 tables (this happens only with internal snapshots), the order
wasn't completely safe, so that after a crash you could end up with a L2 table
that has

qcow2: Fix order in L2 table COW

When copying L2 tables (this happens only with internal snapshots), the order
wasn't completely safe, so that after a crash you could end up with a L2 table
that has too low refcount, possibly leading to corruption in the long run.

This patch puts the operations in the right order: First allocate the new
L2 table and replace the reference, and only then decrease the refcount of the
old table.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

10b758e809-Feb-2011 Kevin Wolf <kwolf@redhat.com>

qed: Report error for unsupported features

Instead of just returning -ENOTSUP, generate a more detailed error.

Unfortunately we don't have a helpful text for features that we don't know yet,
so jus

qed: Report error for unsupported features

Instead of just returning -ENOTSUP, generate a more detailed error.

Unfortunately we don't have a helpful text for features that we don't know yet,
so just print the feature mask. It might be useful at least if someone asks for
help.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Acked-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

show more ...

e8cdcec109-Feb-2011 Kevin Wolf <kwolf@redhat.com>

qcow2: Report error for version > 2

The qcow2 driver is now declared responsible for any QCOW image that has
version 2 or greater (before this, version 3 would be detected as raw).

For everything n

qcow2: Report error for version > 2

The qcow2 driver is now declared responsible for any QCOW image that has
version 2 or greater (before this, version 3 would be detected as raw).

For everything newer than version 2, an error is reported.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>

show more ...

8af3648809-Feb-2011 Kevin Wolf <kwolf@redhat.com>

qcow2: Fix error handling for reading compressed clusters

When reading a compressed cluster failed, qcow2 falsely returned success.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus

qcow2: Fix error handling for reading compressed clusters

When reading a compressed cluster failed, qcow2 falsely returned success.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>

show more ...

3ab4c7e908-Feb-2011 Kevin Wolf <kwolf@redhat.com>

qcow2: Fix error handling for immediate backing file read failure

Requests could return success even though they failed when bdrv_aio_readv
returned NULL for a backing file read.

Reported-by: Chunq

qcow2: Fix error handling for immediate backing file read failure

Requests could return success even though they failed when bdrv_aio_readv
returned NULL for a backing file read.

Reported-by: Chunqiang Tang <ctang@us.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

e0d9c6f903-Feb-2011 Chunqiang Tang <ctang@us.ibm.com>

QCOW2: bug fix - read base image beyond its size

This patch fixes the following bug in QCOW2. For a QCOW2 image that is larger
than its base image, when handling a read request straddling over the e

QCOW2: bug fix - read base image beyond its size

This patch fixes the following bug in QCOW2. For a QCOW2 image that is larger
than its base image, when handling a read request straddling over the end of the
base image, the QCOW2 driver attempts to read beyond the end of the base image
and the request would fail.

This bug was found by Fast Virtual Disk (FVD)'s fully automated testing tool.
The following test triggered the bug.

dd if=/dev/zero of=/var/ramdisk/truth.raw count=0 bs=1 seek=1098561536
dd if=/dev/zero of=/var/ramdisk/zero-500M.raw count=0 bs=1 seek=593099264
./qemu-img create -f qcow2 -ocluster_size=65536,backing_fmt=blksim -b /var/ramdisk/zero-500M.raw /var/ramdisk/test.qcow2 1098561536
./qemu-io --auto --seed=30477694 --truth=/var/ramdisk/truth.raw --format=qcow2 --test=blksim:/var/ramdisk/test.qcow2 --verify_write=true --compare_before=false --compare_after=true --round=100000 --parallel=100 --io_size=10485760 --fail_prob=0 --cancel_prob=0 --instant_qemubh=true

Signed-off-by: Chunqiang Tang <ctang@us.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

4f3669ea04-Feb-2011 Stefan Weil <weil@mail.berlios.de>

block/vdi: Fix wrong size in conditionally used memset, memcmp

Error report from cppcheck:
block/vdi.c:122: error: Using sizeof for array given as function argument returns the size of pointer.
bloc

block/vdi: Fix wrong size in conditionally used memset, memcmp

Error report from cppcheck:
block/vdi.c:122: error: Using sizeof for array given as function argument returns the size of pointer.
block/vdi.c:128: error: Using sizeof for array given as function argument returns the size of pointer.

Fix both by setting the correct size.

The buggy code is only used when QEMU is build without uuid support.
The bug is not critical, so there is no urgent need to apply it to
old versions of QEMU.

Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

e1a7107f27-Jan-2011 Kevin Wolf <kwolf@redhat.com>

qcow2: Really use cache=unsafe for image creation

For cache=unsafe we also need to set BDRV_O_CACHE_WB, otherwise we have some
strange unsafe writethrough mode.

Signed-off-by: Kevin Wolf <kwolf@red

qcow2: Really use cache=unsafe for image creation

For cache=unsafe we also need to set BDRV_O_CACHE_WB, otherwise we have some
strange unsafe writethrough mode.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile.objs
/openbmc/qemu/VERSION
qcow2.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockdev.h
/openbmc/qemu/configure
/openbmc/qemu/console.c
/openbmc/qemu/console.h
/openbmc/qemu/cpu-all.h
/openbmc/qemu/cpus.c
/openbmc/qemu/docs/bootindex.txt
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/apic.c
/openbmc/qemu/hw/device-hotplug.c
/openbmc/qemu/hw/hw.h
/openbmc/qemu/hw/ide.h
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ioapic.c
/openbmc/qemu/hw/ioapic.h
/openbmc/qemu/hw/leon3.c
/openbmc/qemu/hw/pci.c
/openbmc/qemu/hw/pl181.c
/openbmc/qemu/hw/qdev.c
/openbmc/qemu/hw/qdev.h
/openbmc/qemu/hw/qxl.c
/openbmc/qemu/hw/qxl.h
/openbmc/qemu/hw/scsi.h
/openbmc/qemu/hw/slavio_intctl.c
/openbmc/qemu/hw/ssi-sd.c
/openbmc/qemu/hw/usb-bus.c
/openbmc/qemu/hw/usb-hid.c
/openbmc/qemu/hw/usb-hub.c
/openbmc/qemu/hw/usb-msd.c
/openbmc/qemu/hw/usb.h
/openbmc/qemu/hw/vhost.c
/openbmc/qemu/hw/vhost.h
/openbmc/qemu/hw/vhost_net.c
/openbmc/qemu/hw/vhost_net.h
/openbmc/qemu/hw/virtio-console.c
/openbmc/qemu/hw/virtio-net.c
/openbmc/qemu/hw/virtio-pci.c
/openbmc/qemu/hw/virtio-serial-bus.c
/openbmc/qemu/hw/virtio-serial.h
/openbmc/qemu/hw/virtio.h
/openbmc/qemu/kvm-all.c
/openbmc/qemu/kvm-stub.c
/openbmc/qemu/kvm.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/migration.c
/openbmc/qemu/migration.h
/openbmc/qemu/monitor.c
/openbmc/qemu/net/tap-linux.c
/openbmc/qemu/net/tap.c
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/qemu-char.c
/openbmc/qemu/qemu-char.h
/openbmc/qemu/qemu-common.h
/openbmc/qemu/qemu-config.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-timer.c
/openbmc/qemu/qmp-commands.hx
/openbmc/qemu/roms/seabios
/openbmc/qemu/savevm.c
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/spice-qemu-char.c
/openbmc/qemu/target-arm/cpu.h
/openbmc/qemu/target-arm/helper.c
/openbmc/qemu/target-arm/helpers.h
/openbmc/qemu/target-arm/neon_helper.c
/openbmc/qemu/target-arm/op_helper.c
/openbmc/qemu/target-arm/translate.c
/openbmc/qemu/target-i386/cpu.h
/openbmc/qemu/target-i386/cpuid.c
/openbmc/qemu/target-i386/helper.c
/openbmc/qemu/target-i386/kvm.c
/openbmc/qemu/target-i386/kvm_x86.h
/openbmc/qemu/target-ppc/kvm.c
/openbmc/qemu/target-s390x/kvm.c
/openbmc/qemu/target-sh4/translate.c
/openbmc/qemu/target-sparc/cpu.h
/openbmc/qemu/target-sparc/helper.c
/openbmc/qemu/target-sparc/op_helper.c
/openbmc/qemu/trace-events
/openbmc/qemu/ui/qemu-spice.h
/openbmc/qemu/ui/sdl.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/vnc-jobs-async.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/vl.c
1869a65329-Jan-2011 Blue Swirl <blauwirbel@gmail.com>

qcow2-refcount: remove write-only variables

Variables l2_modified and l2_size are not really used, remove them.
Spotted by GCC 4.6.0:
CC block/qcow2-refcount.o
/src/qemu/block/qcow2-refcount.c:

qcow2-refcount: remove write-only variables

Variables l2_modified and l2_size are not really used, remove them.
Spotted by GCC 4.6.0:
CC block/qcow2-refcount.o
/src/qemu/block/qcow2-refcount.c: In function 'qcow2_update_snapshot_refcount':
/src/qemu/block/qcow2-refcount.c:708:37: error: variable 'l2_modified' set but not used [-Werror=unused-but-set-variable]
/src/qemu/block/qcow2-refcount.c:708:9: error: variable 'l2_size' set but not used [-Werror=unused-but-set-variable]

CC: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

1b40bbd128-Jan-2011 Kevin Wolf <kwolf@redhat.com>

raw-win32: Fix bdrv_flush return value

Signed-off-by: Kevin Wolf <kwolf@redhat.com>

0d09c79728-Jan-2011 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

qed: Images with backing file do not require QED_F_NEED_CHECK

The consistency check on open is necessary in order to fix inconsistent
table offsets left as a result of a crash mid-operation. Images

qed: Images with backing file do not require QED_F_NEED_CHECK

The consistency check on open is necessary in order to fix inconsistent
table offsets left as a result of a crash mid-operation. Images with a
backing file actually flush before updating table offsets and are
therefore guaranteed to be consistent. Do not mark these images dirty.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

5ea929e326-Jan-2011 Kevin Wolf <kwolf@redhat.com>

qcow2: Add bdrv_discard support

This adds a bdrv_discard function to qcow2 that frees the discarded clusters.
It does not yet pass the discard on to the underlying file system driver, but
the space

qcow2: Add bdrv_discard support

This adds a bdrv_discard function to qcow2 that frees the discarded clusters.
It does not yet pass the discard on to the underlying file system driver, but
the space can be reused by future writes to the image.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

show more ...

1...<<231232233234235236237238239240>>...248