Skip to contentSkip to conversation

Misc patches for 2019-09-16

GIT PULL Applied Paolo Bonzini 3 participants 4 messages Sep 16, 2019 – Sep 17, 2019

lore
Share & tools
lore
#0 lore raw

The following changes since commit 138985c1ef8b66e4e5b383354e133e05d01d0b5f:

Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-sep-12-2019' into staging (2019-09-13 16:04:46 +0100)

are available in the git repository at:

git://github.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 149c50cabcc4ea46a460d35fc876346ed441304c:

hw/i386/pc: Extract the x86 generic fw_cfg code (2019-09-16 17:13:09 +0200)

----------------------------------------------------------------
* Fix Patchew CI failures (myself)
* i386 fw_cfg refactoring (Philippe)
* pmem bugfix (Stefan)
* Support for accessing cstate MSRs (Wanpeng)
* exec.c cleanups (Wei Yang)
* Improved throttling (Yury)
* elf-ops.h coverity fix (Stefano)

----------------------------------------------------------------
v1->v2: missing S-o-b lines

Cole Robinson (1):
hw/i386: Move CONFIG_ACPI_PCI to CONFIG_PC

Paolo Bonzini (4):
win32: fix README file in NSIS installer
test-char: fix AddressSanitizer failure
memory: inline and optimize devend_memop
hw/i386/pc: Replace PCMachineState argument with MachineState in fw_cfg_arch_create

Philippe Mathieu-Daudé (14):
hw/i386/pc: Use e820_get_num_entries() to access e820_entries hw/i386/pc: Extract e820 memory layout code
hw/i386/pc: Use address_space_memory in place
hw/i386/pc: Rename bochs_bios_init as more generic fw_cfg_arch_create hw/i386/pc: Pass the boot_cpus value by argument hw/i386/pc: Pass the apic_id_limit value by argument hw/i386/pc: Pass the CPUArchIdList array by argument hw/i386/pc: Let pc_build_smbios() take a FWCfgState argument hw/i386/pc: Let pc_build_smbios() take a generic MachineState argument hw/i386/pc: Rename pc_build_smbios() as generic fw_cfg_build_smbios() hw/i386/pc: Let pc_build_feature_control() take a FWCfgState argument hw/i386/pc: Let pc_build_feature_control() take a MachineState argument hw/i386/pc: Rename pc_build_feature_control() as generic fw_cfg_build_* hw/i386/pc: Extract the x86 generic fw_cfg code

Stefan Hajnoczi (1):
memory: fetch pmem size in get_file_size()

Stefano Garzarella (1):
elf-ops.h: fix int overflow in load_elf()

Wanpeng Li (1):
i386/kvm: support guest access CORE cstate

Wei Yang (5):
exec.c: replace hwaddr with uint64_t for better understanding exec.c: get nodes_nb_alloc with one MAX calculation exec.c: subpage->sub_section is already initialized to 0 exec.c: correct the maximum skip value during compact exec.c: add a check between constants to see whether we could skip

Yury Kotov (2):
qemu-thread: Add qemu_cond_timedwait
cpus: Fix throttling during vm_stop

 backends/hostmem-file.c          |  22 -----
 cpus.c                           |  25 +++--
 default-configs/i386-softmmu.mak |   1 -
 exec.c                           |  54 ++++++++---
 hw/core/loader.c                 |   2 +
 hw/i386/Kconfig                  |   1 +
 hw/i386/Makefile.objs            |   2 +-
 hw/i386/e820_memory_layout.c     |  59 +++++++++++
 hw/i386/e820_memory_layout.h     |  42 ++++++++
 hw/i386/fw_cfg.c                 | 137 ++++++++++++++++++++++++++
 hw/i386/fw_cfg.h                 |   7 ++
 hw/i386/pc.c                     | 204 ++-------------------------------------
 include/exec/memory.h            |  19 +++-
 include/hw/elf_ops.h             |   5 +
 include/hw/i386/pc.h             |  11 ---
 include/hw/loader.h              |   1 +
 include/qemu/osdep.h             |  13 ---
 include/qemu/thread.h            |  19 ++++
 linux-headers/linux/kvm.h        |   4 +-
 memory.c                         |  18 ----
 qemu.nsi                         |   4 +-
 target/i386/kvm.c                |   4 +-
 tests/test-char.c                |  44 ++++-----
 util/oslib-posix.c               |  54 -----------
 util/oslib-win32.c               |   6 --
 util/qemu-thread-posix.c         |  41 +++++---
 util/qemu-thread-win32.c         |  17 ++++
 util/qsp.c                       |  20 ++++
 28 files changed, 456 insertions(+), 380 deletions(-)
 create mode 100644 hw/i386/e820_memory_layout.c
 create mode 100644 hw/i386/e820_memory_layout.h
Signature · 1 line
1.8.3.1
#1 lore raw

Hi!

16.09.2019, 19:17, "Paolo Bonzini" <[email protected]>:

Quoted 65 lines

The following changes since commit 138985c1ef8b66e4e5b383354e133e05d01d0b5f:

  Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-sep-12-2019' into staging (2019-09-13 16:04:46 +0100)

are available in the git repository at:

  git://github.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 149c50cabcc4ea46a460d35fc876346ed441304c:

  hw/i386/pc: Extract the x86 generic fw_cfg code (2019-09-16 17:13:09 +0200)

