#
41c6abbd |
| 26-Nov-2010 |
Gerd Hoffmann <kraxel@redhat.com> |
usb: move USB_REQ_SET_ADDRESS handling to common code
USB_REQ_SET_ADDRESS handling is identical in *all* emulated devices. Move it to common code.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
#
37fb59d3 |
| 17-Nov-2010 |
Gerd Hoffmann <kraxel@redhat.com> |
usb: data structs and helpers for usb descriptors.
This patch adds hw/usb-desc.[ch] files. They carry data structures for various usb descriptors and helper functions to generate usb packets from t
usb: data structs and helpers for usb descriptors.
This patch adds hw/usb-desc.[ch] files. They carry data structures for various usb descriptors and helper functions to generate usb packets from the structures.
The intention is to have a internal representation of the device desription which is more usable than the current char array blobs, so we can have common code handle common usb device emulation using the device description.
The usage of this infrastructure is optional for usb drivers as there are cases such as pass-through where it probably isn't very useful.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
show more ...
|
#
eabba580 |
| 06-Dec-2010 |
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> |
qed: Read/write support
This patch implements the read/write state machine. Operations are fully asynchronous and multiple operations may be active at any time.
Allocating writes lock tables to en
qed: Read/write support
This patch implements the read/write state machine. Operations are fully asynchronous and multiple operations may be active at any time.
Allocating writes lock tables to ensure metadata updates do not interfere with each other. If two allocating writes need to update the same L2 table they will run sequentially. If two allocating writes need to update different L2 tables they will run in parallel.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
#
298800ca |
| 06-Dec-2010 |
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> |
qed: Table, L2 cache, and cluster functions
This patch adds code to look up data cluster offsets in the image via the L1/L2 tables. The L2 tables are writethrough cached in memory for performance (
qed: Table, L2 cache, and cluster functions
This patch adds code to look up data cluster offsets in the image via the L1/L2 tables. The L2 tables are writethrough cached in memory for performance (each read/write requires a lookup so it is essential to cache the tables).
With cluster lookup code in place it is possible to implement bdrv_is_allocated() to query the number of contiguous allocated/unallocated clusters.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
#
c924f36a |
| 30-Nov-2010 |
Michael S. Tsirkin <mst@redhat.com> |
Merge remote branch 'origin/master' into pci
Conflicts: Makefile.objs hw/virtio.c
|
#
94b0b5ff |
| 16-Nov-2010 |
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> |
trace: Trace vm_start()/vm_stop()
VM state change notifications are invoked from vm_start()/vm_stop(). Trace these state changes so we can reason about the state of the VM from trace output.
Signed
trace: Trace vm_start()/vm_stop()
VM state change notifications are invoked from vm_start()/vm_stop(). Trace these state changes so we can reason about the state of the VM from trace output.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
97bf4851 |
| 31-Oct-2010 |
Blue Swirl <blauwirbel@gmail.com> |
sparc32: convert debug printf statements to tracepoints
Replace debug printf statements with tracepoints.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
d8023f31 |
| 20-Oct-2010 |
Blue Swirl <blauwirbel@gmail.com> |
apic: convert debug printf statements to tracepoints
Replace debug printf statements with tracepoints.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Blue Swirl <blauwi
apic: convert debug printf statements to tracepoints
Replace debug printf statements with tracepoints.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
show more ...
|
#
bbf0a440 |
| 05-Oct-2010 |
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> |
trace: Trace bdrv_aio_{readv,writev}
Observing block layer aio readv/writev operations is useful for debugging image formats or understanding guest disk I/O patterns.
Signed-off-by: Stefan Hajnoczi
trace: Trace bdrv_aio_{readv,writev}
Observing block layer aio readv/writev operations is useful for debugging image formats or understanding guest disk I/O patterns.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
show more ...
|
#
9a85d394 |
| 05-Oct-2010 |
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> |
trace: Use portable format strings
It is not portable to use "%ld" for int64_t because int64_t may have type long on 64-bit platforms and long long on 32-bit platforms. Use the standard library PRI
trace: Use portable format strings
It is not portable to use "%ld" for int64_t because int64_t may have type long on 64-bit platforms and long long on 32-bit platforms. Use the standard library PRId64 macros to keep format strings portable.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
show more ...
|
#
dda85211 |
| 10-Sep-2010 |
Blue Swirl <blauwirbel@gmail.com> |
trace: fix a typo
There is no qemu_valloc() but qemu_vmalloc().
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
Revision tags: v0.13.0-rc1, RHEL-6.0, qemu-kvm-0.12.1.2-2.113.el6, qemu-kvm-0.12.1.2-2.112.el6, qemu-kvm-0.12.1.2-2.111.el6, qemu-kvm-0.12.1.2-2.110.el6 |
|
#
62dd89de |
| 11-Aug-2010 |
Prerna Saxena <prerna@linux.vnet.ibm.com> |
trace: Trace entry point of balloon request handler
Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
|
#
bd3c9aa5 |
| 11-Aug-2010 |
Prerna Saxena <prerna@linux.vnet.ibm.com> |
trace: Trace port IO
Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
|
Revision tags: qemu-kvm-0.12.1.2-2.109.el6, qemu-kvm-0.12.1.2-2.108.el6, qemu-kvm-0.12.1.2-2.107.el6, qemu-kvm-0.12.1.2-2.106.el6, qemu-kvm-0.12.1.2-2.105.el6, qemu-kvm-0.12.1.2-2.104.el6, qemu-kvm-0.12.1.2-2.103.el6, qemu-kvm-0.12.1.2-2.102.el6, qemu-kvm-0.12.1.2-2.101.el6, v0.13.0-rc0, qemu-kvm-0.12.5, qemu-kvm-0.12.1.2-2.100.el6, qemu-kvm-0.12.1.2-2.99.el6, qemu-kvm-0.12.1.2-2.98.el6, v0.12.5, qemu-kvm-0.12.1.2-2.97.el6, qemu-kvm-0.12.1.2-2.96.el6, qemu-kvm-0.12.1.2-2.95.el6, qemu-kvm-0.12.1.2-2.94.el6, qemu-kvm-0.12.1.2-2.93.el6, qemu-kvm-0.12.1.2-2.92.el6, qemu-kvm-0.12.1.2-2.91.el6, qemu-kvm-0.12.1.2-2.90.el6, qemu-kvm-0.12.1.2-2.89.el6, qemu-kvm-0.12.1.2-2.88.el6, qemu-kvm-0.12.1.2-2.87.el6, qemu-kvm-0.12.1.2-2.86.el6, qemu-kvm-0.12.1.2-2.85.el6, qemu-kvm-0.12.1.2-2.84.el6, qemu-kvm-0.12.1.2-2.83.el6, qemu-kvm-0.12.1.2-2.82.el6, qemu-kvm-0.12.1.2-2.81.el6, qemu-kvm-0.12.1.2-2.80.el6, qemu-kvm-0.12.1.2-2.79.el6, qemu-kvm-0.12.1.2-2.78.el6, qemu-kvm-0.12.1.2-2.77.el6, qemu-kvm-0.12.1.2-2.76.el6, qemu-kvm-0.12.1.2-2.75.el6, qemu-kvm-0.12.1.2-2.74.el6, qemu-kvm-0.12.1.2-2.73.el6, qemu-kvm-0.12.1.2-2.72.el6, qemu-kvm-0.12.1.2-2.71.el6, qemu-kvm-0.12.1.2-2.70.el6, qemu-kvm-0.12.1.2-2.69.el6, qemu-kvm-0.12.1.2-2.68.el6, qemu-kvm-0.12.1.2-2.67.el6, qemu-kvm-0.12.1.2-2.66.el6, qemu-kvm-0.12.1.2-2.65.el6, qemu-kvm-0.12.1.2-2.64.el6, qemu-kvm-0.12.1.2-2.63.el6, qemu-kvm-0.12.1.2-2.62.el6, qemu-kvm-0.12.1.2-2.61.el6 |
|
#
64979a4d |
| 24-May-2010 |
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> |
trace: Trace virtqueue operations
This patch adds trace events for virtqueue operations including adding/removing buffers, notifying the guest, and receiving a notify from the guest.
Signed-off-by:
trace: Trace virtqueue operations
This patch adds trace events for virtqueue operations including adding/removing buffers, notifying the guest, and receiving a notify from the guest.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
show more ...
|
#
6d519a5f |
| 22-May-2010 |
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> |
trace: Trace virtio-blk, multiwrite, and paio_submit
This patch adds trace events that make it possible to observe virtio-blk.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
|
#
cd245a19 |
| 22-May-2010 |
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> |
trace: Trace qemu_malloc() and qemu_vmalloc()
It is often useful to instrument memory management functions in order to find leaks or performance problems. This patch adds trace events for the memor
trace: Trace qemu_malloc() and qemu_vmalloc()
It is often useful to instrument memory management functions in order to find leaks or performance problems. This patch adds trace events for the memory allocation primitives.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
show more ...
|
#
1e2cf2bc |
| 24-May-2010 |
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> |
trace: Support disabled events in trace-events
Sometimes it is useful to disable a trace event. Removing the event from trace-events is not enough since source code will call the trace_*() function
trace: Support disabled events in trace-events
Sometimes it is useful to disable a trace event. Removing the event from trace-events is not enough since source code will call the trace_*() function for the event.
This patch makes it easy to build without specific trace events by marking them disabled in trace-events:
disable multiwrite_cb(void *mcb, int ret) "mcb %p ret %d"
This builds without the multiwrite_cb trace event.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
trace: Allow bulk enabling/disabling of trace events at compile time
For 'simple' trace backend, allow bulk enabling/disabling of trace events at compile time. Trace events that are preceded by 'disable' keyword are compiled in, but turned off by default. These can individually be turned on using the monitor. All other trace events are enabled by default.
TODO : This could be enhanced when the trace-event namespace is partitioned into a group and an ID within that group. In such a case, marking a group as enabled would automatically enable all trace-events listed under it.
Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
show more ...
|
#
94a420b1 |
| 22-May-2010 |
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> |
trace: Add trace-events file for declaring trace events
This patch introduces the trace-events file where trace events can be declared like so:
qemu_malloc(size_t size) "size %zu" qemu_free(void *p
trace: Add trace-events file for declaring trace events
This patch introduces the trace-events file where trace events can be declared like so:
qemu_malloc(size_t size) "size %zu" qemu_free(void *ptr) "ptr %p"
These trace event declarations are processed by a new tool called tracetool to generate code for the trace events. Trace event declarations are independent of the backend tracing system (LTTng User Space Tracing, ftrace markers, DTrace).
The default "nop" backend generates empty trace event functions. Therefore trace events are disabled by default.
The trace-events file serves two purposes:
1. Adding trace events is easy. It is not necessary to understand the details of a backend tracing system. The trace-events file is a single location where trace events can be declared without code duplication.
2. QEMU is not tightly coupled to one particular backend tracing system. In order to support tracing across QEMU host platforms and to anticipate new backend tracing systems that are currently maturing, it is important to be flexible and not tied to one system.
This commit includes fixes from Prerna Saxena <prerna@linux.vnet.ibm.com> and Blue Swirl <blauwirbel@gmail.com>.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
show more ...
|