qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] a40db1: qemu-options.hx: Improve documentatio


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a40db1: qemu-options.hx: Improve documentation of chardev ...
Date: Thu, 25 Feb 2016 09:00:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a40db1b36ba3cf4c8599178740511d7d5c0c9641
      
https://github.com/qemu/qemu/commit/a40db1b36ba3cf4c8599178740511d7d5c0c9641
  Author: Peter Maydell <address@hidden>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M qemu-doc.texi
    M qemu-options.hx

  Log Message:
  -----------
  qemu-options.hx: Improve documentation of chardev multiplexing mode

The current documentation of chardev mux=on is rather brief and opaque;
expand it to hopefully be a bit more helpful.

Signed-off-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: cf7ea1e60c4280bc037d8eee8cdbba67dfbc7825
      
https://github.com/qemu/qemu/commit/cf7ea1e60c4280bc037d8eee8cdbba67dfbc7825
  Author: Fam Zheng <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M scripts/kvm/kvm_stat

  Log Message:
  -----------
  scripts/kvm/kvm_stat: Fix missing right parantheses and ".format(...)"

They seem to have snuck in when applying Janosch Frank
<address@hidden>'s previous patch.

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Janosch Frank <address@hidden>
Tested-by: Janosch Frank <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e3517a529913a2a48c12ba8eef4975ad561af97c
      
https://github.com/qemu/qemu/commit/e3517a529913a2a48c12ba8eef4975ad561af97c
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M dump.c

  Log Message:
  -----------
  dump-guest-memory: cleanup: removing dump_{error|cleanup}().

It might be a little bit confusing and error prone to do
dump_cleanup() in these two functions. A better way is to do
dump_cleanup() before dump finish, no matter whether dump has
succeeded or not.

Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 228de9cf1d9607d7eb73445c1656cc3834826606
      
https://github.com/qemu/qemu/commit/228de9cf1d9607d7eb73445c1656cc3834826606
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M dump.c
    M hmp-commands.hx
    M hmp.c
    M qapi-schema.json
    M qmp-commands.hx

  Log Message:
  -----------
  dump-guest-memory: add "detach" flag for QMP/HMP interfaces.

This patch only adds the interfaces, but does not implement them.
"detach" parameter is made optional, to make sure that all the old
dump-guest-memory requests will still be able to work.

Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: baf28f57e2dec63eebfcd3c00f8d4dea9fcde21e
      
https://github.com/qemu/qemu/commit/baf28f57e2dec63eebfcd3c00f8d4dea9fcde21e
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M dump.c
    M include/sysemu/dump.h
    M qapi-schema.json

  Log Message:
  -----------
  dump-guest-memory: using static DumpState, add DumpStatus

Instead of malloc/free each time for DumpState, make it
static. Added DumpStatus to show status for dump.

This is to be used for detached dump.

Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 65d64f362326a57b590b8b76e3422030a2aa5c44
      
https://github.com/qemu/qemu/commit/65d64f362326a57b590b8b76e3422030a2aa5c44
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M dump.c
    M include/qemu-common.h
    M qmp.c

  Log Message:
  -----------
  dump-guest-memory: add dump_in_progress() helper function

For now, it has no effect. It will be used in dump detach support.

Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: ca1fc8c97e9f26690b1ddbbbced5bafb3d65f6b5
      
https://github.com/qemu/qemu/commit/ca1fc8c97e9f26690b1ddbbbced5bafb3d65f6b5
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M dump.c
    M include/sysemu/dump.h

  Log Message:
  -----------
  dump-guest-memory: introduce dump_process() helper function.

No functional change. Cleanup only.

Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 63e27f28f281986de791f099efa4fa15cc47f4fc
      
https://github.com/qemu/qemu/commit/63e27f28f281986de791f099efa4fa15cc47f4fc
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M dump.c

  Log Message:
  -----------
  dump-guest-memory: disable dump when in INMIGRATE state

Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1fbeff72c2ba17aedfbf0d57caf8945862725c54
      
https://github.com/qemu/qemu/commit/1fbeff72c2ba17aedfbf0d57caf8945862725c54
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M dump.c
    M include/sysemu/dump.h
    M include/sysemu/memory_mapping.h
    M memory_mapping.c

  Log Message:
  -----------
  dump-guest-memory: add "detach" support

If "detach" is provided, one thread is created to do the dump work,
while main thread will return immediately. For each GuestPhysBlock,
adding one more field "mr" to points to MemoryRegion that it
belongs, also ref the mr before use.

Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 2264c2c96e0a1f0913412da73e9bcaf9f8fa4427
      
https://github.com/qemu/qemu/commit/2264c2c96e0a1f0913412da73e9bcaf9f8fa4427
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M dump.c
    M include/sysemu/dump.h

  Log Message:
  -----------
  DumpState: adding total_size and written_size fields

