1. 14 12月, 2010 1 次提交
  2. 11 12月, 2010 3 次提交
  3. 09 12月, 2010 1 次提交
  4. 03 12月, 2010 1 次提交
  5. 27 11月, 2010 4 次提交
  6. 22 11月, 2010 1 次提交
  7. 21 11月, 2010 2 次提交
    • D
      Add a DTrace tracing backend targetted for SystemTAP compatability · b3d08c02
      Daniel P. Berrange 提交于
      This introduces a new tracing backend that targets the SystemTAP
      implementation of DTrace userspace tracing. The core functionality
      should be applicable and standard across any DTrace implementation
      on Solaris, OS-X, *BSD, but the Makefile rules will likely need
      some small additional changes to cope with OS specific build
      requirements.
      
      This backend builds a little differently from the other tracing
      backends. Specifically there is no 'trace.c' file, because the
      'dtrace' command line tool generates a '.o' file directly from
      the dtrace probe definition file. The probe definition is usually
      named with a '.d' extension but QEMU uses '.d' files for its
      external makefile dependancy tracking, so this uses '.dtrace' as
      the extension for the probe definition file.
      
      The 'tracetool' program gains the ability to generate a trace.h
      file for DTrace, and also to generate the trace.d file containing
      the dtrace probe definition.
      
      Example usage of a dtrace probe in systemtap looks like:
      
        probe process("qemu").mark("qemu_malloc") {
          printf("Malloc %d %p\n", $arg1, $arg2);
        }
      
      * .gitignore: Ignore trace-dtrace.*
      * Makefile: Extra rules for generating DTrace files
      * Makefile.obj: Don't build trace.o for DTrace, use
        trace-dtrace.o generated by 'dtrace' instead
      * tracetool: Support for generating DTrace data files
      Reviewed-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      b3d08c02
    • A
      Revert "Add a DTrace tracing backend targetted for SystemTAP compatability" · 06da6e44
      Anthony Liguori 提交于
      This reverts commit 4addb112.
      06da6e44
  8. 16 11月, 2010 1 次提交
    • D
      Add a DTrace tracing backend targetted for SystemTAP compatability · 4addb112
      Daniel P. Berrange 提交于
      This introduces a new tracing backend that targets the SystemTAP
      implementation of DTrace userspace tracing. The core functionality
      should be applicable and standard across any DTrace implementation
      on Solaris, OS-X, *BSD, but the Makefile rules will likely need
      some small additional changes to cope with OS specific build
      requirements.
      
      This backend builds a little differently from the other tracing
      backends. Specifically there is no 'trace.c' file, because the
      'dtrace' command line tool generates a '.o' file directly from
      the dtrace probe definition file. The probe definition is usually
      named with a '.d' extension but QEMU uses '.d' files for its
      external makefile dependancy tracking, so this uses '.dtrace' as
      the extension for the probe definition file.
      
      The 'tracetool' program gains the ability to generate a trace.h
      file for DTrace, and also to generate the trace.d file containing
      the dtrace probe definition.
      
      Example usage of a dtrace probe in systemtap looks like:
      
        probe process("qemu").mark("qemu_malloc") {
          printf("Malloc %d %p\n", $arg1, $arg2);
        }
      
      * .gitignore: Ignore trace-dtrace.*
      * Makefile: Extra rules for generating DTrace files
      * Makefile.obj: Don't build trace.o for DTrace, use
        trace-dtrace.o generated by 'dtrace' instead
      * tracetool: Support for generating DTrace data files
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4addb112
  9. 10 11月, 2010 1 次提交
    • G
      spice: add audio · 3e313753
      Gerd Hoffmann 提交于
      Add support for the spice audio interface.  With this patch applied
      audio can be forwarded over the network from/to the spice client.  Both
      recording and playback is supported.
      
      The driver is first in the driver list, but the can_be_default flag is
      set only in case spice is active.  So if you have the spice protocol
      enabled the spice audio driver is the default one, otherwise whatever
      comes first after spice in the list.  Overriding the default using
      QEMU_AUDIO_DRV works in any case.
      
      [ v2: audio codestyle: add spaces before open parenthesis ]
      [ v2: add const to silence array ]
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Cc: malc <av1474@comtv.ru>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      3e313753
  10. 01 11月, 2010 1 次提交
    • G
      Add Intel HD Audio support to qemu. · d61a4ce8
      Gerd Hoffmann 提交于
      This patch adds three devices to qemu:
      
      intel-hda
      	Intel HD Audio Controller, the PCI device.  Provides a HDA bus.
      	Emulates ICH6 at the moment.  Adding a ICH9 PCIE
      	variant shouldn't be hard.
      
      hda-duplex
      	HDA Codec.  Attaches to the HDA bus.  Supports 16bit stereo,
      	rates 16k -> 96k, playback, recording and volume control
      	(with CONFIG_MIXEMU=y).
      
      hda-output
      	HDA Codec without recording support.  Subset of the hda-duplex
      	codec.  Use this if you don't want your guests access your mic.
      
      Usage: add '-device intel-hda -device hda-duplex' to your command line.
      
      Tested guests:
       * Linux works.
       * Win7 works.
       * DOS (mpxplay) works.
       * WinXP doesn't work.
      
      [ v2 changes ]
       * Fixed endianess, big endian hosts work now.
       * Fixed some emulation bugs.
       * Added immediate command emulation.
       * Added vmstate support.
       * Make it behave like all other sound card drivers:
         - can be configured via '--audio-card-list=hda'
         - can be added to a VM using '-soundhw hda'
       * Code style fixups.
       * Zapped guest-triggerable asserts.
       * Handle partial reads/writes of audio data correctly.
      
      Cc: malc <av1474@comtv.ru>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      d61a4ce8
  11. 30 10月, 2010 1 次提交
  12. 28 10月, 2010 1 次提交
    • M
      qemu-options.def: add to generated header list · df2943ba
      Michael S. Tsirkin 提交于
      All files include qemu-options.h which pulls in qemu-options.def from
      the root directory.  Thus generating qemu-options.def from Makefile.objs
      under the target directory is not effective.
      
      Further, people expect .def file to get cleaned with make clean:
      it does not have state so no reason to defer removing it
      until distclean. Also add a rule to remove old files that might
      be around.
      
      This fixes the error: ‘QEMU_OPTION_spice’ undeclared
      (first use in this function) error that some people reported
      which is really down to an out of date .def file.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      df2943ba
  13. 23 10月, 2010 1 次提交
    • B
      qemu-timer: move commonly used timer code to qemu-timer-common · c57c846a
      Blue Swirl 提交于
      Move timer init functions to a new file, qemu-timer-common.c. Make other
      critical timer functions inlined to preserve performance in
      qemu-timer.c, also move muldiv64() (used by the inline functions)
      to qemu-timer.h.
      
      Adjust block/raw-posix.c and simpletrace.c to use get_clock() directly.
      Remove a similar/duplicate definition in qemu-tool.c.
      
      Adjust hw/omap_clk.c to include qemu-timer.h because muldiv64() is used
      there.
      
      After this change, tracing can be used also for user code and
      simpletrace on Win32.
      
      Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Acked-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      c57c846a
  14. 21 10月, 2010 3 次提交
  15. 20 10月, 2010 4 次提交
  16. 19 10月, 2010 2 次提交
  17. 03 10月, 2010 1 次提交
  18. 27 9月, 2010 1 次提交
  19. 22 9月, 2010 4 次提交
    • G
      spice: simple display · a3e22260
      Gerd Hoffmann 提交于
      With that patch applied you'll actually see the guests screen in the
      spice client.  This does *not* bring qxl and full spice support though.
      This is basically the qxl vga mode made more generic, so it plays
      together with any qemu-emulated gfx card.  You can display stdvga or
      cirrus via spice client.  You can have both vnc and spice enabled and
      clients connected at the same time.
      a3e22260
    • G
      spice: add keyboard · 864401c2
      Gerd Hoffmann 提交于
      Open keyboard channel.  Now you can type into the spice client and the
      keyboard events are sent to your guest.  You'll need some other display
      like vnc to actually see the guest responding to them though.
      864401c2
    • G
      spice: core bits · 29b0040b
      Gerd Hoffmann 提交于
      Add -spice command line switch.  Has support setting passwd and port for
      now.  With this patch applied the spice client can successfully connect
      to qemu.  You can't do anything useful yet though.
      29b0040b
    • G
      add pflib: PixelFormat conversion library. · d6d94fc3
      Gerd Hoffmann 提交于
      d6d94fc3
  20. 21 9月, 2010 1 次提交
  21. 10 9月, 2010 2 次提交
    • S
      trace: Add simple built-in tracing backend · 26f7227b
      Stefan Hajnoczi 提交于
      This patch adds a simple tracer which produces binary trace files.  To
      try out the simple backend:
      
      $ ./configure --trace-backend=simple
      $ make
      
      After running QEMU you can pretty-print the trace:
      
      $ ./simpletrace.py trace-events trace.log
      
      The output of simpletrace.py looks like this:
      
        qemu_realloc 0.699 ptr=0x24363f0 size=0x3 newptr=0x24363f0
        qemu_free 0.768 ptr=0x24363f0
        ^           ^---- timestamp delta (us)
        |____ trace event name
      Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      
      trace: Make trace record fields 64-bit
      
      Explicitly use 64-bit fields in trace records so that timestamps and
      magic numbers work for 32-bit host builds.
      
      Includes fixes from Prerna Saxena <prerna@linux.vnet.ibm.com>.
      Signed-off-by: NPrerna Saxena <prerna@linux.vnet.ibm.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      26f7227b
    • S
      trace: Add trace-events file for declaring trace events · 94a420b1
      Stefan Hajnoczi 提交于
      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: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      94a420b1
  22. 27 7月, 2010 3 次提交