qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] bf7bb9: bugfix: vm halt when in reset looping


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] bf7bb9: bugfix: vm halt when in reset looping
Date: Mon, 23 Jan 2017 02:30:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bf7bb91e3c998f80d72b69707f3f6050587eddc0
      
https://github.com/qemu/qemu/commit/bf7bb91e3c998f80d72b69707f3f6050587eddc0
  Author: hangaohuai <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/timer/mc146818rtc.c

  Log Message:
  -----------
  bugfix: vm halt when in reset looping

reset mc146818rtc device when RESET event happens.

Fix the problem:
  1. Guest boot the second cpu, set CMOS_RESET_CODE 0x0a to protect selfboot;
  2. VM being reset by others, hmp_system_reset;
  3. seabios resume check the CMOS_RESET_CODE, if 0x0a, jump to the BDA
     resume execution by jump via 40h:0067h;
  4. Guest halt;

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


  Commit: 765a707000e838c30b18d712fe6cb3dd8e0435f3
      
https://github.com/qemu/qemu/commit/765a707000e838c30b18d712fe6cb3dd8e0435f3
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/scsi/megasas.c

  Log Message:
  -----------
  megasas: fix guest-triggered memory leak

If the guest sets the sglist size to a value >=2GB, megasas_handle_dcmd
will return MFI_STAT_MEMORY_NOT_AVAILABLE without freeing the memory.
Avoid this by returning only the status from map_dcmd, and loading
cmd->iov_size in the caller.

Reported-by: Li Qiang <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1c6d75d5f7c18ffc87e87d6c3ab6e55fb38fb076
      
https://github.com/qemu/qemu/commit/1c6d75d5f7c18ffc87e87d6c3ab6e55fb38fb076
  Author: Eduardo Habkost <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M qom/object.c
    M tests/device-introspect-test.c

  Log Message:
  -----------
  qom: Make all interface types abstract

"qom-list-types abstract=false" currently returns all interface
types, as if they were not abstract. Fix this by making sure all
interface types are abstract.

All interface types have instance_size == 0, so we can use
it to set abstract=true on type_initialize().

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


  Commit: 1007a37e20828171010935e48c5876071c78cf47
      
https://github.com/qemu/qemu/commit/1007a37e20828171010935e48c5876071c78cf47
  Author: Leif Lindholm <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M arch_init.c
    M hw/Makefile.objs
    M hw/smbios/Makefile.objs
    A hw/smbios/smbios-stub.c
    M hw/smbios/smbios.c
    M include/hw/smbios/smbios.h
    M include/sysemu/arch_init.h
    M vl.c

  Log Message:
  -----------
  smbios: filter based on CONFIG_SMBIOS rather than TARGET

-smbios command line options were accepted but silently ignored on
TARGET_ARM, due to a test for TARGET_I386 in arch_init.c.

Copy the mechanism of hw/pci/pci-stub.c to implement an smbios-stub
instead, enabled for all targets without CONFIG_SMBIOS.

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


  Commit: 869e9aecbe138e5e88920c0a8d444685fb3304e9
      
https://github.com/qemu/qemu/commit/869e9aecbe138e5e88920c0a8d444685fb3304e9
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M stubs/Makefile.objs
    R stubs/get-fd.c
    R stubs/mon-is-qmp.c
    R stubs/monitor-init.c
    A stubs/monitor.c

  Log Message:
  -----------
  stubs: merge all monitor stubs in one file, remove monitor_cur_is_qmp stub

monitor_cur_is_qmp was previously used by other stubs, but it's not
since 397d30e ("qemu-error: remove dependency of stubs on monitor",
2016-11-01).

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


  Commit: cc7a73604a4d6241ba2df37ea06109b4d7e03d4b
      
https://github.com/qemu/qemu/commit/cc7a73604a4d6241ba2df37ea06109b4d7e03d4b
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/smbios/Makefile.objs
    A hw/smbios/smbios_type_38-stub.c
    M stubs/Makefile.objs
    R stubs/smbios_type_38.c

  Log Message:
  -----------
  stubs: move smbios stubs to hw/smbios