Here, total_size is the size in bytes to be dumped (raw data, which
means before compression), while written_size are bytes handled (raw
size too).

Signed-off-by: Peter Xu <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 39ba2ea61f510512764e6f9063a8396d05fe57fe
      
https://github.com/qemu/qemu/commit/39ba2ea61f510512764e6f9063a8396d05fe57fe
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M dump.c
    M qapi-schema.json
    M qmp-commands.hx

  Log Message:
  -----------
  Dump: add qmp command "query-dump"

When dump-guest-memory is requested with detach flag, after its
return, user could query its status using "query-dump" command (with
no argument). The result contains:

- status: current dump status
- completed: bytes written in the latest dump
- total: bytes to write in the latest dump

>From completed and total, we could know how much work
finished by calculating:

  100.0 * completed / total (%)

Reviewed-by:   Fam Zheng <address@hidden>
Signed-off-by: Peter Xu <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 4a6b52d67e36486ae3d695170a2a7eb39f7a032e
      
https://github.com/qemu/qemu/commit/4a6b52d67e36486ae3d695170a2a7eb39f7a032e
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M hmp-commands-info.hx
    M hmp.c
    M hmp.h

  Log Message:
  -----------
  Dump: add hmp command "info dump"

It will calculate percentage of finished work from completed and
total.

Signed-off-by: Peter Xu <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d42a0d1484f03d05184ed9bb867fee42476a588f
      
https://github.com/qemu/qemu/commit/d42a0d1484f03d05184ed9bb867fee42476a588f
  Author: Peter Xu <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M docs/qmp-events.txt
    M dump.c
    M qapi/event.json

  Log Message:
  -----------
  dump-guest-memory: add qmp event DUMP_COMPLETED

One new QMP event DUMP_COMPLETED is added. When a dump finishes, one
DUMP_COMPLETED event will occur to notify the user.

Signed-off-by: Peter Xu <address@hidden>
Reviewed-by:   Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 96c33a4523ee1abe382ce4ff3e82b90ba78aa186
      
https://github.com/qemu/qemu/commit/96c33a4523ee1abe382ce4ff3e82b90ba78aa186
  Author: Dimitris Aragiorgis <address@hidden>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M include/qemu/log.h
    M os-posix.c
    M util/log.c

  Log Message:
  -----------
  log: Redirect stderr to logfile if deamonized

In case of daemonize, use the logfile passed with the -D option in
order to redirect stderr to it instead of /dev/null.

Also remove some unused code in log.h.

Signed-off-by: Dimitris Aragiorgis <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 58eaa2174e99d9a05172d03fd2799ab8fd9e6f60
      
https://github.com/qemu/qemu/commit/58eaa2174e99d9a05172d03fd2799ab8fd9e6f60
  Author: Gonglei <address@hidden>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M exec.c
    M include/exec/memory.h
    M memory.c

  Log Message:
  -----------
  exec: store RAMBlock pointer into memory region

Each RAM memory region has a unique corresponding RAMBlock.
In the current realization, the memory region only stored
the ram_addr which means the offset of RAM address space,
We need to qurey the global ram.list to find the ram block
by ram_addr if we want to get the ram block, which is very
expensive.

Now, we store the RAMBlock pointer into memory region
structure. So, if we know the mr, we can easily get the
RAMBlock.

Signed-off-by: Gonglei <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3655cb9c7375a595a8051ec677c515b24d5c1fe6
      
https://github.com/qemu/qemu/commit/3655cb9c7375a595a8051ec677c515b24d5c1fe6
  Author: Gonglei <address@hidden>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M exec.c
    M include/exec/memory.h
    M memory.c

  Log Message:
  -----------
  memory: optimize qemu_get_ram_ptr and qemu_ram_ptr_length

these two functions consume too much cpu overhead to
find the RAMBlock by ram address.

After this patch, we can pass the RAMBlock pointer
to them so that they don't need to find the RAMBlock
anymore most of the time. We can get better performance
in address translation processing.

Signed-off-by: Gonglei <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d61524486c6e503e502241a2ea834f930f98a6a1
      
https://github.com/qemu/qemu/commit/d61524486c6e503e502241a2ea834f930f98a6a1
  Author: Gonglei <address@hidden>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M include/exec/memory.h

  Log Message:
  -----------
  memory: Remove unreachable return statement

Signed-off-by: Gonglei <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 21a933ea33c820515f331c162c9f7053ca6f4129
      
https://github.com/qemu/qemu/commit/21a933ea33c820515f331c162c9f7053ca6f4129
  Author: Eric Blake <address@hidden>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M include/sysemu/char.h
    M qemu-char.c
    M spice-qemu-char.c
    M ui/console.c

  Log Message:
  -----------
  chardev: Properly initialize ChardevCommon components

