1. 08 1月, 2010 7 次提交
    • M
      net: add API to disable/enable polling · ceb69615
      Michael S. Tsirkin 提交于
      When vhost is bound to a backend device, we need to stop polling it when
      vhost is started, and restart polling when vhost is stopped.
      Add an API for that for use by vhost, and implement in tap backend.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ceb69615
    • H
      debugcon: support for debugging consoles (e.g. Bochs port 0xe9) · c9f398e5
      H. Peter Anvin 提交于
      Add generic support for debugging consoles (simple I/O ports which
      when written to cause debugging output to be written to a target.)
      The current implementation matches Bochs' port 0xe9, allowing the same
      debugging code to be used for both Bochs and Qemu.
      
      There is no vm state associated with the debugging port, simply
      because it has none -- the entire interface is a single, stateless,
      write-only port.
      
      Most of the code was cribbed from the serial port driver.
      
      v2: removed non-ISA variants (they can be introduced when/if someone
      wants them, using code from the serial port); added configurable
      readback (Bochs returns 0xe9 on a read from this register, mimic that
      by default)  This retains the apparently somewhat controversial user
      friendly option, however.
      
      v3: reimplemented the user friendly option as a synthetic option
      ("-debugcon foo" basically ends up being a parser-level shorthand for
      "-chardev stdio,id=debugcon -device isa-debugcon,chardev=debugcon") --
      this dramatically reduced the complexity while keeping the same level
      of user friendliness.
      
      v4: spaces, not tabs.
      
      v5: update to match current top of tree.  Calling qemu_chr_open()
      already during parsing no longer works; defer until we are parsing the
      other console-like devices.
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c9f398e5
    • S
      Makefile: Update unmodified config-devices.mak automatically · 012f0879
      Stefan Weil 提交于
      This makes rebuilds after source updates easier
      for most users (who don't edit config-devices.mak).
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      012f0879
    • P
      Use vpath directive · 076d2471
      Paolo Bonzini 提交于
      The vpath directive has two advantages over the VPATH variable:
      1) it allows to skip searching of .o files; 2) the default semantics
      are to append to the vpath, so there is no confusion between "VPATH=xyz"
      and "VPATH+=xyz".
      
      Since "vpath %.c %.h PATH" is not valid, I'm introducing a wrapper
      macro to append one or more directories to the vpath.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      076d2471
    • M
      oss: workaround for cases when OSS_GETVERSION is not defined · e726fe7d
      malc 提交于
      Thanks to Juergen Lock.
      Signed-off-by: Nmalc <av1474@comtv.ru>
      e726fe7d
    • B
      Sparc32: clear exception_index with -1 value · 95372a39
      Blue Swirl 提交于
      See also 821b19fe.
      
      Spotted by Artyom Tarasenko and Igor Kovalenko.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      95372a39
    • A
      Drop --whole-archive and static libraries · 0e8c9214
      Andreas Färber 提交于
      Juan has contributed a cool Makefile infrastructure that enables us to drop
      static libraries completely:
      
      Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-},
      and link those object files directly into the executables.
      
      Replace HWLIB by HWDIR, specifying only the directory.
      
      Drop --whole-archive and ARLIBS in Makefiles and configure.
      
      Drop GENERATED_HEADERS dependency in rules.mak, since this rebuilds all
      common objects after generating a target-specific header; add dependency
      rules to Makefile and Makefile.target instead.
      
      v2:
      - Don't try to include /config.mak for user emulators
      - Changes to user object paths ("Quickfix for libuser.a drop") were obsoleted
        by "user_only: compile everything with -fpie" (Kirill A. Shutemov)
      
      v3:
      - Fix dependency modelling for tools
      - Remove comment on GENERATED_HEADERS obsoleted by this patch
      Signed-off-by: NAndreas Färber <afaerber@opensolaris.org>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Cc: Palle Lyckegaard <palle@lyckegaard.dk>
      Cc: Ben Taylor <bentaylor.solx86@gmail.com>
      Cc: Juan Quintela <quintela@trasno.org>
      Cc: Kirill A. Shutemov <kirill@shutemov.name>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      0e8c9214
  2. 07 1月, 2010 13 次提交
  3. 06 1月, 2010 1 次提交
  4. 03 1月, 2010 4 次提交
  5. 30 12月, 2009 3 次提交
  6. 28 12月, 2009 5 次提交
  7. 27 12月, 2009 1 次提交
  8. 26 12月, 2009 6 次提交