No need to include them in libqemustub.a, since only system emulators
need them.

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


  Commit: 6a997d3b76aee43f9e6eb148f43fd5a919633487
      
https://github.com/qemu/qemu/commit/6a997d3b76aee43f9e6eb148f43fd5a919633487
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/acpi/Makefile.objs
    A hw/acpi/ipmi-stub.c
    M stubs/Makefile.objs
    R stubs/ipmi.c

  Log Message:
  -----------
  stubs: move acpi stubs to hw/acpi

No need to include them in libqemustub.a, since only system emulators
need them.

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


  Commit: 671ab4368a27401cff34cb74627332207f40cd54
      
https://github.com/qemu/qemu/commit/671ab4368a27401cff34cb74627332207f40cd54
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M stubs/Makefile.objs
    R stubs/get-next-serial.c

  Log Message:
  -----------
  stubs: remove unused stub for serial_hd

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


  Commit: 2f7b92a03f1e3813fc046d757138da519f4218d3
      
https://github.com/qemu/qemu/commit/2f7b92a03f1e3813fc046d757138da519f4218d3
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/core/Makefile.objs
    A hw/core/reset.c
    M include/hw/hw.h
    A include/sysemu/reset.h
    M include/sysemu/sysemu.h
    M stubs/Makefile.objs
    R stubs/reset.c
    M tests/Makefile.include
    M vl.c

  Log Message:
  -----------
  hw: move reset handlers from vl.c to hw/core

They are small, it is not worth stubbing them.  Just include them
in user-mode emulators and unit tests as well.

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


  Commit: 5564edb19e06129b62b4b272c290db2efb87cefc
      
https://github.com/qemu/qemu/commit/5564edb19e06129b62b4b272c290db2efb87cefc
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M MAINTAINERS
    M Makefile.target
    M stubs/Makefile.objs
    R stubs/cpus.c
    R stubs/replay-user.c
    A user-exec-stub.c

  Log Message:
  -----------
  stubs: group stubs for user-mode emulation

Some stubs are used for user-mode emulation only; they are not
needed by tools.  Move them out of stubs/.

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


  Commit: 858d436665519095eb593081f8efd68ddc579b45
      
https://github.com/qemu/qemu/commit/858d436665519095eb593081f8efd68ddc579b45
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M stubs/Makefile.objs
    R stubs/fdset-add-fd.c
    R stubs/fdset-find-fd.c
    R stubs/fdset-get-fd.c
    R stubs/fdset-remove-fd.c
    A stubs/fdset.c

  Log Message:
  -----------
  stubs: group all monitor_fdset_* functions in a single file

It makes little sense to implement only one of them, so avoid
proliferation of stubs files.

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


  Commit: a0f80010b37afc18030d43f2b96cc1e0b7588b73
      
https://github.com/qemu/qemu/commit/a0f80010b37afc18030d43f2b96cc1e0b7588b73
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/Makefile.objs
    M hw/virtio/Makefile.objs
    A hw/virtio/vhost-stub.c
    M stubs/Makefile.objs
    R stubs/vhost.c

  Log Message:
  -----------
  stubs: move vhost stubs to stubs/vhost.o

No need to include them in libqemustub.a, since only system emulators
need them.

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


  Commit: d6da1e9eca939e8f9d41639be17c4bf5af7d5625
      
https://github.com/qemu/qemu/commit/d6da1e9eca939e8f9d41639be17c4bf5af7d5625
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/usb/ccid-card-emulated.c
    M hw/virtio/virtio.c
    M include/qemu/event_notifier.h
    M include/qemu/main-loop.h
    M iohandler.c
    M stubs/Makefile.objs
    R stubs/iohandler.c
    M target/i386/hyperv.c
    M util/event_notifier-posix.c
    M util/event_notifier-win32.c

  Log Message:
  -----------
  event_notifier: cleanups around event_notifier_set_handler

Remove the useless is_external argument.  Since the iohandler
AioContext is never used for block devices, aio_disable_external
is never called on it.  This lets us remove stubs/iohandler.c.

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


  Commit: a15215f3e186b3080c23aaf2f6b049c52240a03c
      