Commit d0d7708b forgot to parse logging for spice chardevs and
virtual consoles. This requires making qemu_chr_parse_common()
non-static. While at it, use a temporary variable to make the
code shorter, as well as reduce the churn when a later patch
alters the layout of simple unions.

Signed-off-by: Eric Blake <address@hidden>
CC: Daniel P. Berrange <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: cfc3b074de4b4ccee2540edbf8cfdb026dc19943
      
https://github.com/qemu/qemu/commit/cfc3b074de4b4ccee2540edbf8cfdb026dc19943
  Author: Paolo Bonzini <address@hidden>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-i386/fpu_helper.c
    M target-i386/mpx_helper.c

  Log Message:
  -----------
  target-i386: fix confusion in xcr0 bit position vs. mask

The xsave and xrstor helpers are accessing the x86_ext_save_areas array
using a bit mask instead of a bit position.  Provide two sets of XSTATE_*
definitions and use XSTATE_*_BIT when a bit position is requested.

Reviewed-by: Richard Henderson <address@hidden>
Acked-by: Eduardo Habkost <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 586fc27e6a2ade22e35089e8972bc678b113e1db
      
https://github.com/qemu/qemu/commit/586fc27e6a2ade22e35089e8972bc678b113e1db
  Author: Peter Maydell <address@hidden>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M docs/qmp-events.txt
    M dump.c
    M exec.c
    M hmp-commands-info.hx
    M hmp-commands.hx
    M hmp.c
    M hmp.h
    M include/exec/memory.h
    M include/qemu-common.h
    M include/qemu/log.h
    M include/sysemu/char.h
    M include/sysemu/dump.h
    M include/sysemu/memory_mapping.h
    M memory.c
    M memory_mapping.c
    M os-posix.c
    M qapi-schema.json
    M qapi/event.json
    M qemu-char.c
    M qemu-doc.texi
    M qemu-options.hx
    M qmp-commands.hx
    M qmp.c
    M scripts/kvm/kvm_stat
    M spice-qemu-char.c
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-i386/fpu_helper.c
    M target-i386/mpx_helper.c
    M ui/console.c
    M util/log.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

* Asynchronous dump-guest-memory from Peter
* improved logging with -D -daemonize from Dimitris
* more address_space_* optimization from Gonglei
* TCG xsave/xrstor thinko fix
* chardev bugfix and documentation patch

# gpg: Signature made Thu 25 Feb 2016 15:12:27 GMT using RSA key ID 78C7AE83
# gpg: Good signature from "Paolo Bonzini <address@hidden>"
# gpg:                 aka "Paolo Bonzini <address@hidden>"

* remotes/bonzini/tags/for-upstream:
  target-i386: fix confusion in xcr0 bit position vs. mask
  chardev: Properly initialize ChardevCommon components
  memory: Remove unreachable return statement
  memory: optimize qemu_get_ram_ptr and qemu_ram_ptr_length
  exec: store RAMBlock pointer into memory region
  log: Redirect stderr to logfile if deamonized
  dump-guest-memory: add qmp event DUMP_COMPLETED
  Dump: add hmp command "info dump"
  Dump: add qmp command "query-dump"
  DumpState: adding total_size and written_size fields
  dump-guest-memory: add "detach" support
  dump-guest-memory: disable dump when in INMIGRATE state
  dump-guest-memory: introduce dump_process() helper function.
  dump-guest-memory: add dump_in_progress() helper function
  dump-guest-memory: using static DumpState, add DumpStatus
  dump-guest-memory: add "detach" flag for QMP/HMP interfaces.
  dump-guest-memory: cleanup: removing dump_{error|cleanup}().
  scripts/kvm/kvm_stat: Fix missing right parantheses and ".format(...)"
  qemu-options.hx: Improve documentation of chardev multiplexing mode

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 0c6940d086f39bbf725d96104abe46da87429cb6
      
https://github.com/qemu/qemu/commit/0c6940d086f39bbf725d96104abe46da87429cb6
  Author: Lluís Vilanova <address@hidden>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    R bsd-user/i386/syscall.h
    A bsd-user/i386/target_syscall.h
    M bsd-user/qemu.h
    R bsd-user/sparc/syscall.h
    A bsd-user/sparc/target_syscall.h
    R bsd-user/sparc64/syscall.h
    A bsd-user/sparc64/target_syscall.h
    R bsd-user/x86_64/syscall.h
    A bsd-user/x86_64/target_syscall.h

  Log Message:
  -----------
  build: [bsd-user] Rename "syscall.h" to "target_syscall.h" in target 
directories

This fixes double-definitions in bsd-user builds when using the UST
tracing backend (which indirectly includes the system's "syscall.h").

Signed-off-by: Lluís Vilanova <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/774ae4254d39...0c6940d086f3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]