Skip to content

Commits

Permalink
mem-path-optio…
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Jan 2, 2013

  1. exec: make -mem-path filenames deterministic

    This patch makes the -mem-path filenames deterministic and allows some control
    over how QEMU mmaps the files. Given this control, QEMU can be used to implement
    exogenous memory management techniques quite simply. Two examples follow:
    
        1. Post-copy migration (mmap=shared for origin, save device state, path in
           NFS available on both hosts, mmap=shared for destination).
        2. memory sharing via VM cloning (mmap=shared for master, save device state,
           then mmap=private for clones).
    
    These new features are exposed via arguments to -mem-path:
    
    -mem-path \
        path[,mode=temp|open|create][,mmap=private|shared][,nofallback][,anyfs]
    
    The backing file names are made deterministic by including their RAMBlocks'
    offsets, which are unique given a qemu command line. Note that Xen's live
    migration relies on RAMBlocks having the same offsets between QEMU processes
    (see xen_read_physmap). The new file name format is
    
        qemu_back_mem.OFFSET+SIZE.NAME[.RANDOM]
    
    where SIZE and NAME are added for extra sanity checking when mode="open".
    
    By default, the old -mem-path behavior is preserved. I.e., mode="temp" is used,
    which adds a random suffix to the deterministic name and unlinks the files.
    Peter Feiner committed Jan 2, 2013
    Copy the full SHA
    51a3df6 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2012

  1. Merge remote-tracking branch 'bonzini/header-dirs' into staging

    * bonzini/header-dirs: (45 commits)
      janitor: move remaining public headers to include/
      hw: move executable format header files to hw/
      fpu: move public header file to include/fpu
      softmmu: move remaining include files to include/ subdirectories
      softmmu: move include files to include/sysemu/
      misc: move include files to include/qemu/
      qom: move include files to include/qom/
      migration: move include files to include/migration/
      monitor: move include files to include/monitor/
      exec: move include files to include/exec/
      block: move include files to include/block/
      qapi: move include files to include/qobject/
      janitor: add guards to headers
      qapi: make struct Visitor opaque
      qapi: remove qapi/qapi-types-core.h
      qapi: move inclusions of qemu-common.h from headers to .c files
      ui: move files to ui/ and include/ui/
      qemu-ga: move qemu-ga files to qga/
      net: reorganize headers
      net: move net.c to net/
      ...
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Dec 19, 2012
    Copy the full SHA
    27dd773 View commit details
    Browse the repository at this point in the history
  2. janitor: move remaining public headers to include/

    Headers in the root directory are now used only from within that
    directory.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    ec5e016 View commit details
    Browse the repository at this point in the history
  3. hw: move executable format header files to hw/

    Or delete a.out.h which is unused.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    42dc882 View commit details
    Browse the repository at this point in the history
  4. fpu: move public header file to include/fpu

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    6b4c305 View commit details
    Browse the repository at this point in the history
  5. softmmu: move remaining include files to include/ subdirectories

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    927d487 View commit details
    Browse the repository at this point in the history
  6. softmmu: move include files to include/sysemu/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    9c17d61 View commit details
    Browse the repository at this point in the history
  7. misc: move include files to include/qemu/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    1de7afc View commit details
    Browse the repository at this point in the history
  8. qom: move include files to include/qom/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    14cccb6 View commit details
    Browse the repository at this point in the history
  9. migration: move include files to include/migration/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    caf71f8 View commit details
    Browse the repository at this point in the history
  10. monitor: move include files to include/monitor/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    83c9089 View commit details
    Browse the repository at this point in the history
  11. exec: move include files to include/exec/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    022c62c View commit details
    Browse the repository at this point in the history
  12. block: move include files to include/block/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    737e150 View commit details
    Browse the repository at this point in the history
  13. qapi: move include files to include/qobject/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    7b1b5d1 View commit details
    Browse the repository at this point in the history
  14. janitor: add guards to headers

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    cb9c377 View commit details
    Browse the repository at this point in the history
  15. qapi: make struct Visitor opaque

    Move its definition from qapi-visit-core.h to qapi-visit-impl.h.
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    7edd63f View commit details
    Browse the repository at this point in the history
  16. qapi: remove qapi/qapi-types-core.h

    The file is only including error.h and qerror.h.  Prefer explicit
    inclusion of whatever files are needed.
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    4167c42 View commit details
    Browse the repository at this point in the history
  17. qapi: move inclusions of qemu-common.h from headers to .c files

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    79ee7df View commit details
    Browse the repository at this point in the history
  18. ui: move files to ui/ and include/ui/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    28ecbae View commit details
    Browse the repository at this point in the history
  19. qemu-ga: move qemu-ga files to qga/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    2870dc3 View commit details
    Browse the repository at this point in the history
  20. net: reorganize headers

    Move public headers to include/net, and leave private headers in net/.
    Put the virtio headers in include/net/tap.h, removing the multiple copies
    that existed.  Leave include/net/tap.h as the interface for NICs, and
    net/tap_int.h as the interface for OS-specific parts of the tap backend.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    1422e32 View commit details
    Browse the repository at this point in the history
  21. net: move net.c to net/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    fd9400b View commit details
    Browse the repository at this point in the history
  22. net: do not include net.h everywhere

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    7fa22f2 View commit details
    Browse the repository at this point in the history
  23. net: move Bluetooth stuff out of net.h

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    090f7ac View commit details
    Browse the repository at this point in the history
  24. janitor: do not include qemu-char everywhere

    Touching char/char.h basically causes the whole of QEMU to
    be rebuilt.  Avoid this, it is usually unnecessary.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    f8fe796 View commit details
    Browse the repository at this point in the history
  25. janitor: do not rely on indirect inclusions of or from qemu-char.h

    Various header files rely on qemu-char.h including qemu-config.h or
    main-loop.h, but they really do not need qemu-char.h at all (particularly
    interesting is the case of the block layer!).  Clean this up, and also
    add missing inclusions of qemu-char.h itself.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    077805f View commit details
    Browse the repository at this point in the history
  26. build: kill libuser

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    8e98e2e View commit details
    Browse the repository at this point in the history
  27. build: kill libdis, move disassemblers to disas/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    76cad71 View commit details
    Browse the repository at this point in the history
  28. build: create ldscripts/

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    c1c9367 View commit details
    Browse the repository at this point in the history
  29. build: move rules from Makefile to */Makefile.objs

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    525877c View commit details
    Browse the repository at this point in the history
  30. build: add $(TARGET_DIR) to "GEN config-target.h" lines

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    4e8cb28 View commit details
    Browse the repository at this point in the history
  31. build: adjust setting of QEMU_INCLUDES

    Make it correct for nested directories, and move the static part
    from Makefile to configure.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    9d9199a View commit details
    Browse the repository at this point in the history
  32. vscclient: use per-target variables

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 19, 2012
    Copy the full SHA
    7937e75 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2012

  1. Merge remote-tracking branch 'stefanha/trivial-patches' into staging

    * stefanha/trivial-patches:
      configure: Earlier pkg-config probe
      vmmouse_reset(): remove minimal code duplication
      linux-user/syscall.c: remove wrong forward decl of setgroups()
      fix build error on ARM due to wrong glibc check
      gitignore: Add virtfs-proxy-helper
      arm_gic: Add cpu nr to Raised IRQ message
      zynq_slcr: Compile time warning fixes.
      pflash_cfi0x: Send debug messages to stderr
      pflash_cfi01: qemu_log_mask "unimplemented" msg
      net, hub: fix the indent in the comments
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Dec 18, 2012
    Copy the full SHA
    914606d View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'amit/master' into staging

    * amit/master:
      virtio-serial-bus: assert port is non-null in remove_port()
      virtio-serial-bus: send_control_msg() should not deal with cpkts
      virtio-serial: delete timer if active during exit
      virtio-serial: allocate post_load only at load-time
      virtio-serial: move active ports loading to separate function
      virtio-serial: use uint32_t to count ports
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Dec 18, 2012
    Copy the full SHA
    5455a47 View commit details
    Browse the repository at this point in the history
Older