https://github.com/qemu/qemu/commit/a15215f3e186b3080c23aaf2f6b049c52240a03c
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M configure
    M migration/Makefile.objs
    M stubs/Makefile.objs
    R stubs/migration-colo.c

  Log Message:
  -----------
  build: remove --enable-colo/--disable-colo

No need to provide this knob, so remove it and stubs/migration-colo.c.

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


  Commit: d525ffabab9e75a76cbeda2be43bb7988e304012
      
https://github.com/qemu/qemu/commit/d525ffabab9e75a76cbeda2be43bb7988e304012
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M stubs/Makefile.objs
    R stubs/kvm.c
    M target/mips/kvm.c
    M target/ppc/kvm.c
    M target/s390x/kvm.c

  Log Message:
  -----------
  stubs: remove stubs/kvm.c

This has a single function, just move it to the other target/*/kvm.c files.

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


  Commit: 9f57061c3555690af352b6abf9213471d70a1327
      
https://github.com/qemu/qemu/commit/9f57061c3555690af352b6abf9213471d70a1327
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M arch_init.c
    M hw/Makefile.objs
    M hw/acpi/Makefile.objs
    A hw/acpi/acpi-stub.c
    M include/sysemu/arch_init.h
    M vl.c

  Log Message:
  -----------
  acpi: filter based on CONFIG_ACPI_X86 rather than TARGET

Copy the mechanism of hw/smbios/smbios-stub.c to implement an ACPI-stub
instead, so that -acpitable can be later extended to ARM.

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


  Commit: 26ef65beab852caf2b1ef4976e3473f2d525164d
      
https://github.com/qemu/qemu/commit/26ef65beab852caf2b1ef4976e3473f2d525164d
  Author: Igor Mammedov <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/i386/pc.c

  Log Message:
  -----------
  pc: fix crash in rtc_set_memory() if initial cpu is marked as hotplugged

'hotplugged' propperty is meant to be used on migration side when migrating
source with hotplugged devices.
However though it not exacly correct usage of 'hotplugged' property
it's possible to set generic hotplugged property for CPU using
 -cpu foo,hotplugged=on
or
 -global foo.hotplugged=on

in this case qemu crashes with following backtrace:

...

because pc_cpu_plug() assumes that hotplugged CPU could appear only after
rtc/fw_cfg are initialized.
Fix crash by replacing assumption with explicit checks of rtc/fw_cfg
and updating them only if they were initialized.

Cc: address@hidden
Reported-by: Eduardo Habkost <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Igor Mammedov <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1f8af0d186abf9ef775a74d41bf2852ed8d59b63
      
https://github.com/qemu/qemu/commit/1f8af0d186abf9ef775a74d41bf2852ed8d59b63
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/scsi/scsi-disk.c

  Log Message:
  -----------
  scsi-block: fix direction of BYTCHK test for VERIFY commands

The direction is wrong; scsi_block_is_passthrough returns
false for commands that *can* use sglists.

Reported-by: Zhang Qian <address@hidden>
Fixes: 8fdc7839e40f43a426bc7e858cf1dbfe315a3804
Cc: address@hidden
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 8409dc884a201bf74b30a9d232b6bbdd00cb7e2b
      
https://github.com/qemu/qemu/commit/8409dc884a201bf74b30a9d232b6bbdd00cb7e2b
  Author: Li Qiang <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/char/serial.c

  Log Message:
  -----------
  serial: fix memory leak in serial exit

The serial_exit_core function doesn't free some resources.
This can lead memory leak when hotplug and unplug. This
patch avoid this.

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


  Commit: 2f75bd73c319a1224a64a1b5ad680b1a37ed2d7a
      
https://github.com/qemu/qemu/commit/2f75bd73c319a1224a64a1b5ad680b1a37ed2d7a
  Author: Caoxinhua <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M util/qemu-thread-posix.c

  Log Message:
  -----------
  qemu-thread: fix qemu_thread_set_name() race in qemu_thread_create()

QEMU will crash with the follow backtrace if the new created thread exited 
before
we call qemu_thread_set_name() for it.

  (gdb) bt
  #0 0x00007f9a68b095d7 in __GI_raise (address@hidden) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
  #1 0x00007f9a68b0acc8 in __GI_abort () at abort.c:90
  #2 0x00007f9a69cda389 in PAT_abort () from /usr/lib64/libuvpuserhotfix.so
  #3 0x00007f9a69cdda0d in patchIllInsHandler () from 
/usr/lib64/libuvpuserhotfix.so
  #4 <signal handler called>
  #5 pthread_setname_np (th=140298470549248, address@hidden "io-task-worker") 
at ../nptl/sysdeps/unix/sysv/linux/pthread_setname.c:49
  #6 0x00000000007f5f20 in qemu_thread_set_name (address@hidden, address@hidden 
"io-task-worker") at util/qemu_thread_posix.c:459
  #7 0x00000000007f679e in qemu_thread_create (address@hidden, address@hidden 
"io-task-worker",address@hidden <qio_task_thread_worker>, address@hidden, 
address@hidden) at util/qemu_thread_posix.c:498
  #8 0x00000000007c15b6 in qio_task_run_in_thread (address@hidden, 
address@hidden <qio_channel_socket_connect_worker>, opaque=0x7f99b8003370, 
destroy=0x7c6220 <qapi_free_SocketAddress>) at io/task.c:133
  #9 0x00000000007bda04 in qio_channel_socket_connect_async 
(ioc=0x7f99b80014c0, addr=0x37235d0, address@hidden 
<qemu_chr_socket_connected>, address@hidden, address@hidden) at 
io/channel_socket.c:191
  #10 0x00000000005487f6 in socket_reconnect_timeout (opaque=0x38118b0) at 
qemu_char.c:4402
  #11 0x00007f9a6a1533b3 in g_timeout_dispatch () from 
/usr/lib64/libglib-2.0.so.0
  #12 0x00007f9a6a15299a in g_main_context_dispatch () from 
/usr/lib64/libglib-2.0.so.0
  #13 0x0000000000747386 in glib_pollfds_poll () at main_loop.c:227
  #14 0x0000000000747424 in os_host_main_loop_wait (timeout=404000000) at 
main_loop.c:272
  #15 0x0000000000747575 in main_loop_wait (address@hidden) at main_loop.c:520
  #16 0x0000000000557d31 in main_loop () at vl.c:2170
  #17 0x000000000041c8b7 in main (argc=<optimized out>, argv=<optimized out>, 
envp=<optimized out>) at vl.c:5083

Let's detach the new thread after calling qemu_thread_set_name().

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


  Commit: 43f187a50cc7184584cde190ebebacf0c81ec7da
      
https://github.com/qemu/qemu/commit/43f187a50cc7184584cde190ebebacf0c81ec7da
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M qemu-options-wrapper.h
    M qemu-options.hx
    M scripts/hxtool

  Log Message:
  -----------
  hxtool: emit Texinfo headings as @subsection

Remove the colon, and add it in qemu-options-wrapper.h instead.
The introduction of @subsection also found a case where the table
was not closed and reopened around a heading, so fix it.

Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e5074b384792caf33b1115168740c9067bd82055
      
https://github.com/qemu/qemu/commit/e5074b384792caf33b1115168740c9067bd82055
  Author: Peter Xu <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/intc/ioapic.c
    M hw/intc/trace-events

  Log Message:
  -----------
  x86: ioapic: add traces for ioapic

>From time to time, there are issues with ioapic, either on guest side or
on hypervisor side. Good to have some persistent traces for better
triaging and debugging.

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


  Commit: 8b77709c619c426635f60458b6a2e49c2dffd8ff
      
https://github.com/qemu/qemu/commit/8b77709c619c426635f60458b6a2e49c2dffd8ff
  Author: Peter Xu <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/intc/ioapic_common.c

  Log Message:
  -----------
  x86: ioapic: dump version for "info ioapic"

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


  Commit: 0f254b1ae04b36e2ab2d91528297ed60d40c8c08
      
https://github.com/qemu/qemu/commit/0f254b1ae04b36e2ab2d91528297ed60d40c8c08
  Author: Peter Xu <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M hw/intc/ioapic.c

  Log Message:
  -----------
  x86: ioapic: fix fail migration when irqchip=split

Split irqchip works based on the fact that we kept the first 24 gsi
routing entries inside KVM for userspace ioapic's use. When system
boot, we'll reserve these MSI routing entries before hand. However,
after migration, we forgot to re-configure it up in the destination
side. The result is, we'll get invalid gsi routing entries after
migration (all empty), and we get interrupts with vector=0, then
strange things happen, like keyboard hang.

The solution is simple - we update them after migration, which is a
one line fix.

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


  Commit: 5ad4a2b75f85dd854a781a6e03b90320cb3441d3
      
https://github.com/qemu/qemu/commit/5ad4a2b75f85dd854a781a6e03b90320cb3441d3
  Author: Roman Kapl <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: Add missing rcu_read_unlock

rcu_read_unlock was not called if the address_space_access_valid result is
negative.

This caused (at least) a problem when qemu on PPC/E500+TAP failed to terminate
properly and instead got stuck in a deadlock.

Signed-off-by: Roman Kapl <address@hidden>
Message-Id: <address@hidden>
Cc: address@hidden
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: fb5e19d2e1472e96d72d5e4d89c20033f8ab345c
      
https://github.com/qemu/qemu/commit/fb5e19d2e1472e96d72d5e4d89c20033f8ab345c
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  char: fix ctrl-a b not working

CharDriverState.be should be updated to point to the current
associated backend.

Fix the regression introduced in the "mux" chardev from commit
a4afa548fc6dd9842ed86639b4d37d4d1c4ad480.

https://bugs.launchpad.net/bugs/1654137

Signed-off-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Cc: address@hidden
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0987d735a3a42c92f6e7e0caa8bab1b0139e3b54
      
https://github.com/qemu/qemu/commit/0987d735a3a42c92f6e7e0caa8bab1b0139e3b54
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M exec.c
    M include/exec/memory.h
    M include/exec/ram_addr.h
    A include/exec/ramlist.h
    M numa.c
    M xen-mapcache.c

  Log Message:
  -----------
  ramblock-notifier: new

This adds a notify interface of ram block additions and removals.

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


  Commit: 8c2b8ebf6ed993d1dc70691a601753f5957b4410
      
https://github.com/qemu/qemu/commit/8c2b8ebf6ed993d1dc70691a601753f5957b4410
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M target/ppc/kvm_ppc.h

  Log Message:
  -----------
  KVM: PPC: eliminate unnecessary duplicate constants

These are not needed since linux-headers/ provides up-to-date definitions.
The constants are in linux-headers/asm-powerpc/kvm.h.

The sole users, hw/intc/xics_kvm.c and target/ppc/kvm.c, include asm/kvm.h
via sysemu/kvm.h->linux/kvm.h.

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


  Commit: b39466269b9b3c29b0c31c1320aa519f376b750f
      
https://github.com/qemu/qemu/commit/b39466269b9b3c29b0c31c1320aa519f376b750f
  Author: Vincent Palatin <address@hidden>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M cpus.c
    M gdbstub.c
    M hw/i386/kvm/apic.c
    M hw/i386/kvmvapic.c
    M hw/misc/vmport.c
    M hw/ppc/pnv_xscom.c
    M hw/ppc/ppce500_spin.c
    M hw/ppc/spapr.c
    M hw/ppc/spapr_hcall.c
    M hw/s390x/s390-pci-inst.c
    A include/sysemu/hw_accel.h
    M include/sysemu/kvm.h
    M monitor.c
    M qom/cpu.c
    M target/arm/cpu.c
    M target/i386/helper.c
    M target/i386/kvm.c
    M target/ppc/kvm.c
    M target/ppc/mmu-hash64.c
    M target/ppc/translate_init.c
    M target/s390x/gdbstub.c

  Log Message:
  -----------
  kvm: move cpu synchronization code

Move the generic cpu_synchronize_ functions to the common hw_accel.h header,
in order to prepare for the addition of a second hardware accelerator.

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Vincent Palatin <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 47c1c8c12f6c8b3c6e0da7bbd93fd4e1724cf114
      
https://github.com/qemu/qemu/commit/47c1c8c12f6c8b3c6e0da7bbd93fd4e1724cf114
  Author: Vincent Palatin <address@hidden>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    A hax-stub.c
    A include/sysemu/hax.h
    A target/i386/hax-all.c
    A target/i386/hax-i386.h
    A target/i386/hax-interface.h
    A target/i386/hax-mem.c
    A target/i386/hax-windows.c
    A target/i386/hax-windows.h

  Log Message:
  -----------
  target/i386: Add Intel HAX files

That's a forward port of the core HAX interface code from the
emu-2.2-release branch in the external/qemu-android repository as used by
the Android emulator.

The original commit was "target/i386: Add Intel HAX to android emulator"
saying:
"""
  Backport of 2b3098ff27bab079caab9b46b58546b5036f5c0c
  from studio-1.4-dev into emu-master-dev

    Intel HAX (harware acceleration) will enhance android emulator performance
    in Windows and Mac OS X in the systems powered by Intel processors with
    "Intel Hardware Accelerated Execution Manager" package installed when
    user runs android emulator with Intel target.

    Signed-off-by: David Chou <address@hidden>
"""

It has been modified to build and run along with the current code base.
The formatting has been fixed to go through scripts/checkpatch.pl,
and the DPRINTF macros have been updated to get the instanciations checked by
the compiler.

The FPU registers saving/restoring has been updated to match the current
QEMU registers layout.

The implementation has been simplified by doing the following modifications:
- removing the code for supporting the hardware without Unrestricted Guest (UG)
  mode (including all the code to fallback on TCG emulation).
- not including the Darwin support (which is not yet debugged/tested).
- simplifying the initialization by removing the leftovers from the Android
  specific code, then trimming down the remaining logic.
- removing the unused MemoryListener callbacks.

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


  Commit: b0cb0a66d6d535112aa513568ef21dcb1ad283ed
      
https://github.com/qemu/qemu/commit/b0cb0a66d6d535112aa513568ef21dcb1ad283ed
  Author: Vincent Palatin <address@hidden>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M Makefile.target
    M configure
    M cpus.c
    M hax-stub.c
    M hw/intc/apic_common.c
    M include/qom/cpu.h
    M include/sysemu/hw_accel.h
    M qemu-options.hx
    M target/i386/Makefile.objs
    M util/qemu-thread-win32.c
    M vl.c

  Log Message:
  -----------
  Plumb the HAXM-based hardware acceleration support

Use the Intel HAX is kernel-based hardware acceleration module for
Windows (similar to KVM on Linux).

Based on the "target/i386: Add Intel HAX to android emulator" patch
from David Chou <address@hidden>

Signed-off-by: Vincent Palatin <address@hidden>
Message-Id: <address@hidden>
[Drop hax_populate_ram stub. - Paolo]
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 6f8058238a63d0807d879fb2e924aff3d8f4bc67
      
https://github.com/qemu/qemu/commit/6f8058238a63d0807d879fb2e924aff3d8f4bc67
  Author: Vincent Palatin <address@hidden>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M target/i386/Makefile.objs
    A target/i386/hax-darwin.c
    A target/i386/hax-darwin.h
    M target/i386/hax-i386.h

  Log Message:
  -----------
  hax: add Darwin support

Re-add the MacOSX/Darwin support:
Use the Intel HAX is kernel-based hardware acceleration module
(similar to KVM on Linux).

Based on the original "target/i386: Add Intel HAX to android emulator" patch
from David Chou <address@hidden> from  emu-2.2-release branch in
the external/qemu-android repository.

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


  Commit: a049223ab1d71834a311f8c7849cdd68deb9e7b2
      
https://github.com/qemu/qemu/commit/a049223ab1d71834a311f8c7849cdd68deb9e7b2
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M configure

  Log Message:
  -----------
  Revert "win32: don't run subprocess tests on Mingw32 platform"

This reverts commit 7ad9339e372fcd12d584684d7f52ac259604a4f4.

The error "Failed to execute helper program (No such file or directory)"
is due to broken glib installation, missing windows gspawn helpers.

Signed-off-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e12ed72e5c00dd3375b8bd107200e4d7e950276a
      
https://github.com/qemu/qemu/commit/e12ed72e5c00dd3375b8bd107200e4d7e950276a
  Author: Peter Lieven <address@hidden>
  Date:   2017-01-20 (Fri, 20 Jan 2017)

  Changed paths:
    M util/bitmap.c

  Log Message:
  -----------
  bitmap: assert that start and nr are non negative

commit e1123a3b introduced a data corruption regression
in the iscsi driver because it passed -1 as nr to bitmap_set
and bitmap_clear. Add an assertion to catch such flaws earlier.

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


  Commit: abc62c89f3191774dbd600a2caec803cbf557160
      
https://github.com/qemu/qemu/commit/abc62c89f3191774dbd600a2caec803cbf557160
  Author: Marcelo Tosatti <address@hidden>
  Date:   2017-01-20 (Fri, 20 Jan 2017)

  Changed paths:
    M include/hw/i386/pc.h

  Log Message:
  -----------
  pc.h: move x-mach-use-reliable-get-clock compat entry to PC_COMPAT_2_8

As noticed by David Gilbert, commit 6053a86 'kvmclock: reduce kvmclock
differences on migration' added 'x-mach-use-reliable-get-clock' and a
compatibility entry that turns it off; however it got merged after 2.8.0
was released but the entry has gone into PC_COMPAT_2_7 where it should
have gone into PC_COMPAT_2_8.

Fix it by moving the entry to PC_COMPAT_2_8.

Signed-off-by: Marcelo Tosatti <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 598cf1c805271564686f2d732b36f50c3c40dcdd
      
https://github.com/qemu/qemu/commit/598cf1c805271564686f2d732b36f50c3c40dcdd
  Author: Peter Maydell <address@hidden>
  Date:   2017-01-20 (Fri, 20 Jan 2017)

  Changed paths:
    M MAINTAINERS
    M Makefile.target
    M arch_init.c
    M configure
    M cpus.c
    M exec.c
    M gdbstub.c
    A hax-stub.c
    M hw/Makefile.objs
    M hw/acpi/Makefile.objs
    A hw/acpi/acpi-stub.c
    A hw/acpi/ipmi-stub.c
    M hw/char/serial.c
    M hw/core/Makefile.objs
    A hw/core/reset.c
    M hw/i386/kvm/apic.c
    M hw/i386/kvmvapic.c
    M hw/i386/pc.c
    M hw/intc/apic_common.c
    M hw/intc/ioapic.c
    M hw/intc/ioapic_common.c
    M hw/intc/trace-events
    M hw/misc/vmport.c
    M hw/ppc/pnv_xscom.c
    M hw/ppc/ppce500_spin.c
    M hw/ppc/spapr.c
    M hw/ppc/spapr_hcall.c
    M hw/s390x/s390-pci-inst.c
    M hw/scsi/megasas.c
    M hw/scsi/scsi-disk.c
    M hw/smbios/Makefile.objs
    A hw/smbios/smbios-stub.c
    M hw/smbios/smbios.c
    A hw/smbios/smbios_type_38-stub.c
    M hw/timer/mc146818rtc.c
    M hw/usb/ccid-card-emulated.c
    M hw/virtio/Makefile.objs
    A hw/virtio/vhost-stub.c
    M hw/virtio/virtio.c
    M include/exec/memory.h
    M include/exec/ram_addr.h
    A include/exec/ramlist.h
    M include/hw/hw.h
    M include/hw/i386/pc.h
    M include/hw/smbios/smbios.h
    M include/qemu/event_notifier.h
    M include/qemu/main-loop.h
    M include/qom/cpu.h
    M include/sysemu/arch_init.h
    A include/sysemu/hax.h
    A include/sysemu/hw_accel.h
    M include/sysemu/kvm.h
    A include/sysemu/reset.h
    M include/sysemu/sysemu.h
    M iohandler.c
    M migration/Makefile.objs
    M monitor.c
    M numa.c
    M qemu-char.c
    M qemu-options-wrapper.h
    M qemu-options.hx
    M qom/cpu.c
    M qom/object.c
    M scripts/hxtool
    M stubs/Makefile.objs
    R stubs/cpus.c
    R stubs/fdset-add-fd.c
    R stubs/fdset-find-fd.c
    R stubs/fdset-get-fd.c
    R stubs/fdset-remove-fd.c
    A stubs/fdset.c
    R stubs/get-fd.c
    R stubs/get-next-serial.c
    R stubs/iohandler.c
    R stubs/ipmi.c
    R stubs/kvm.c
    R stubs/migration-colo.c
    R stubs/mon-is-qmp.c
    R stubs/monitor-init.c
    A stubs/monitor.c
    R stubs/replay-user.c
    R stubs/reset.c
    R stubs/smbios_type_38.c
    R stubs/vhost.c
    M target/arm/cpu.c
    M target/i386/Makefile.objs
    A target/i386/hax-all.c
    A target/i386/hax-darwin.c
    A target/i386/hax-darwin.h
    A target/i386/hax-i386.h
    A target/i386/hax-interface.h
    A target/i386/hax-mem.c
    A target/i386/hax-windows.c
    A target/i386/hax-windows.h
    M target/i386/helper.c
    M target/i386/hyperv.c
    M target/i386/kvm.c
    M target/mips/kvm.c
    M target/ppc/kvm.c
    M target/ppc/kvm_ppc.h
    M target/ppc/mmu-hash64.c
    M target/ppc/translate_init.c
    M target/s390x/gdbstub.c
    M target/s390x/kvm.c
    M tests/Makefile.include
    M tests/device-introspect-test.c
    A user-exec-stub.c
    M util/bitmap.c
    M util/event_notifier-posix.c
    M util/event_notifier-win32.c
    M util/qemu-thread-posix.c
    M util/qemu-thread-win32.c
    M vl.c
    M xen-mapcache.c

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

* QOM interface fix (Eduardo)
* RTC fixes (Gaohuai, Igor)
* Memory leak fixes (Li Qiang, me)
* Ctrl-a b regression (Marc-André)
* Stubs cleanups and fixes (Leif, me)
* hxtool tweak (me)
* HAX support (Vincent)
* QemuThread, exec.c and SCSI fixes (Roman, Xinhua, me)
* PC_COMPAT_2_8 fix (Marcelo)
* stronger bitmap assertions (Peter)

# gpg: Signature made Fri 20 Jan 2017 12:49:01 GMT
# gpg:                using RSA key 0xBFFBD25F78C7AE83
# gpg: Good signature from "Paolo Bonzini <address@hidden>"
# gpg:                 aka "Paolo Bonzini <address@hidden>"
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream: (35 commits)
  pc.h: move x-mach-use-reliable-get-clock compat entry to PC_COMPAT_2_8
  bitmap: assert that start and nr are non negative
  Revert "win32: don't run subprocess tests on Mingw32 platform"
  hax: add Darwin support
  Plumb the HAXM-based hardware acceleration support
  target/i386: Add Intel HAX files
  kvm: move cpu synchronization code
  KVM: PPC: eliminate unnecessary duplicate constants
  ramblock-notifier: new
  char: fix ctrl-a b not working
  exec: Add missing rcu_read_unlock
  x86: ioapic: fix fail migration when irqchip=split
  x86: ioapic: dump version for "info ioapic"
  x86: ioapic: add traces for ioapic
  hxtool: emit Texinfo headings as @subsection
  qemu-thread: fix qemu_thread_set_name() race in qemu_thread_create()
  serial: fix memory leak in serial exit
  scsi-block: fix direction of BYTCHK test for VERIFY commands
  pc: fix crash in rtc_set_memory() if initial cpu is marked as hotplugged
  acpi: filter based on CONFIG_ACPI_X86 rather than TARGET
  ...

# Conflicts:
#       include/hw/i386/pc.h


Compare: https://github.com/qemu/qemu/compare/d1c82f7cc344...598cf1c80527

reply via email to

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