QEMU With E2K User Support
Go to file
Paolo Bonzini 9e8f1835ea block: implement BDRV_O_UNMAP
It is better to present homogeneous hardware independent of the storage
technology that is chosen on the host, hence we make discard a host
parameter; the user can choose whether to pass it down to the image
format and protocol, or to ignore it.

Using DISCARD with filesystems can cause very severe fragmentation, so it
is left default-off for now.  This can change later when we implement the
"anchor" operation for efficient management of preallocated files.

There is still one choice to make: whether DISCARD has an effect on the
dirty bitmap or not.  I chose yes, though there is a disadvantage: if
the guest is buggy and issues discards for data that is in use, there
will be no way to migrate storage for that guest without downgrading
the machine type to an older one.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-02-22 21:29:42 +01:00
audio audio: Replace non-portable asprintf in debug code by g_strdup_printf 2013-01-16 12:03:26 -06:00
backends
block qcow2: support compressed clusters in BlockFragInfo 2013-02-22 21:21:09 +01:00
bsd-user qemu-log: Rename the public-facing cpu_set_log function to qemu_set_log 2013-02-16 10:44:44 +00:00
default-configs make usb devices configurable 2013-02-19 12:28:48 +01:00
disas build: remove universal-obj-y 2013-01-26 13:15:35 +00:00
docs trace: Fix location of simpletrace.py in docs 2013-02-05 21:52:55 +01:00
fpu softfloat: Handle float_muladd_negate_c when product is zero 2013-01-26 13:22:09 +00:00
fsdev virtfs-proxy-helper: Fix unchecked strdup() by conv. to g_strdup() 2013-01-30 11:14:46 +01:00
gdb-xml
hw unbreak hw/usb/redirect.c build 2013-02-22 09:53:56 -06:00
include block: implement BDRV_O_UNMAP 2013-02-22 21:29:42 +01:00
ldscripts
libcacard libcacard: Fix unchecked strdup() by converting to g_strdup() 2013-01-30 11:14:46 +01:00
linux-headers Update Linux kernel headers 2013-01-18 19:06:57 +01:00
linux-user cpu: Move running field to CPUState 2013-02-16 14:51:00 +01:00
net net: Avoid NULL function pointer dereference on cleanup 2013-02-13 11:57:25 -06:00
pc-bios Revert "Update OpenBIOS images" 2013-02-14 08:58:30 -06:00
pixman@97336fad32
po gtk: add translation support (v5) 2013-02-21 16:34:48 -06:00
qapi qapi: Fix unchecked strdup() by converting to g_strdup() 2013-01-30 11:14:46 +01:00
qga qemu-ga: Fix unchecked strdup() by converting to g_strdup() 2013-01-30 11:14:46 +01:00
QMP
qobject
qom qom/object.c: Allow itf cast with num_itfs = 0 2013-02-21 16:34:10 -06:00
roms Revert "Update OpenBIOS images" 2013-02-14 08:58:30 -06:00
scripts fix scripts/make_device_config.sh 2013-02-19 11:53:49 +01:00
slirp slirp: switch to GPollFD 2013-02-21 16:17:31 -06:00
stubs slirp: switch to GPollFD 2013-02-21 16:17:31 -06:00
sysconfigs/target
target-alpha cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
target-arm cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
target-cris cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
target-i386 target-i386: Split command line parsing out of cpu_x86_register() 2013-02-16 14:51:01 +01:00
target-lm32 target-lm32: Drop unused cpu_lm32_close() prototype 2013-02-16 14:51:00 +01:00
target-m68k cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
target-microblaze cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
target-mips cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
target-openrisc cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
target-ppc cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
target-s390x target-s390x: Drop unused cpu_s390x_close() prototype 2013-02-16 14:51:00 +01:00
target-sh4 cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
target-sparc Merge remote-tracking branch 'afaerber/qom-cpu' into staging 2013-02-18 08:37:29 -06:00
target-unicore32 cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
target-xtensa cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
tcg tcg/ppc: Fix build of tcg_qemu_tb_exec() 2013-02-17 14:27:36 +00:00
tests coroutine: trim down nesting level in perf_nesting test 2013-02-22 21:21:10 +01:00
trace trace: deal with deprecated glib thread functions 2013-02-12 16:26:44 -06:00
ui ui/gtk: Fix build (missing include for setlocale) 2013-02-22 07:17:04 -06:00
util host-utils: Improve mulu64 and muls64 2013-02-17 14:28:58 +00:00
.exrc
.gitignore .gitignore: Ignore optionrom/*.asm 2013-02-21 10:38:07 +01:00
.gitmodules
.mailmap
aio-posix.c aio: support G_IO_HUP and G_IO_ERR 2013-02-21 16:17:31 -06:00
aio-win32.c aio: Fix return value of aio_poll() 2013-01-17 10:51:42 +01:00
arch_init.c Allow XBZRLE decoding without enabling the capability 2013-02-01 08:32:21 +01:00
async.c aio: convert aio_poll() to g_poll(3) 2013-02-21 16:17:31 -06:00
balloon.c
block-migration.c block-migration: fix pending() and iterate() return values 2013-02-12 16:26:44 -06:00
block.c block: implement BDRV_O_UNMAP 2013-02-22 21:29:42 +01:00
blockdev-nbd.c
blockdev.c qemu-img: Add "Quiet mode" option 2013-02-22 21:21:09 +01:00
blockjob.c
bt-host.c
bt-vhci.c
Changelog
cmd.c
cmd.h
CODING_STYLE
configure ui/gtk: require at least GTK 2.18 and VTE 0.26 2013-02-22 09:53:56 -06:00
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c coroutine: move pooling to common code 2013-02-22 21:21:10 +01:00
coroutine-ucontext.c coroutine: move pooling to common code 2013-02-22 21:21:10 +01:00
coroutine-win32.c
cpu-exec.c cpu: Move current_tb field to CPUState 2013-02-16 14:51:00 +01:00
cpus.c cpus.c: Drop unnecessary set_cpu_log() 2013-02-16 10:45:19 +00:00
cputlb.c cpu: Move current_tb field to CPUState 2013-02-16 14:51:00 +01:00
device_tree.c
disas.c
dma-helpers.c
dump-stub.c
dump.c cpu: Move host_tid field to CPUState 2013-02-16 14:50:59 +01:00
exec.c cputlb: Pass CPUState to cpu_unlink_tb() 2013-02-16 14:51:00 +01:00
gdbstub.c cpu: Move host_tid field to CPUState 2013-02-16 14:50:59 +01:00
HACKING
hmp-commands.hx hmp: Disable chardev-add and chardev-remove 2013-02-06 16:35:43 -06:00
hmp.c error: Strip trailing '\n' from error string arguments (again) 2013-02-11 08:13:19 -06:00
hmp.h qemu-char: Saner naming of memchar stuff & doc fixes 2013-02-06 16:35:19 -06:00
iohandler.c iohandler: switch to GPollFD 2013-02-21 16:17:31 -06:00
ioport.c
kvm-all.c cpu: Move exit_request field to CPUState 2013-02-16 14:51:00 +01:00
kvm-stub.c kvm: Pass CPUState to kvm_on_sigbus_vcpu() 2013-01-28 16:57:56 +01:00
LICENSE
main-loop.c main-loop: drop rfds/wfds/xfds for good 2013-02-21 16:17:31 -06:00
MAINTAINERS prep: Move PReP machine to hw/ppc/ 2013-01-30 10:42:29 +01:00
Makefile gtk: add translation support (v5) 2013-02-21 16:34:48 -06:00
Makefile.objs qtest: Add MMIO support 2013-02-18 08:39:10 -06:00
Makefile.target qtest: Add MMIO support 2013-02-18 08:39:10 -06:00
memory_mapping-stub.c
memory_mapping.c
memory.c memory: Use non-bitops ctzl 2013-02-16 11:12:13 +00:00
migration-exec.c
migration-fd.c
migration-tcp.c
migration-unix.c
migration.c migration: restrict scope of incoming fd read handler 2013-02-11 13:22:52 -06:00
monitor.c qemu-log: Rename CPULogItem, cpu_log_items to QEMULogItem, qemu_log_items 2013-02-16 10:45:46 +00:00
nbd.c
os-posix.c
os-win32.c
page_cache.c
qapi-schema-test.json
qapi-schema.json qemu-img: add compressed clusters to BlockFragInfo 2013-02-22 21:21:09 +01:00
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c console: allow VCs to be overridden by UI 2013-02-21 16:34:48 -06:00
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c coroutine: move pooling to common code 2013-02-22 21:21:10 +01:00
qemu-doc.texi
qemu-img-cmds.hx qemu-img: Add compare subcommand 2013-02-22 21:21:10 +01:00
qemu-img.c qemu-img: Add compare subcommand 2013-02-22 21:21:10 +01:00
qemu-img.texi qemu-img: Add compare subcommand 2013-02-22 21:21:10 +01:00
qemu-io.c block: implement BDRV_O_UNMAP 2013-02-22 21:29:42 +01:00
qemu-log.c qemu-log: Rename CPULogItem, cpu_log_items to QEMULogItem, qemu_log_items 2013-02-16 10:45:46 +00:00
qemu-nbd.c
qemu-nbd.texi qemu-nbd: document --cache and --aio options 2013-02-08 11:14:19 -06:00
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx help: add docs for multiqueue tap options 2013-02-21 16:33:48 -06:00
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c
qemu.sasl
qmp-commands.hx qemu-char: Saner naming of memchar stuff & doc fixes 2013-02-06 16:35:19 -06:00
qmp.c
qtest.c qtest: Add MMIO support 2013-02-18 08:39:10 -06:00
readline.c readline: Fix unchecked strdup() by converting to g_strdup() 2013-01-30 11:14:46 +01:00
README
rules.mak rules/mak: make clean should blow away timestamp files 2013-01-30 01:31:08 +02:00
savevm.c migration: make qemu_ftell() public and support writable files 2013-02-12 16:26:44 -06:00
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
trace-events usb-xhci: usb3 streams 2013-02-19 13:17:48 +01:00
translate-all.c cputlb: Pass CPUState to cpu_unlink_tb() 2013-02-16 14:51:00 +01:00
translate-all.h cputlb: Pass CPUState to cpu_unlink_tb() 2013-02-16 14:51:00 +01:00
user-exec.c
VERSION Open up 1.5 development tree 2013-02-15 17:40:56 -06:00
version.rc
vl.c gtk: make default UI (v5) 2013-02-21 16:34:49 -06:00
xbzrle.c Move XBZRLE encoding code to a separate file to allow testing 2013-02-01 08:32:20 +01:00
xen-all.c xen: Simplify halting of first CPU 2013-01-15 04:09:14 +01:00
xen-mapcache.c
xen-stub.c

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team