----------------------------------------------------------------
* Fix Patchew CI failures (myself)
* i386 fw_cfg refactoring (Philippe)
* pmem bugfix (Stefan)
* Support for accessing cstate MSRs (Wanpeng)
* exec.c cleanups (Wei Yang)
* Improved throttling (Yury)
* elf-ops.h coverity fix (Stefano)

----------------------------------------------------------------
v1->v2: missing S-o-b lines

Cole Robinson (1):
      hw/i386: Move CONFIG_ACPI_PCI to CONFIG_PC

Paolo Bonzini (4):
      win32: fix README file in NSIS installer
      test-char: fix AddressSanitizer failure
      memory: inline and optimize devend_memop
      hw/i386/pc: Replace PCMachineState argument with MachineState in fw_cfg_arch_create

Philippe Mathieu-Daudé (14):
      hw/i386/pc: Use e820_get_num_entries() to access e820_entries hw/i386/pc: Extract e820 memory layout code
      hw/i386/pc: Use address_space_memory in place
      hw/i386/pc: Rename bochs_bios_init as more generic fw_cfg_arch_create hw/i386/pc: Pass the boot_cpus value by argument hw/i386/pc: Pass the apic_id_limit value by argument hw/i386/pc: Pass the CPUArchIdList array by argument hw/i386/pc: Let pc_build_smbios() take a FWCfgState argument hw/i386/pc: Let pc_build_smbios() take a generic MachineState argument hw/i386/pc: Rename pc_build_smbios() as generic fw_cfg_build_smbios() hw/i386/pc: Let pc_build_feature_control() take a FWCfgState argument hw/i386/pc: Let pc_build_feature_control() take a MachineState argument hw/i386/pc: Rename pc_build_feature_control() as generic fw_cfg_build_* hw/i386/pc: Extract the x86 generic fw_cfg code

Stefan Hajnoczi (1):
      memory: fetch pmem size in get_file_size()

Stefano Garzarella (1):
      elf-ops.h: fix int overflow in load_elf()

Wanpeng Li (1):
      i386/kvm: support guest access CORE cstate

Wei Yang (5):
      exec.c: replace hwaddr with uint64_t for better understanding exec.c: get nodes_nb_alloc with one MAX calculation exec.c: subpage->sub_section is already initialized to 0 exec.c: correct the maximum skip value during compact exec.c: add a check between constants to see whether we could skip

Quoted 4 lines

Yury Kotov (2):
      qemu-thread: Add qemu_cond_timedwait
      cpus: Fix throttling during vm_stop

Sorry, it looks like that you've missed the 3rd patch in the "High downtime with 95+ throttle pct" series:
tests/migration: Add a test for auto converge

Or was there a reason for not adding it to PR?

Quoted 28 lines

 backends/hostmem-file.c | 22 -----
 cpus.c | 25 +++-- default-configs/i386-softmmu.mak | 1 -
 exec.c | 54 ++++++++---
 hw/core/loader.c | 2 +
 hw/i386/Kconfig | 1 +
 hw/i386/Makefile.objs | 2 +- hw/i386/e820_memory_layout.c | 59 +++++++++++ hw/i386/e820_memory_layout.h | 42 ++++++++ hw/i386/fw_cfg.c | 137 ++++++++++++++++++++++++++ hw/i386/fw_cfg.h | 7 ++
 hw/i386/pc.c | 204 ++------------------------------------- include/exec/memory.h | 19 +++- include/hw/elf_ops.h | 5 +
 include/hw/i386/pc.h | 11 ---
 include/hw/loader.h | 1 +
 include/qemu/osdep.h | 13 --- include/qemu/thread.h | 19 ++++ linux-headers/linux/kvm.h | 4 +-
 memory.c | 18 ----
 qemu.nsi | 4 +-
 target/i386/kvm.c | 4 +-
 tests/test-char.c | 44 ++++----- util/oslib-posix.c | 54 ----------- util/oslib-win32.c | 6 -- util/qemu-thread-posix.c | 41 +++++--- util/qemu-thread-win32.c | 17 ++++
 util/qsp.c | 20 ++++

Quoted 5 lines
 28 files changed, 456 insertions(+), 380 deletions(-)

 create mode 100644 hw/i386/e820_memory_layout.c
 create mode 100644 hw/i386/e820_memory_layout.h
--
1.8.3.1

Regards,
Yury

#2 lore raw
Quoted 5 lines · Yury Kotov

Sorry, it looks like that you've missed the 3rd patch in the "High downtime with 95+ throttle pct" series:
tests/migration: Add a test for auto converge

Or was there a reason for not adding it to PR?

No, I just missed it. I will add it to the next pull request.

Paolo

#3 lore raw
In reply to Paolo Bonzini
Quoted 14 lines · Paolo Bonzini

The following changes since commit 138985c1ef8b66e4e5b383354e133e05d01d0b5f:

Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-sep-12-2019' into staging (2019-09-13 16:04:46 +0100)

are available in the git repository at:

git://github.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 149c50cabcc4ea46a460d35fc876346ed441304c:

hw/i386/pc: Extract the x86 generic fw_cfg code (2019-09-16 17:13:09 +0200)

Quoted 9 lines

----------------------------------------------------------------
* Fix Patchew CI failures (myself)
* i386 fw_cfg refactoring (Philippe)
* pmem bugfix (Stefan)
* Support for accessing cstate MSRs (Wanpeng)
* exec.c cleanups (Wei Yang)
* Improved throttling (Yury)
* elf-ops.h coverity fix (Stefano)

Applied, thanks (since the missing patch from Yury was just the test case).

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.2
for any user-visible changes.

-- PMM